summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/DialtactsActivity.java
AgeCommit message (Collapse)Author
2015-02-04Merge "Move CallUtil into Dialer. P1/3"Brian Attwell
2015-02-03Move CallUtil into Dialer. P1/3Brian Attwell
CallUtil relies on the a priviliged intent that should only be used by system apps. Therefore, it shouldn't be used by an unbundled Contacts app. I'm leaving one (isVideoEnabled) method from CallUtil inside ContactsCommon. This way, when the changes that Tyler made inside m-wireless-telephony-shamu-dev (b/19062133) get merged back into master both ContactsCommon and Dialer will be updated. Bug: 18777272 Change-Id: I49c9cc714ded01d523ed770a5bf62cf92c378e2f
2015-02-02Add DialpadFragment on-demand instead at on startupYorke Lee
Add the DialpadFragment dynamically instead of everything at startup. Once added, it is then shown/hidden instead of removed for performance reasons. Reduces startup time on a N5 from 603ms to 440ms. Bug: 18431193 Change-Id: I0482bd8277896ed8a6956fc03b6afaf44b442eb3
2015-01-28Add systrace events to track Dialer startup performanceYorke Lee
Bug: 18431193 Change-Id: I92db4ae61405d8d8445b72e7ac0daa0794af8335
2014-12-05Updating "Add Contact" to pre-populate full contact info.Tyler Gunn
1. For recent call entries with a name and phone number, the name will now also be added. 2. For recent call entries which have complete address information provided by nearby places, all information except the contact photo will be added. The contact photo is excluded, as the ContactsLoader would attempt to load the contact photo while parsing the contact information. On a slow connection this could cause a noticeable pause while adding the contact. Bug: 17308163 Change-Id: If2e78bd1257096b344ff2dd266dcdbaeed4f1471
2014-11-20Correcting population of search box with voice search results.Tyler Gunn
The issue is the onActivityResult callback which receives the result of the voice search is called BEFORE the dialtacts activity is resumed, and hence the search results fragment is not properly shown (since resume has not yet completed). Changed so that the search results are stored until onResume, where they are applied to the search box. Bug: 18410823 Change-Id: I02985f722643846067678a67f2c1fda76434fbc4
2014-11-08Allow ILD information to be populatedEvan Charlton
Expose the dialpad's ILD (international / long distance) fields to be populated by the dialer. Bug: 13334252 Change-Id: Ia366148ef1318a2dacc4971d51a3bd34ec3c39de
2014-11-06Merge "Improve Dialer analytics" into lmp-mr1-devYorke Lee
2014-11-05Improve Dialer analyticsYorke Lee
* Send screen view for first fragment loaded inside ListsFragment * Send screen view for voicemail playback fragment * Send screen view for currently active fragment when activity is restarted * Don't send spurious screen views on rotation * Send screen views for call log fragments in call log activity, and differentiate between them with a tag Bug: 18158037 Change-Id: I09fda53db33f6a6acc4a3b477de992aa94921c71
2014-11-05Reset mSavedState in onNewIntent because the activity is refreshing.Nancy Chen
Currently mSavedState is reset to false in just onResume, but it needs to be reset earlier so that the dialpad is allowed to show itself when an ACTION_DIAL intent is sent. Bug: 18242314 Change-Id: I9ddd2a431edc4c2d1cc447b14ee8d1347d139552
2014-10-31Merge "Use improved analytics in Dialer" into lmp-mr1-devBrian Attwell
2014-10-30Use improved analytics in DialerBrian Attwell
Remove dependencies on old analytics code. Initialize analytics inside DialerApplication. Improving analytics CL #4/4 Bug: 18039620 Change-Id: I52f68e50297db2aae61d67d9bdbe66cb1d75aafc
2014-10-29Merge "Refactor ActionBarController and tests" into lmp-mr1-devYorke Lee
2014-10-28Refactor ActionBarController and testsYorke Lee
The original CL to fix ActionBarControllerTest by using an ActivityInstrumentationTestCase was too heavyweight and caused flaky test. It was also indicative of a flaw in the original design that ActionBar couldn't be mocked out easily. Refactor the code so that: 1) getActionBar() is no longer needed 2) Respect the invariant that all access to the actionBar goes through the ActionBarController (see the changes in ListsFragment) so that any change to the ActionBar's hide offset can be tracked appropriately. Bug: 17487016 Change-Id: I935b683ddb301ca5d3952889af1381bdbdcc97d3
2014-10-28Merge "Fix various IllegalStateExceptions in Dialer" into lmp-mr1-devYorke Lee
2014-10-28Fix various IllegalStateExceptions in DialerYorke Lee
Make sure to not commit any fragment transactions when onSaveInstanceState has been called. Bug: 18038718 Bug: 18142294 Bug: 18106980 Change-Id: I0755208ee6637431cb3e494b5494b1ccdd930489
2014-10-27Create call settings intent in DialerSettingsActivity.Andrew Lee
- Remove helper method in DialtactsActivity. + Create intent in DialerSettingsActivity. This is the only place the method is called; it seems that this code to create the intent should live in DialerSettingsActivity instead of DialtactsActivity. Bug: 18114923 Change-Id: I129b716c2a247994647c123f1cbd945b7ef36778
2014-10-23Delete duplicated classBrian Attwell
Also renamed dialerbind package Analytics CL #2/5 Bug: 18039620 Change-Id: I45722015978038cdccb6a848c28e4b6c90d5aa4f
2014-10-03Fix NPE in onListFragmentScrollStateChangeYorke Lee
Ensure that view passed into DialerUtils.hideInputMethod is never null (since mParentLayout refers to the main content view, it should never be null) Also rename parentLayout to mParentLayout Bug: 17797827 Change-Id: I2ac9864138776fcdaea5b7d2df52a82d31911039
2014-09-12Renaming Telecomm to Telecom.Tyler Gunn
- Changing package from android.telecomm to android.telecom - Changing package from com.android.telecomm to com.android.server.telecomm. - Renaming TelecommManager to TelecomManager. Bug: 17364651 Change-Id: I44d6d6546cac53232e4e2be0ebe0391d02411309
2014-09-11Merge "Set default action bar elevation for dialer." into lmp-devNancy Chen
2014-09-10Set default action bar elevation for dialer.Nancy Chen
Currently the action bar elevation is only applied to the main android activity, we want this elevation everywhere, in particular for the Settings action bar. Bug: 17420792 Change-Id: Ia80ac4debfbfa771364b74a2002c2db4d0b3b685
2014-09-09Set the visibility of the FAB correctly even if mAnimate is falseYorke Lee
When launching directly into the dialpad from a dial intent, the FAB wasn't getting shown sometimes due to animation being skipped. Make sure to force it to appear regardless of whether animation is required. Bug: 17443578 Change-Id: Ic53628b9792038cda0e3e447e5268e8e6fd22190
2014-09-06Use framework scheme definitionsJay Shrauner
Use PhoneAccount defined values for SCHEME_{TEL, SIP, VOICEMAIL}. Bug:17398074 Change-Id: I77dfa539646b9c5ae5dca220bbc906048a17b383
2014-09-02Use different FAB for dialpad, and use new animations.Andrew Lee
+ Use scaleIn/scaleOut for FABs in the Dialer application. + Add assets for green fab. + Update dialpad fragment, both the Java and layouts, to have their own FAB containers and FABs. + Change DialpadSlidingLinearLayout into DialpadSlidingRelativeLayout. - Removed or relocated dial some FAB handling, visibility, and translation functions. Now that the FABs in the dialpad fragment and DialtactsActivity are distinct, the logic can be scoped more precisely to a particular fragment/view. Bug: 16399233 Change-Id: I86f9f0053dc3c50fe0d5046389632af7ddff9f67
2014-08-22API Review PhoneManager -> TelecommManager. Rename methods (1/6)Nancy Chen
PhoneManager - handlePinMMI docs should explain what a Pin is and what MMI is - rename isInAPhoneCall to isInCall - rename showCallScreen to showInCallScreen - merge this class into TelecommManager, we don't need both Bug: 16960458 Change-Id: I6d1939175c0292641f6ece0b630db8a864871d7e
2014-08-19Merge "Pass in floating action button to controller." into lmp-devAndrew Lee
2014-08-19Pass in floating action button to controller.Andrew Lee
Bug:16399233 Change-Id: I15a45804919711cffc884b6e9faa0be7734f786b
2014-08-19Merge "Reveal InCallUI from touch point in Dialer. COMPLETED." into lmp-devNancy Chen
2014-08-18Reveal InCallUI from touch point in Dialer. COMPLETED.Nancy Chen
Reveal now works from the favorites tiles, recent cards/call back, search results, dialpad, and disambiguation dialog. Bug: 15284651 Change-Id: I43ba1d7095b839ec24faa043de042048d36057b1
2014-08-15Tweak FAB tints and positioning.Andrew Lee
+ Change FAB tint so that it's not 100% opacity. + Change dialpad touch tints to new theme color. - Don't translate FAB downwards when opening dialpad. Bug: 16399233 Change-Id: I7d5e0015e0d7d436ce3e2780f3048dfb792d13c0
2014-08-13Send MotionEvent with touch coordinates to call intentNancy Chen
Be able to send the x,y coordinates of a user's touch action on an element that introduces a call in order to start the InCallUI animation from that touch point. This change covers the call log "call back"/recent card. Bug: 15284651 Change-Id: Ife6fe003fcf0dd106640add5d65c10fd8fd1cb9e
2014-08-12Correcting dialpad animations in landscape (3/3).Tyler Gunn
1. Fixed slide in/out animations for RTL locales. Bug: 16463723 Change-Id: Ifb32e8daed58949d53acc23828d083f1adac3944
2014-08-05Merge "Fix some action bar logic" into lmp-devYorke Lee
2014-08-06Fix some action bar logicYorke Lee
* Restore action bar slid state only after onCreateOptionsMenu, when it has an effect * ActionBarController is now the only way to make changes to the offset of the action bar so that it can appropriately restore its state Bug: 16710397 Change-Id: Id9e0ebe210c89df0be56b32aa3bbd959cce88621
2014-08-06Set correct interpolator for dialpad animationYorke Lee
Bug: 16659277 Change-Id: Ia9639c6b8e3d192a4fbb2ad8c7a8452c5b31839e
2014-08-06Merge "Fragments in Dialtacts report to Analytics." into lmp-devSai Cheemalapati
2014-08-06Tweak Z-depth for Dialer ActionBarYorke Lee
Bug: 16550151 Change-Id: I27cff5de9aa97f4709b609574c3986c76d9f7050
2014-08-06Fragments in Dialtacts report to Analytics.Sai Cheemalapati
Fragments in DialtactsActivity now report to Analytics when viewed. Change-Id: I86d6cabc372bd466a4907d79b1613e5ae1445227
2014-07-30Changing Activities to implement Analytics (1/2).Sai Cheemalapati
Dialer's Activities now implement AnalyticsActivity. All Activities now have access to sendHitEvent, which is a no op in AOSP Dialer. Change-Id: I318f08bfaf98cb88f9dbf6e4f28994b215bafa77
2014-07-28Decreased height of action bars in dialerNancy Chen
Kept the height of the search box the same while decreasing the height of all other action bars. Bug: 16627750 Change-Id: I43f2ae6b0f67113df2522369f5fef78c0dc12df4
2014-07-24Hide keyboard when next key is pressedYorke Lee
Also move some shared utility methods to DialerUtils Bug: 16542561 Change-Id: Ibc574c24919bdcd11b0786fb9d22d29ff9c21bf1
2014-07-22Make ViewPagerTabs and FABController RTL awareYorke Lee
* Underline in ViewPagerTabStrips is correctly drawn in RTL mode * Clicking on ViewPagerTabs propogates correct onPageSelected position to ViewPager * FAB is now end aligned instead of right aligned * ViewPager in Dialer is correctly reversed and behaves correctly * Call Log groups headers in call log are now correctly aligned in RTL Bug: 16162264 Bug: 16464471 Change-Id: I2db6b9147a628a68fba5bbbdb7276855d483bad5
2014-07-21Expose call settings as public API (3/3)Yorke Lee
Use new call settings intent in Dialer Bug: 16298644 Change-Id: Ia615797e20f396a38fe382f3a2d54ec41c5249ef
2014-07-15Merge "Make ContactPreferences use SharedPreferences instead of System ↵Yorke Lee
settings (5/5)" into lmp-dev
2014-07-15Remove unnecessary flag for disabling Account SelectionNancy Chen
Since the account selection dialog no longer will appear on the dialer app, the Dialtacts activity no longer needs to disable it. Bug: 16290489 Change-Id: I14790ee047d46ef716cadf9a5d5e0b70e1d46898 (cherry picked from commit 29a2ef2f0371de25272e63b8498f939d1c202dba)
2014-07-15Make ContactPreferences use SharedPreferences instead of System settings (5/5)Yorke Lee
* Move constants that originally lived in the framework into ContactsCommon * Use SharedPreferences instead of System settings to persist preferences * Use a SharedPreferenceListener to monitor changes instead of a content observer on system settings * Move DisplayOrderPreference and SortOrderPreference into ContactsCommon so that it can be used by Dialer * Create base DialerSettingsActivity in Dialer, and make GoogleDialerSettingsActivity extend it Bug: 16153186 Change-Id: I27befcc3b038038830f72092b55a6fc8a6f85674
2014-07-15Allow overflow menu to overlap overflow buttonYorke Lee
Bug: 15988764 Change-Id: Ifeffb18a76f38a558e602c9fb5f62ef9d3404ecb
2014-07-14Implement multi-SIM capabilities (3/6) [DO NOT MERGE]Ihab Awad
Bug:16292368 Change-Id: I367f838a08bd478aca86e2d75b221250ebd8a82e (cherry picked from commit 0e8a870afc9de3063a652256e81f9bf2043914e0)
2014-07-10Remove unused import of ServiceManagerYorke Lee
Bug: 6948882 Change-Id: Ie2c9ab76398ef4d9474e5ea8712b1cda1e4da782
2014-07-09Remove SelectAccountDialogFragment for PhoneAccount on Dialer app (1/2)Nancy Chen
One-time select will no longer be available within the dialer app so the fragment and menu item have been removed. Bug: 15473965 Change-Id: I13410b328f5b5ce887b8f3a9ba2c734d58008c56
2014-07-09Merge "Hook up call intent for video call."Andrew Lee
2014-07-08Update showCallScreen & isInAPhoneCall to use PhoneManager.Santos Cordon
Change-Id: Ibe6900a0560611346d4ec8e109349b0c82c8a463
2014-07-08Hook up call intent for video call.Andrew Lee
Bug: 16013180 Change-Id: If067b2bb4252afa2c2e373b4eff9511dad821159
2014-07-02Add "Make video call" button to search fragments.Andrew Lee
= Add new "make video call" shortcut type, and "handle" its click in SearchFragment. = Enable "make video call" shortcut for regular and smart dial search fragments. For now, this shortcut does nothing. = Enable "add contact" shortcut for smart dial search fragment. = Changed the bounds of the shortcut items to fill to the edges. = Convert shortcut click handling to use switch/case block. = TODO: Enable/disable the shortcuts depending on whether video calling has been enabled, once the option is available. = TODO: Handle dispatching a video call intent, once that intent extra is provided. Bug: 16013180 Change-Id: I7563d1f2939e27c4b13ed966b73cd4badd9d9fa7
2014-07-02Rename Telecomm "Subscription" to "Account" (3/7)Ihab Awad
Change-Id: I866e9d4f629a2b23acb3d3d3f2baeb0a674522f7
2014-06-26Add icon indicating subscription in call log/call historyNancy Chen
Display an icon in the call details showing which connection provider (subscription) is responsible for the call. Bug: 15473965 Change-Id: I0c6755864083799b8bafe20c3692b0d943beeee3
2014-06-23Revert "Hide the dialpad fragment onResume after dialing."Andrew Lee
This reverts commit 1f432a644a930688addec25bf406b3b1df08a6d3. Change-Id: I21844fdfcde3e7864d01f3dbe1b171864023975e
2014-06-23Hide the dialpad fragment onResume after dialing.Andrew Lee
- Before, the dialpad fragment was being hidden immediately after the user dialed a number. This caused the view in the lists fragment to flash for a second between pressing dial and launching InCallUI. - Now, don't clear/hide the dialpad fragment once the dialpad button is pressed. - Instead, in DialtactsActivity, stash an instance variable to hide and clear the dialpad fragment the next time onResume() is called... that is, the next time the Dialer is opened. Bug: 15829164 Change-Id: I1e7d253b914c049f49bc8c1230f7110d6e98ec08
2014-06-20Update Emergency Dialer to match Dialer (3/7).Sai Cheemalapati
Emergency dialer style updated to match style in Dialer and InCallUI. Moved all dialpad resources to PhoneCommon. Change-Id: I86747a58b196209a4543448ab939236eace7c52a
2014-06-20Revert "Update Emergency Dialer to match Dialer (2/5)."Yorke Lee
This reverts commit 9598b51d20cb27acb8dfd47abf2accb612cddb3c. Change-Id: I7c2d2b95740888af25b5b257572476b0f20900e3
2014-06-20Update Emergency Dialer to match Dialer (2/5).Sai Cheemalapati
Emergency dialer style updated to match style in Dialer and InCallUI. Moved all dialpad resources to PhoneCommon. Change-Id: I69ee95b20b9a6a7007288a754e12ea20763c3842
2014-06-20Merge "Fix Dialer tests"Yorke Lee
2014-06-19Fix Dialer testsYorke Lee
Fix Dialer tests and also wrap all startActivity calls that have the potential to fail with a catch block for ActivityNotFoundException Change-Id: I02ce4b985eeb0e3e607b8008a333e02168acd378
2014-06-19Add reference to TelephonyManager, renaming, remove checkbox (1/2)Nancy Chen
Incorporating API calls to TelephonyManager.getSubscriptions. Added new SubscriptionManager class to wrap data about subscriptions for the purpose of passing between Dialer and its fragments. * This particular CL deals with the renaming of the menu strings and the * passing of data between the Dialer and its fragments. Bug: 15473965 Change-Id: Id52b925c618952bd77970c157fa63e665203b04c
2014-06-16Merge "Exit search UI when dialpad is hidden if no smart dial results."Andrew Lee
2014-06-16Exit search UI when dialpad is hidden if no smart dial results.Andrew Lee
Bug: 15471462 Change-Id: Iaa8fd146d69a1c3a28c3106620228b43a6409bdc
2014-06-16Add select sim dialog for dialpad menuNancy Chen
Also handles passing sim card information set in dialer menu to the dialpad fragment. Bug: 15473965 Change-Id: I075bf727402ba315c035eb741c563aafe67d60f6
2014-06-13Fixes issue with FAB alginment.Sai Cheemalapati
FAB now aligns correctly when selecting tabs. Change-Id: I94aefb9194a60c47504f238eedbebd466f9bd52d
2014-06-13Clear fragments properly when search term is erased.Andrew Lee
Specifically, in the scenario in the bug the dialpad was not shown but we actually wanted to clear the speed dial fragment, not the regular search fragment. Change this to affect the visible fragment, rather than whether or not the dialpad is shown. This onClick pathway is no longer used too, so deleting. Bug: 15516704 Change-Id: Icd4419e0746ce0e2bcb9c9437dbac77d64bb8c98
2014-06-12Add menu items for multi-sim supportNancy Chen
The main overflow menu will display a "select SIM card" option when more than one sim is available. Bug: 15473965 Change-Id: I18175cec57158f0a8189979849f6ad761eff1aff
2014-06-11Use Framelayout instead of RelativeLayout in DialtactsActivityYorke Lee
Switch to FrameLayout instead of RelativeLayout since we don't need the more complicated and expensive layout abilities of RelativeLayout. This improves startup time (on hammerhead-eng, interpreted ART mode) to about 1150ms on average from 1300ms originally. Change-Id: I94400dcc58cc74497c71a7432a06a4dffe3b078d
2014-06-11am a6d7bd35: Merge "Empty ACTION_DIAL intent launches favorites" into ↵Yorke Lee
lmp-preview-dev * commit 'a6d7bd355e37674b4982525227bc969ea3a0c738': Empty ACTION_DIAL intent launches favorites
2014-06-11resolved conflict for merge of 469e9df0 to masterAdrian Roos
Change-Id: Ic96a35172c113e8b25084de3c8cf5e44f931903b
2014-06-10Empty ACTION_DIAL intent launches favoritesYorke Lee
Bug: 15537399 Change-Id: I6262945f9b90d4378c24a8450d7c818604133623
2014-06-10Merge "Updating Dialpad animation in InCallUI."Sai Cheemalapati
2014-06-09Updating Dialpad animation in InCallUI.Sai Cheemalapati
Dialpad now saves orientation state. Animation now matches duration and direction in Dialtacts. Bug: 15386162 Change-Id: I57fd6797b2bf7a5bff86f5175e18a70e16ca522b
2014-06-09Fix floating action button position in landscape.Sai Cheemalapati
Floating action button should always be fixed to the right side of the screen in landscape orientation. Bug: 15386162 Change-Id: Ic14fa184ffdf4ad7b817930217ea3d3fca901949
2014-06-09Revise remove view target positioning.Andrew Lee
- Move placement from dialtacts activity layout to the lists fragment, so that it can be positioned over the tab bar. - Relocate references to RemoveView/RemoveViewContainer to the lists fragment from the activity class. - Set colors using tints, remove old highlight state asset. - Fade out search bar and recent card when dragging. Bug: 15434489 Change-Id: I49205c79aeb008a30efc3c2ea417b8836444e203
2014-06-06Merge "Moving FAB logic to ContactsCommon."Sai Cheemalapati
2014-06-06Moving FAB logic to ContactsCommon.Sai Cheemalapati
Moved FAB to ContactsCommon. Cleaned up FAB Controller. Replaced implementation of FAB in InCallUI with controller. Prevented animations from happening again in InCallUI on orientaton change. FAB also repositions correctly on orientation change in InCallUI. Bug: 15386162 Change-Id: Ibc1739a54f236939db29cab350233275099a4446
2014-06-06resolved conflicts for merge of 97c57cce to masterAndrew Lee
Change-Id: Ie2d46ac867c235f1281e02b3e03574f287eacdb3
2014-06-05Add click listener to search icon.Andrew Lee
This way, if the user taps on the icon they will enter the search UI... increases the surface area for this interaction slightly. While I was at it, I also changed an unnecessary class variable to be scoped within onCreate. Bug: 15457217 Change-Id: I07796eb3f49595b136a2a075d9039a7b899c7819
2014-06-04Modified floating action button.Sai Cheemalapati
No longer relies on RelativeLayout for positioning. Moves as tabs scroll. Repositions to the correct place in landscape dialer. Bug: 15167378 Change-Id: I721336b3dbd60defbce77f3a09b4ba94cfc826b6
2014-06-03DO NOT MERGE. Styling search to match redlines.Andrew Lee
- Cherrypicking changes back to master. Mostly, this involved transferring changes dealing with padding and the translation values. - Shift arrow/close icons. - Use 20sp font in expanded search (causes baseline to shift down). - Update action bar movement to use dialpad's interpolators and durations. - Smoothed out animations. Icons in the view being faded out are now instantaneously set to GONE. The margin animator when going from collapsed to expanded starts at 0.8f now, so that the searchbox does not shrink momentarily when switched to the 9-patch, because of the shadow. - Fix clipping because of 9-patch; refactored logic for updating the position and padding from the Activity into SearchFragment. This was motivated in part because we want a padding at the top of this list for the first item, but when the dialpad is shown we do not want that padding. Bug: 15343931 Conflicts: res/layout/search_edittext.xml res/values/dimens.xml src/com/android/dialer/DialtactsActivity.java src/com/android/dialer/list/SearchFragment.java Change-Id: I8519e7e2ef5c75c0f170ff61ed22f44f95e07f74
2014-06-03Updated dialer animation in landscape.Sai Cheemalapati
Caching animations in constructor. Dialer now flows in and out from/to the right. Moved animation timing constants to constants file. Change-Id: I287caa081c6576b347594d30ccce2b6d6526db1f
2014-06-03DO NOT MERGE. Styling search to match redlines.Andrew Lee
- This conflicts with some of Sai's changes, so will manually cherrypick this CL back to master.. - Shift arrow/close icons. - Use 20sp font in expanded search (causes baseline to shift down). - Update action bar movement to use dialpad's interpolators and durations. - Smoothed out animations. Icons in the view being faded out are now instantaneously set to GONE. The margin animator when going from collapsed to expanded starts at 0.8f now, so that the searchbox does not shrink momentarily when switched to the 9-patch, because of the shadow. - Fix clipping because of 9-patch; refactored logic for updating the position and padding from the Activity into SearchFragment. This was motivated in part because we want a padding at the top of this list for the first item, but when the dialpad is shown we do not want that padding. Bug: 15343931 Change-Id: I7c3a96dd295c58c6955e6bd3e9d8cda151de4c3f
2014-06-02Matching landscape dialer to mockups.Sai Cheemalapati
Dialer now matches mockup in landscape mode. Bug: 15386162 Change-Id: I8abb7a6c13bbeb1cb9210532e850010b196fe14e
2014-05-30When dragging, don't slide action bar if pane is closed.Andrew Lee
Ideally it would probably be better to put this in the ActionBarController. However, that requires substantially more refactoring, and per an email earlier the implementation/behavior might change and render that refactoring needless. So... opting for the easier soltuion to fix this bug (which appears on drag). Bug: 15313430 Change-Id: I3e6aaba5d0b1721ce2a035a10ea6073fe6527472
2014-05-30Update showCallScreen to use Telecomm (5/6)Santos Cordon
Use TelephonyManager#showCallScreen instead of referencing ITelephony directly. This way TelephonyManager can accurately route the calls to Telecomm instead. Bug: 15008165 Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
2014-05-30Merge "Move the FAB in the dialpad down 4dp, in Dialer." into lmp-preview-devAndrew Lee
2014-05-30Move the FAB in the dialpad down 4dp, in Dialer.Andrew Lee
Bug: 15328499 Change-Id: I71b227f3233ada7e3f1fd65bc9cce7c919b35cbb
2014-05-29Fix for search UI remaining on screen after call is madeYorke Lee
Also slide up the action bar after it is faded out - this is so that it doesn't remain in the same position and intercept touches Remove unneeded FragmentTransaction fadeout animation in exitSearchUI that was causing jank when returning to the favorites screen Bug: 15120649 Change-Id: Idcf96c2339603af09e1773729994d267158f70a0
2014-05-29Merge "Save state of dialpad in onSaveInstanceState" into lmp-preview-devYorke Lee
2014-05-28Save state of dialpad in onSaveInstanceStateYorke Lee
Bug: 15317467 Change-Id: I8f3a4968550b65ac977d0b137f692400834bb0ac
2014-05-28Use common AnimationListenerAdapter instead of private class.Andrew Lee
Bug: 15169764 Change-Id: I5c61d843256e328a0a492f842a069abc666c61a1
2014-05-27Merge "Add ActionBarController" into lmp-preview-devYorke Lee
2014-05-23Add ActionBarControllerYorke Lee
* Collect all actionBar interactions within DialtactsActivity into a single controller to ensure that it behaves more deterministically, and fix some bugs with regards to actionBar interactions. * Make sure that action bar correctly handles activity recreation and destruction by saving its state * Add unit tests and mock classes for ActionBarController Bug: 14900155 Change-Id: I370831db425e1970b118f5d4fed3ce9297e3610d
2014-05-23Increase size of actionBarYorke Lee
* Increase size of actionBar to 64dps and also add 8dps of padding to the search box. * Removed some unused styles Bug: 15165670 Change-Id: Ia232431b2e637c9ccbdd0710f723f2063add524b
2014-05-21Add shadow to expanded search boxYorke Lee
Change-Id: I6fa3bdd20a4e1fe024e2edabc06d0f777571ae2c