summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-24Merge "Fixed bug with selecting "Send Text Message""Nancy Chen
2014-06-24Fixed bug with selecting "Send Text Message"Nancy Chen
Bug: 15847101 Change-Id: Ifa0ff4130e9cb48eb5a894fa8087dae77359d59f
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-20Merge "Follow new PinnedPositions API changes (1/2)"Yorke Lee
2014-06-23Fix broken R references in Dialer.Jeff Davidson
Change-Id: I34dfe373bb6e340bf0f89a4aa31bcdac32d40135
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-19Follow new PinnedPositions API changes (1/2)Yorke Lee
Bug: 15593967 Change-Id: I3e0a495bc83b8d69a453b463f8f2559ef543031d
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-10Merge "Use single instance of ContactPhotoManager in Dialer"Yorke Lee
2014-06-13Use single instance of ContactPhotoManager in DialerYorke Lee
Bug: 15613586 Change-Id: Ib4ac3916334bb4f37231c903355b23f51af7aafe
2014-06-12Merge "Clear fragments properly when search term is erased."Andrew Lee
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-12Merge "Fix recent cards background color to white."Andrew Lee
2014-06-13Fix recent cards background color to white.Andrew Lee
Change-Id: If5944e1d7b7f78c05792f5ebd2a9d8f4350fbc3d
2014-06-10Merge "Add menu items for multi-sim support"Nancy Chen
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-11Merge "Favorite tiles shouldn't be circles"Brian Attwell
2014-06-11Favorite tiles shouldn't be circlesBrian Attwell
Bug: 15573471 Change-Id: I3a9559f1cfd805956a19fc781e905b0f42e895dd
2014-06-11Update strings for empty lists in Dialer.Andrew Lee
Also, some slight renaming for consistency across dialer. Bug: 15513399 Change-Id: Ia66084630fc9473dc24303aab0d777e1bde1b41a
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-11resolved conflicts for merge of 0a4327e6 to masterAndrew Lee
Change-Id: I98b24e23d9d3283223f8db0c58930977b7a8fd35
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-11am aafbb4c4: Merge "Adjust recent cards animation." into lmp-preview-devAndrew Lee
* commit 'aafbb4c4ea8d6ac1f06e4f459a7bcdaa4ca284b6': Adjust recent cards animation.
2014-06-11am 438df9a6: Merge "Dialer changes for correct selection bounds adjustment." ↵Andrew Lee
into lmp-preview-dev * commit '438df9a6e183c50e55571850557429f9e13635c5': Dialer changes for correct selection bounds adjustment.
2014-06-11am 10fe6cba: Merge "Fix for scrolling flicker in OverlappingPaneLayout" into ↵Yorke Lee
lmp-preview-dev * commit '10fe6cbaf1ec65dd8c94d55e6a2f68d0d7679e07': Fix for scrolling flicker in OverlappingPaneLayout
2014-06-11resolved conflict for merge of 469e9df0 to masterAdrian Roos
Change-Id: Ic96a35172c113e8b25084de3c8cf5e44f931903b
2014-06-11am e6985045: Merge "Always show options menu in Dialer dialpad." into ↵Andrew Lee
lmp-preview-dev * commit 'e69850453ec566cee019b098c60a28b61a49e090': Always show options menu in Dialer dialpad.
2014-06-11am a9a75dc1: Merge "UI improvements on tabs, recent expanded card, speed ↵Andrew Lee
dial grid." into lmp-preview-dev * commit 'a9a75dc1956f4b6a3d3527b7b9e204acbb316b68': UI improvements on tabs, recent expanded card, speed dial grid.
2014-06-10Update empty list assets and text.Andrew Lee
- Add new assets for empty lists, delete old no favorites banner. - Adapt phone_no_favorites.xml into generic container shown when a list is empty. - Add helper to DialerUtils to configure empty list view with a provided image and message. - Configure empty list view in relevant fragments. - Some text styling/margin/padding to get things to spec. A minimum height is used on the message so that the icons and text will be laid out in a consistent manner. Bug: 15513399 Change-Id: I52337a4544065a991d3b8084d96b01516a458c42
2014-06-10Merge "Adjust recent cards animation." into lmp-preview-devAndrew Lee
2014-06-10Merge "Dialer changes for correct selection bounds adjustment." into ↵Andrew Lee
lmp-preview-dev
2014-06-10Merge "Applying call details red-lines."Tyler Gunn
2014-06-10Merge "Empty ACTION_DIAL intent launches favorites" into lmp-preview-devYorke Lee
2014-06-10Merge "Remove use of TextUtils.join()"Yorke Lee
2014-06-12Remove use of TextUtils.join()Yorke Lee
Change-Id: Ie6397b1e2daa95c76809179188d6a4d5e401535b
2014-06-12Use ContactsCommon rotateDrawablePaul Soulos
Change-Id: I22c00f4c6e9c4d6dddec7704835b7612dba820be
2014-06-12Prevent existing cached normalized numbers from being overwritten.Tyler Gunn
Fixed case where if a number is not in your contacts and it has a cached normalized number in the call log, viewing the call log will delete the normalized number. Bug: 15591755 Change-Id: I7111ca6a2aacaebb0adfb15ccb5e6dc0792e2016
2014-06-10Merge "Fix bug where keyboard jumps in landscape."Sai Cheemalapati
2014-06-10Fix bug where keyboard jumps in landscape.Sai Cheemalapati
Fixes bug where keyboard would jump up after exiting the SearchFragment when the query text was empty. Change-Id: I591b401a42c1abc7fa58d7dcc7aacd97b228886d
2014-06-10Merge "Adding "today" and "yesterday" string resources."Tyler Gunn
2014-06-10Adding "today" and "yesterday" string resources.Tyler Gunn
These replace a previous method which relied on buggy methods to try and get the today and yesterday literals from the locale layer using a date format method. Bug: 15541650 Change-Id: I6ff6dd133904f21c8b41b51e68db465c34186719
2014-06-10Empty ACTION_DIAL intent launches favoritesYorke Lee
Bug: 15537399 Change-Id: I6262945f9b90d4378c24a8450d7c818604133623
2014-06-10Adjust recent cards animation.Andrew Lee
= Make the card clip more gradual (half that of before). = Accelerate the opacity fade so the content does not intersect with the card bounds when clipping. = Shift the search text 2dp to the left to better align with the recent card content. = Adjust the y translation of the recent card to "center" vertically. Bug: 15470880 Change-Id: I63b0742ff61d995b50257961bb317fa5d043a1bd
2014-06-10Merge "Fix for scrolling flicker in OverlappingPaneLayout" into lmp-preview-devYorke Lee
2014-06-10Merge "Revise remove view target positioning." into lmp-preview-devAndrew Lee
2014-06-10Merge "Always show options menu in Dialer dialpad." into lmp-preview-devAndrew Lee
2014-06-10Merge "Updating Dialpad animation in InCallUI."Sai Cheemalapati
2014-06-09Dialer changes for correct selection bounds adjustment.Andrew Lee
Do not adjust the bounds for the search fragment. Do adjust the bounds for the contacts fragment. Also, now we hide the scrollbar on the search fragments. Bug: 15517457 Change-Id: I0e5dedfcfdd1da359358671b57dd1132e66d6861
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-09Applying call details red-lines.Tyler Gunn
- Contact photo is now quick-contact which invokes quick-contact view. - Removed send MS and call affordances, along with scrolling effect. - Added missing accessibility strings to voicemail controls. Bug: 15328410 Change-Id: I6d78d582af8c3a5cea8e051911cf3be763df2a36
2014-06-06Always show options menu in Dialer dialpad.Andrew Lee
We disable options if there are no digits in the text field. The PopUpMenu does not reflect this visually right now though. This also fixes bad centering of the "dial to add call" text, because now the text field will have equal left/right margins from the edges of the screen.. Bug: 15453278 Change-Id: I6f4a7a597ed289fb1b59c9fcac261d151144b642
2014-06-06UI improvements on tabs, recent expanded card, speed dial grid.Andrew Lee
- Changed tab weight from bold to medium. - Darkened the lists background by ~2% black to improve contrast for the expanded call log items. - Fixed colors on the expanded call log item, back to white. - Some cleanup to store constant properties as member variables in the CallLogAdapter. - Fixed vertical margins on the speed dial favorite square views. Bug: 15470880 Change-Id: Ia2583f527e1fc91af08e049312eaa724176b761d
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-06Fix for scrolling flicker in OverlappingPaneLayoutYorke Lee
If a very fast downward swipe is detected while in the middle of scrolling down search box it is possible to get to a weird intermediate state where the list jumps up and down - this tweak guards against that from happening. Bug: 15407905 Change-Id: I7c72a09278d0051eae7b0f34be27261e7544ed4b
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-05am 57f560ae: Merge "Reveal recent calls shortcut only when at top of list" ↵Yorke Lee
into lmp-preview-dev * commit '57f560ae3a865aa721a88c317fac69e1a785b711': Reveal recent calls shortcut only when at top of list
2014-06-05am fd6bc6bc: Merge "Correctly reset all wrapped CallLogListItemView ↵Yorke Lee
attributes" into lmp-preview-dev * commit 'fd6bc6bc4898e4fe7ac7825baf0d7cc08709c19a': Correctly reset all wrapped CallLogListItemView attributes
2014-06-05Merge "Reveal recent calls shortcut only when at top of list" into ↵Yorke Lee
lmp-preview-dev
2014-06-04Reveal recent calls shortcut only when at top of listYorke Lee
Add an intermediate offset to OverlappingPaneLayout so that the search box can be exposed without revealing the shortcut card as well. Add state tracking on OverlappingPaneLayout so that when a list is in the middle of a scroll, the shortcut card is not revealed. Only when dragging the list downwards after the top of the list has been reached, should the shortcut card be revealed. Bug: 15407905 Change-Id: Ie303f4a36ce14f2b1103865f5583e3cab6263deb
2014-06-04Merge "Correctly reset all wrapped CallLogListItemView attributes" into ↵Yorke Lee
lmp-preview-dev
2014-06-04resolved conflicts for merge of 4d135767 to masterAndrew Lee
Change-Id: I8b156297f69e4ac629f72e1f3af92e06aa8652a5
2014-06-04am 51003da6: Merge "Fix for recent card shadow disappearing" into ↵Yorke Lee
lmp-preview-dev * commit '51003da60bd31ddabba1debfb1e3ab97c0feda58': Fix for recent card shadow disappearing
2014-06-04Merge "Modified floating action button."Sai Cheemalapati
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-04Merge "Some more search polish." into lmp-preview-devAndrew Lee
2014-06-04Merge "Fix SearchFragment translation after orientation change."Sai Cheemalapati
2014-06-04Fix SearchFragment translation after orientation change.Sai Cheemalapati
Small edit to Andrew's CL 477577 - fixes the translation of the ListView after switching to landscape when the Dialpad is open and the ActionBar is up. Change-Id: I8ef00e65aa37a15d5ce5c987de18311fe5320e46
2014-06-04Correctly reset all wrapped CallLogListItemView attributesYorke Lee
Since we are doing our own internal recycling of CallLogListItemViews for the ShortcutCardsAdapter, make sure to correctly reset all related attributes when adding a new child view Bug: 15413649 Change-Id: Ic4907082646f9d8ad9a5ac157ed58b219984d5d3
2014-06-04DO NOT MERGE Decreased shadows for search bar and recent contactNancy Chen
Lowered elevation/z-level for search bar ("Search contacts & places") and recent contact card ("Caller ID by Google is enabled") Bug: 15385828 Change-Id: Icdbc87d4046953bafcb5e0c7686e6efb3a49bdfb
2014-06-03Some more search polish.Andrew Lee
- Reset padding after applying 9-patch so things are centered properly. - Properly adjust visibility of more views to make animation more smooth. Merge logic into common helper method. Bug: 15343931 Change-Id: I5ab62a823c8fad8a7644aaad641d5193d0dc6af8
2014-06-03Decreased shadows for search bar and recent contactNancy Chen
Lowered elevation/z-level for search bar ("Search contacts & places") and recent contact card ("Caller ID by Google is enabled") Bug: 15385828 Change-Id: Icdbc87d4046953bafcb5e0c7686e6efb3a49bdfb
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-02Fix for recent card shadow disappearingYorke Lee
Correctly initialize and save initial starting state of translationZ Bug: 15387296 Change-Id: I7725dc34c656d015b5b3a5fc4b20eccf11966d9e
2014-06-02Matching landscape dialer to mockups.Sai Cheemalapati
Dialer now matches mockup in landscape mode. Bug: 15386162 Change-Id: I8abb7a6c13bbeb1cb9210532e850010b196fe14e
2014-05-30am a6ba1b79: Merge "When dragging, don\'t slide action bar if pane is ↵Yorke Lee
closed." into lmp-preview-dev * commit 'a6ba1b79a451ecabd131ce3c5cfef94ca3ea4860': When dragging, don't slide action bar if pane is closed.
2014-05-30Merge "When dragging, don't slide action bar if pane is closed." into ↵Yorke Lee
lmp-preview-dev
2014-05-30am 60d2e37b: Merge "Update margins/paddings on the shortcut card." into ↵Andrew Lee
lmp-preview-dev * commit '60d2e37b1d4e8b5e957b133fc261dcdabd418932': Update margins/paddings on the shortcut card.
2014-05-30Update margins/paddings on the shortcut card.Andrew Lee
Bug: 15345202 Change-Id: Iae7143ab84519cf4a04ed9c1f555e5bcd8716516
2014-05-30am a636ada9: Merge "Toggle between elevation and 9-patch shadow in ↵Yorke Lee
searchbox" into lmp-preview-dev * commit 'a636ada9b053f1baad6c5267b4afb80360418290': Toggle between elevation and 9-patch shadow in searchbox
2014-05-30am 1d7ef6a5: Update showCallScreen to use Telecomm (5/6)Santos Cordon
* commit '1d7ef6a59ae175d1577ca707e2682924a60d341d': Update showCallScreen to use Telecomm (5/6)
2014-05-30am 3a406566: Merge "Add dynamically scrolling underline to view pager tabs." ↵Andrew Lee
into lmp-preview-dev * commit '3a406566ee0753a50dac2a376ebb598baf08e4dd': Add dynamically scrolling underline to view pager tabs.
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-30Toggle between elevation and 9-patch shadow in searchboxYorke Lee
Bug: 15343931 Change-Id: I545aa751feed9f9e4cca2bc386838b76b396f863
2014-05-30resolved conflicts for merge of 6b6fea2c to masterAndrew Lee
Change-Id: I71b227f3233ada7e3f1fd65bc9cce7c919b35cbb
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 "Add dynamically scrolling underline to view pager tabs." into ↵Andrew Lee
lmp-preview-dev