summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2013-07-18Remove voicemail tab in new DialerYorke Lee
Change-Id: Ifdad003cac85f80799ac7e893911611ec8b130ef
2013-07-17Fix Dialer crash due to incorrect viewtype count being reportedYorke Lee
Bug: 9899110 Change-Id: I81408b00cced4b757b0ecca45369b05eb16c0620
2013-07-16Initial commit of all new dialer activities, layouts and stylesYorke Lee
As far as possible, this change does not modify any behavior/look of the existing dialer. All modifications to classes/layouts/style attributes that would affect functionality of the old dialer are instead done in separate new files. Added new versions of all activities, fragments, layouts, menus and resources that have been rewritten or modified. The activities do not have intent filters yet in order to not interfere with the existing dialer. Added some new values in colors/styles/dimens for the newly added layouts. Added NewCallLogActivity to separate the CallLogFragment from DialtactsActivity. All call log and voicemail entries are now presented in a separate (New)CallLogActivity. IntentProvider.getCallDetailIntent now takes a cursor instead of an adapter for more flexibility. Add OnListFragmentScrolledListener interface for DialtactsActivity to receive callback when one of its children fragment is scrolled. Added slide in and slide out animations for DialpadFragment. Add slide up and hide animations for search view All menu options now show up in a PopupMenu in NewPhoneFavoriteFragment. Added call log adapter into NewPhoneFavoriteMergedAdapter. Rewrote layout of DialpadFragment to show up as a fragment partially overlaying the screen. Removed some unused code in DialpadFragment (smart dialing, menu handling) Add fragments and adapters for SmartDial. - Update Dialer database to support highlight masking and record contact data Uri, as well as photo uri - Add a fragment and adapter for smart dialing - Add SmartDialCursorLoader to load SmartDial results. - Typing in the dialpad now returns smart dialing results instead of regular search results QuickContactTiles for all sub-adapters of PhoneFavoriteMergedAdapter now use light theme instead of the the default dark theme. Removed all redundant call log filter and contacts to display filter code Moved Dialer specific UI list-related classes to the Dialer package Change-Id: I34885813e4fa79b69e29ac870a87a56d6f08a5e7
2013-07-16Adding new copies of classes for new Dialer UIYorke Lee
No code has been modified at all in this CL. All classes were copied from existing classes and renamed to add the New prefix. Change-Id: Idbb522c9dd1ef5db8e3dffcb73155ca603f861b2
2013-07-10Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I769d5ac5e1d4b84f34946e106f6ff4f37837a126 Auto-generated-cl: translation import
2013-07-03Remove CallLog New and Old sectioning.Christine Chen
Bug: <5751629> Change-Id: I1689fa10f285bc66fc69b6a9b9da139ce5461d83
2013-07-02Fixing SmartDial crash bug.Christine Chen
Change-Id: I405535654240b959cf8b0caa7ecfa8456a632791
2013-06-28Add SmartDial database for the Dialer app.Christine Chen
- Creates a database helper to create a smartdial database for the Dialer app. - Queries all rows in the Contact database and copies related columns to the smart dial database. - Create another prefix database to contain all prefixes of a contact. - During keypad input, the prefix databse is queried to find contact suggestions, and suggestions are ranked by the usage data and contact status (starred, primary contact, etc.) - Created unit test for the SmartDial database insertion and prefix computing functions. Change-Id: I4d7c3b3bcc52dd6efa4d6e69d3f1687c3abaeb69
2013-06-19Merge "Use new CallLog number presentation column"Jay Shrauner
2013-06-18Dialer app needs system privilegesChristopher Tate
Bug 9470309 Change-Id: Ie753e409d55d6a5001f10d77ca38c67ef848c405
2013-06-13Use new CallLog number presentation columnJay Shrauner
Switch to using new number presentation column in the CallLog table and discontinue using special phone number strings in CallerInfo. Needed for unbundling. Bug:6948882 Change-Id: Ibf27ea55cee783c4530101e4e228198e245e6684
2013-06-11am 2035fc54: (-s ours) Reconcile with jb-mr2-release - do not mergeThe Android Open Source Project
* commit '2035fc54a53c541e00c1ca7357401950469fc458': Fix crash in Dialer in landscape mode
2013-06-11Reconcile with jb-mr2-release - do not mergeThe Android Open Source Project
Change-Id: I6ae59824a2816429c9d8b2cf698a7170de89cef0
2013-06-11am 1dd46a5c: Fix crash in Dialer in landscape modeYorke Lee
* commit '1dd46a5c676325d20b7a042d0d0d3c7d9365d0bd': Fix crash in Dialer in landscape mode
2013-06-10Fix broken SmartDialNameMatcher testsYorke Lee
Change-Id: I57ffcea3d3fc43e8c87a47a97d6b4f7e5edf1525
2013-06-10Fix crash in Dialer in landscape modeYorke Lee
Bug 9369806 Change-Id: I286ebb828c0f6ce7c005c541661b9aa67284847e
2013-06-10Fix crash in Dialer in landscape modeYorke Lee
Bug 9369806 Change-Id: I286ebb828c0f6ce7c005c541661b9aa67284847e
2013-06-07Preserves changes in phone number on dialer.Christine Chen
Added check on whether the intent is new to decide when to fill in the number in dialer automatically. If the intent is not new, the dialer will be filled with previously used number, preserving any edits on that number. Bug: 8484457 Change-Id: I45f02d395ce402670b380485b5ba1e7190600ec3
2013-05-31Use TelephonyManager instead of ITelephonyJay Shrauner
Switch to using public TelephonyManager calls (needed for unbundling). Bug: 6948882 Change-Id: I301590efa5c45dfc3d31a16181694941a2bee092
2013-05-24Merge "Create backup agent for the Dialer app."Christine Chen
2013-05-23Create backup agent for the Dialer app.Christine Chen
- Currently only the active tab is being backed up. - More settings may be added later. Change-Id: Id66565029be751beae8b58d4cc054f8d2d16ceea
2013-05-23Added SmartDialMap interfaceYorke Lee
All character validation, remap and index calculations in both SmartDialTrie and SmartDialNameMatcher now go through a SmartDialMap. The LatinSmartDialMap is used by default. Bug: 8769026 Change-Id: I4ff90acc380e802f035ca1fbc55c022bf3b76aa3
2013-05-22Smart dialing caching not starting immediatelyYorke Lee
Bug 9086662 Change-Id: Iab8fc869180188930f84edb794e0a24a1a0a2229
2013-05-17Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Ic62a33e0584df84467f3b54ba6172891fa76e616 Auto-generated-cl: translation import
2013-05-14am 3a18654b: Animation for smart dialing suggestionsYorke Lee
* commit '3a18654bf87df4f17880551b6cfa45c871917960': Animation for smart dialing suggestions
2013-05-14Animation for smart dialing suggestionsYorke Lee
Suggestions now appear with a fade in and slide up animation. Suggestions vanish with a fade out and slide down animation. If a suggestion is moved into the middle, it slides to the left/right as appropriate. Change the layout containing suggestions to a LinearLayout, in order to better support animations. Renamed SmartDialAdapter to SmartDialController, and also refactored it to handle entries for a LinearLayout instead of a GridView, as well as adding animation support and view management. Use null object pattern in SmartDialEntry to better handle null entries. Start displaying suggestions on the first digit entered. Bug 8840240 Change-Id: If4e16006c0b36d2244434e0b2d8f3d3b997b0ad2
2013-05-14am dbb6c6fc: Fix Dialer NPEYorke Lee
* commit 'dbb6c6fc024bbacf3b495a44bdddccf8502793ae': Fix Dialer NPE
2013-05-14Fix Dialer NPEYorke Lee
Make sure that smart dialing state is properly set before any digits in the dialpad EditText is populated. Also turn smart dialing off by default even if the system setting hasn't been previously set. Bug 8963485 Change-Id: If556d8b1405cc9e60043774b3aafd5e111e4e7ee
2013-05-13am a8fd33fd: Merge "Setting to toggle smart dialing on/off" into jb-mr2-devYorke Lee
* commit 'a8fd33fdb65b936bd130a6d9c6bd4b3615d24886': Setting to toggle smart dialing on/off
2013-05-13Merge "Setting to toggle smart dialing on/off" into jb-mr2-devYorke Lee
2013-05-08am f744f53e: Allow vanity numbers via paste/DIAL intentYorke Lee
* commit 'f744f53ed980ba901b458b070a1b5eb4526b69f3': Allow vanity numbers via paste/DIAL intent
2013-05-08Setting to toggle smart dialing on/offYorke Lee
Bug 8840243 Change-Id: I1d1fea4f958821f3a9273ba189e2140367049516
2013-05-07Allow vanity numbers via paste/DIAL intentYorke Lee
https://googleplex-android-review.googlesource.com/#/c/253417/ Converts vanity numbers such as 1-800-FLOWERS to the numeric equivalents when the number string is populated via a DIAL intent or pasted from the clipboard. Does not remove valid formatting such as dashes, periods, spaces, etc. Bug: 8858358 Change-Id: I553c91628b8fd86ff38a8eeec7823ebdc96bfe6b
2013-05-01am 006d071b: Apply NANP logic to numbers with a +1 country codeYorke Lee
* commit '006d071bd477768b4685385d15b3385f6d2e834d': Apply NANP logic to numbers with a +1 country code
2013-05-01Apply NANP logic to numbers with a +1 country codeYorke Lee
Bug 8769688 Change-Id: I4aadd0f9e5495fb1b604910306dfd918d1540136
2013-05-01am ec2a6103: Fix Smart dialing OOM for extremely long contactsYorke Lee
* commit 'ec2a6103d517a1896abffc493e5f883049872ca9': Fix Smart dialing OOM for extremely long contacts
2013-04-30Fix Smart dialing OOM for extremely long contactsYorke Lee
Names with an extremely large number of name tokens were using exponentially increasing amounts of memory since we have to insert entries for all possible initial name combinations. Added a check in the trie insertion algorithm to only add initial matches for the 1st 2, and the last 2 name tokens. This change only affects search by initial matches for names exceeding 4 name tokens. Full token search for names of all lengths should still work. E.g. "frank", "enstein" would still match "Dr Frank En Stein DDS". However initial matching would be limited to the first 2 and last 2 tokens. So "dfsd" or "fsd" would work, but "fes" or "fed" would not. Also fixes a bug caused by integer overflow when calculating thresholds for bucketing frequently used contacts Bug 8737986 Change-Id: I804184368b78fe2fa407667ed83874d839c28115
2013-04-26Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Iaf27a2f7998403fffb5d0c532c26849d3f470041 Auto-generated-cl: translation import
2013-04-23am 1d6fb57f: Display regulatory info from "*#07#".Jake Hamby
* commit '1d6fb57f3a53db34bfcb3dacdf11bcb6fb091b06': Display regulatory info from "*#07#".
2013-04-23Display regulatory info from "*#07#".Jake Hamby
When user dials "*#07#", display the regulatory info graphic, or SAR data if no regulatory info PNG is provided for the device. Bug: 8259869 Change-Id: I5d8c640bfa13e2f0d3de7c68258a65428e336bca
2013-04-22Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Ie24f96be17e9ea49d56ffc7c1c79230d8628343b Auto-generated-cl: translation import
2013-04-19am a539c86d: Allow name matching for contacts with numbers in their nameYorke Lee
* commit 'a539c86d015c3eb9819cf38d1ccb04edb1461fe2': Allow name matching for contacts with numbers in their name
2013-04-19Allow name matching for contacts with numbers in their nameYorke Lee
For SmartDialTrie, also include numbers as valid characters when calculating indexes when generating the byte array. For SmartDialNameMatcher, include '0'-'9' as valid latin characters, and handle them appropriately after remapping accented characters. Also fixed a subtle matching bug that would manifest itself when matching against multiple tokens with similar initials - E.g. "Dr.Dredd" Bug 8659001 Change-Id: If461d2760a723ef7fd03dda0c1a1515cd7b44cf6