summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-15Change primary actions of the CallLog items.Christine Chen
- When the CallLog item is in the CallLog fragment, the primary action remains to be opening the call detail page. - When the CallLog item is in the Favorite fragment, the primary action changes to be calling the number directly. The secondary action is hidden unless it is to play a voicemail. Bug: 10308694 Change-Id: I28ca7aa783bcca35eb8b41f6e8508d08062dd253
2013-08-15Fix padding for favoritesYorke Lee
Bug: 10327648 Change-Id: Ida9a4a0fdbeda147667398ab8ea9771a7f56d2ee
2013-08-14Add outgoing call receiver to undemote a contactYorke Lee
Bug: 10292569 Change-Id: I377220822970d46c6706a636fbcc54f8eb2c8758
2013-08-14Merge "Clean up todos for dialer" into klp-devYorke Lee
2013-08-13Merge "Make frequent numbers behave like favorites" into klp-devYorke Lee
2013-08-13Make frequent numbers behave like favoritesYorke Lee
Remove duplicate frequently called numbers from the same contact, and also remove the phone number associated with the frequent tile entirely so that they behave like favorites. Change-Id: I188cf044528056ececbbc3e0b17a945155daa4e4
2013-08-12Merge "Fix wrong contact being hidden from favorites" into klp-devYorke Lee
2013-08-12Fix wrong contact being hidden from favoritesYorke Lee
The index of the tiled favorite being removed was being calculated incorrectly because the incorrect coordinates were being passed the method that determined the hit rectangles. Bug: 10292444 Change-Id: I46e5dd09e0e0ccee8278e72fcfee21c050330f56
2013-08-12Merge "Persist favorites clicked listener across activity destruction" into ↵Yorke Lee
klp-dev
2013-08-12Clean up todos for dialerYorke Lee
* Remove account filter header container * Remove frequent header position * Move dialer database updating to DialtactsActivity Change-Id: I8a6a092f25609537a47ffafb28aa4df9f55b1bd5
2013-08-12Persist favorites clicked listener across activity destructionYorke Lee
Bug: 10289904 Change-Id: I7282cd6c2a4c938131b88ab10d2fc73897c0b65c
2013-08-12Add onPhoneNumberPickerActionListeners to search fragmentsYorke Lee
Fix regression (crash on phone number selected) caused by https://googleplex-android-review.googlesource.com/#/c/341604/ Change-Id: I8bc6850b3b2809f9919edbdbdb308af0402d7035
2013-08-12Merge "Improve fragment handling" into klp-devYorke Lee
2013-08-11Improve fragment handlingYorke Lee
* SmartDialSearchFragment now extends SearchFragment to avoid code duplication * Load search fragments dynamically instead of all at once on startup * Don't always return the user to the favorites screen on resume * Activity and fragment state persist across activity recreation Bug: 10248520 Change-Id: I6bce83e22a8eced9783805ea5a924f34bae78a14
2013-08-10Merge "Hide dial button in-call so that in-call chooser dialog shows up" ↵Yorke Lee
into klp-dev
2013-08-10Merge "Extract ShowAllContactsFragment and add it to its own activity" into ↵Yorke Lee
klp-dev
2013-08-09Extract ShowAllContactsFragment and add it to its own activityYorke Lee
Bug: 10244050 Change-Id: I9c815aecc3fe9f0db239129749fb5be3c73f51be
2013-08-09Hide "Clear frequents" setting instead of just disabling itYorke Lee
Change-Id: I9d9a4ecd958c1a1d83906388bb1cc25339278011
2013-08-09Merge "Clean up todos in Dialer" into klp-devYorke Lee
2013-08-09Clean up todos in DialerYorke Lee
Change-Id: I336373f089d1956606451e320c103d53bd737264
2013-08-09Merge "Make sure to not call getTelephonyManager with null context" into klp-devYorke Lee
2013-08-09Merge "Fix dialpad actionbar item heights" into klp-devYorke Lee
2013-08-09Fix dialpad actionbar item heightsYorke Lee
Bug: 10259963 Change-Id: I5c95583a1dbff09d38456fc838183652a460fbff
2013-08-09Make sure to not call getTelephonyManager with null contextYorke Lee
Bug: 9465444 Change-Id: Ibe7f463da5ba0a5276701fa10ce01c28a5d4b16d
2013-08-09Merge "Enable transations for dialpad digits" into klp-devYorke Lee
2013-08-09Merge "Remove phone call receiver in call log fragment" into klp-devYorke Lee
2013-08-09Handle dialpad animations betterYorke Lee
This change prevents the dialpad from animating in when the dialer is launched directly with a dial intent. Change-Id: I6d7378de0484dcdadecbbc0e9c25d4c8ed1e3800
2013-08-09Enable transations for dialpad digitsYorke Lee
Bug: 10245019 Change-Id: Ic1ae7dbaf5fce68ec967bd0db9e8d91505d42fb4
2013-08-09Remove phone call receiver in call log fragmentYorke Lee
The most recent call log item in favorites removes the need to return the call log tab to the All tab on a phone call. Change-Id: Id0a36bc97c04656cf86a485e44e616b7d652d0b2
2013-08-09Hide dial button in-call so that in-call chooser dialog shows upYorke Lee
Bug: 10248510 Change-Id: Ib70b6b5eee8f1f16e2a9ea306292e324bfe3474d
2013-08-08Remove unused resources from DialerYorke Lee
Change-Id: Iea5e470d63462a2252bece4e712ec8d2daeeb621
2013-08-08Removing and renaming classes from DialerYorke Lee
* No code was changed, just either removed or renamed * Reshuffled a couple of ids around in dialpad_fragment to fix some compile time errors that somehow weren't caught before Change-Id: I9e2381edfb14b0940015deb8cbd94786a1242f43
2013-08-07Fix build break due to duplicate method definitionYorke Lee
Change-Id: Id539c6f0a38d7081569fd39e77c3a095466be6ef
2013-08-07Merge "Integrate pinning support with drag and drop UI"Yorke Lee
2013-08-07Integrate pinning support with drag and drop UIYorke Lee
* Added the concept of a blank entry. This is used to keep the rest of the list in place while a contact is being dragged. Blank entries appear as invisible views for now. * Added the concept of a DEMOTED contact, which is used to indicate that a contact should never be displayed in the favorites list. * Pinned position management methods and tests Added two methods to handle assigning of contact positions based on their pinned positions, as well as reflowing of contacts when a contact is pinned at a new position. The assigning of contact positions works as defined below: 1) All contacts with pinned positions are assigned their defined pinned positions as necessary. 2) If two contacts have been given the same pinned position, they are ranked based on the order returned from the ContactsProvider ( alphabetical by display name). The second contact is then pushed to the next position, bumping all corresponding pinned contacts down by one spot as necessary. 3) If there is a contact with a pinned position that is greater than the number of starred + frequent contacts (this can happen if user clears frequents, for example), then it is simply treated as an unpinned contacts. 4) All unpinned contacts flow to fill in the gaps between pinned contacts. The reflowing of contacts works as defined below: 1) Pinning a contact at a new spot replacing an unpinned contact simply pins it at that position. 2) Pinning a contact at a new spot where there was already an existing pinned contact bumps that replaced pinned contact down by one spot alongside all subsequent pinned contacts as necessary. I.e. contact A is pinned at position 2. Before: [A][1][P][P][4][P] After: [0][1][A][P][P][P] 3) If there is no more space at the end of the list to bump the pinned contacts one spot further, then the replaced pinned contacts will shift to the left to take the space of the original moved contact. I.e. contact A is pinned at position 3. Before: [A][1][P][P][P][P] After: [0][P][P][A][P][P] * We no longer perform dynamic updates of the in-memory list. Instead, when a contact is dropped at a new location, the new positions are sent to the ContactsProvider, which updates the database and notifies the adapter that there is a new cursor with updated data. The new list of ContactEntries is then reconstructed from this new cursor. Note that animation behavior with the newly introduced pinned contacts is pretty janky looking - Instead of flowing together with the rest of the unpinned contacts, pinned contacts should remain in position and not animate on a dataset change. Likewise for empty contacts. In order to support this, the animation logic will have to be rewritten to take into account not just soley where the dragged contact was dropped, but also the old and new position of each and every single contact in the list, before and after the database refresh. Change-Id: I5c9542a7fec529f5d965eebe76acbebe1fc10357
2013-08-07Merge "Drop BIND_DIRECTORY_SEARCH permission"Jay Shrauner
2013-08-07Merge "Import translations. DO NOT MERGE"Baligh Uddin
2013-08-07Drop BIND_DIRECTORY_SEARCH permissionJay Shrauner
Drop BIND_DIRECTORY_SEARCH permission. Bug: Change-Id: I9496aacbd302002b319fd04973dc8abaa4687779
2013-08-06Fix crash in onPrepareOptionsMenuYorke Lee
Bug: 10206013 Change-Id: If12a25329701d04e3d40b0d6f18154336d8c90a3
2013-08-06Add GAL support to DialerJay Shrauner
Add BIND_DIRECTORY_SEARCH permission to manifest. Use new methods for GAL support. Change SmartDialing cursor and adapter to use PhoneNumberListAdapter projections directly. Bug: Change-Id: I5f8181cfeec7adab4865e680ebc85ba2b476fc39
2013-08-06Properly show dialpad fragment on first launch if neededYorke Lee
Bug: 10205058 Change-Id: If7eb79b77357a81b17bdff719939debd71544bc4
2013-08-06Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Ic10dc58e4dd14fb47786f09c682d59a1315eec7c Auto-generated-cl: translation import
2013-08-05Undemote contact if it is calledYorke Lee
Change-Id: Ibcd14c7a71f73ed8c7faae07d2c50b23199ff1fd
2013-08-05Code cleanup for call log related itemsYorke Lee
Change-Id: I2aa0458e1fb74abaea60a02f430a4e413dfed365
2013-08-04Merge "Initial cleanup of unused old dialer code"Yorke Lee
2013-08-02Show the All Contacts button even if there are no favoritesYorke Lee
Change-Id: Ic6a1ed35e990ad88fb9ba8eae3bdcd353ad03fbc
2013-08-02Merge "Import translations. DO NOT MERGE"Baligh Uddin
2013-08-02Initial cleanup of unused old dialer codeYorke Lee
Removed unused classes and renamed NewDialpadFragment to DialpadFragment. Removed some unused static imports Change-Id: If16a8bfe8cc113a570514b6d0edd87cb946758fa
2013-08-01Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I9ad1c5841dce3c00c93cf3bf7c6fc42f479f75fd Auto-generated-cl: translation import
2013-08-01Fix PhoneFavoritesTileAdapter.getCount()Yorke Lee
getCount() was reporting an incorrect length when the number of entries is less than mColumnCount * mMaxTiledRows Change-Id: I4504b200c938f4bf1a230fc4c2f1bf06ebc5128c
2013-08-01Supports drag and drop outside of a view.Christine Chen
Change-Id: I60c618741006916a2ce05ca0df54da2b0f95ada2
2013-08-01Merge "Don't close cursor manually in PhoneFavoritesTileAdapter"Yorke Lee
2013-07-31Don't close cursor manually in PhoneFavoritesTileAdapterYorke Lee
This seems to mess up the ability to receive further notifications when the data underlying the cursor changes. The framework will automatically close the cursor when it is no longer needed. Bug: 10117074 Change-Id: I8721c955aebf8fd1826c1eebfb158376d204f0fa
2013-07-31Change drag and drop shadow for rows.Christine Chen
Change-Id: I1cf71abd872b40f48a9b98e54aa758072384a728
2013-07-31Fix drag and drop lag.Christine Chen
Change-Id: I5d92fa60aca02883ce624ce6f643c5aedd224039
2013-07-31Adds undo favorite removal dialogue redlines.Christine Chen
Change-Id: I2edcccdd4acdd3ff281132efc66e21def228002f
2013-07-31Merge "Add debug check to PhoneFavoritesTileAdapter.getView"Yorke Lee
2013-07-31Merge "Report proper count in PhoneFavoritesTileAdapter"Yorke Lee
2013-07-31Merge "Prevent animation length from going negative"Yorke Lee
2013-07-31Add debug check to PhoneFavoritesTileAdapter.getViewYorke Lee
Change-Id: If8689796e648552c22e7605a8ebfd1e74a92e6ec
2013-07-31Report proper count in PhoneFavoritesTileAdapterYorke Lee
Change-Id: I63680fe604357b8b5cba3ce0a4a28d0d12e27c37
2013-07-31Prevent animation length from going negativeYorke Lee
Change-Id: I5797dc24a0d4eff96a89627a5b61e7ed16f62dd5
2013-07-31Switch from old dialer to new dialerYorke Lee
Change-Id: I51351f252338eee4d0be5723beafc044786b801e
2013-07-31Merge "Redlines for CallDetailActivity (call history items and voicemails)"Yorke Lee
2013-07-31Adds Drag and Drop UI to the Dialer main view.Christine Chen
- Adds drag and drop listner. - Changes the FavoritesTileAdapter to use an array stored in cache to populate the view. - Adds animation for drag and drop. - Adds swipe to delete an entry. Change-Id: I0717fb3d256b2ab2353f86a998de07edb24e9b4c
2013-07-31Adds all contacts fragment.Christine Chen
Change-Id: Iea03cbb82c9ca9fdff51686a722bea5d301add44
2013-07-31Merge "Dialpad modifications to match the rest of the redlines"Yorke Lee
2013-07-31Dialpad modifications to match the rest of the redlinesYorke Lee
* Reduced size of star and pound keys * Made star and pound key gray * Add voicemail image view * Add light versions of menu assets * Renamed other menu assets to be more consistent * Assign proper menu items to dialpad fragment Change-Id: I67f2e7eecb177fc8ab7b4bc9b2855b385c622a7f
2013-07-31Merge "Add voice search button in Dialer"Yorke Lee
2013-07-30Add voice search button in DialerYorke Lee
Change-Id: Ic8dcf4a1f886d3292af438e5995474539e88b179
2013-07-30Don't hide overflow menu on devices with menu hard keyYorke Lee
We can reenable the menu hard key on devices which have one when we figure out menu interactions between DialtactsActivity and its fragments. Also removed useless Show All Contacts menu option. Change-Id: I446b2157072c137c7b8624ae97455f793b188cdb
2013-07-30Redlines for CallDetailActivity (call history items and voicemails)Yorke Lee
* Swapped out new assets * Changed background colors as necessary * Add padding view at bottom of seek container * Changed color of drawables * Removed unused assets Change-Id: I654ba417e03b2a32039504ae2de51fd75c5bec20
2013-07-30Merge "Change overlay and styles for contact tiles"Yorke Lee
2013-07-30Change overlay and styles for contact tilesYorke Lee
* Add shadow overlay * Change font and color of contact tile name * Change various padding values Change-Id: I298a2cc58ed3cf1ab310bb5c5cfc243e3eee117e
2013-07-30Merge "Import translations. DO NOT MERGE"Baligh Uddin
2013-07-30Merge "Fix fragment-related issues in new Dialer"Yorke Lee
2013-07-30Fix fragment-related issues in new DialerYorke Lee
Fix fragment lifecycle issues that occur when resuming the Dialer from recents after some time. To better reproduce fragment lifecycle issues more easily, remove the attribute android:screenOrientation="nosensor" to simulate activity creation and destruction. Change-Id: I9972121e6e06690d2a4823f9480ff9a993854059
2013-07-30Merge "Implement dialpad in XML"Yorke Lee
2013-07-30Implement dialpad in XMLYorke Lee
Change-Id: I603eb29203b2ae65fe35f423c574a33bb86662a2
2013-07-29Fix call log margins to match redlinesYorke Lee
Change-Id: I3e0282971a52cb2c400bf604f40a82d613a8a8e7
2013-07-29Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I694bb1ed9495c04903d1864350f85184a9f203a3 Auto-generated-cl: translation import
2013-07-29Merge "Use roboto light font for ActionBar title for CallLogActivity"Yorke Lee
2013-07-29Merge "Redlines for phone number list fragments"Yorke Lee
2013-07-29Use roboto light font for ActionBar title for CallLogActivityYorke Lee
Use a SpannableString with roboto light font to style ActionBar title because there is no framework affordance to set a custom font for the action bar. Change-Id: Ic0675d78b077e8686cf5bbdc88b06b75acb8c503
2013-07-29Redlines for phone number list fragmentsYorke Lee
* Add and remove padding for regular search and smart dialing search fragments. * Move background colors to individual fragment views instead of the app, so that they can define their own background colors without causing overdraw. * Remove unused imports in SearchFragment Change-Id: Id1523c5760ea3cf5e675df8f89e5bd299a95eb18
2013-07-29Code cleanupYorke Lee
Change-Id: Ib2ee17d3a236c79a5a4495fd28281e2c29479a99
2013-07-29Allow Dialer to respond to dial and view call log intents.Yorke Lee
Change-Id: I5a67cf690be172e5d55a426f61e53e6b1bb7a935
2013-07-27Merge "Add actionbar items on dialpad fragment to match redlines"Yorke Lee
2013-07-26Add actionbar items on dialpad fragment to match redlinesYorke Lee
Change-Id: Iea40db1bd4162a3e5f5a80e7af8b2902afd438b1
2013-07-26Remove All contacts section from PhoneFavoritesMergedAdapter entirelyYorke Lee
Change-Id: I6bb7262da401a408a34efe3cf52f99f7ef435421
2013-07-25Allow frequent contacts to also take up the top row of tiled contactsYorke Lee
Change-Id: I7877035b52a3ee4ec8772cfda16f6e078cdd4404
2013-07-25Merge "Import translations. DO NOT MERGE"Baligh Uddin
2013-07-24Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I38ab6c247e6a72783e93e85beeb9abf6f5159d8c Auto-generated-cl: translation import
2013-07-23Redlines for call history screen, as well as most recent call logYorke Lee
* Add and change background and layout for CallLogListItem * Create wrapper view for most recent call log item * Change actionbar background in Call History activity * Hide phone number in call log items * Add tab indicator drawables Change-Id: Ic86c3fac857971aba58ba3ac1d79ddebaf663da6
2013-07-23Merge "Style and layout changes to match redlines"Yorke Lee
2013-07-22Style and layout changes to match redlinesYorke Lee
* Swapped out some icons with newly added assets. * Changed search view into edit text with accompanying close button so that it can be more easily styled. * Changed various background colors. * Tweaked padding values to match redlines * Removed margins from PhoneFavoriteRegularRowView and PhoneFavoriteTileView and instead use a standardized set of margins for all rows in PhoneFavoritesTileAdapter * Added bottom_border_background drawable to create a bordered background. * Remove PhoneFavoritesTileAdapter.ViewTypes.STARRED/STARRED_PHONE since they are no longer relevant Change-Id: I65dfd5adf6cfbcb2c9d283aef2bd10e5d2a82dc7
2013-07-22Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I005751aef20fedb292be04d06f2b59cf485a65d7 Auto-generated-cl: translation import
2013-07-19Update string character limits for translationsYorke Lee
Bug 9917864 Change-Id: I82f399f28d41f99587bff6b3a3436f443b98b68b
2013-07-19Merge "Import translations. DO NOT MERGE"Baligh Uddin
2013-07-18Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I83f64280a664b11d21437d6d6a3ed3c230a54abc Auto-generated-cl: translation import