summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [1/2] Credit text and action should be limited to single lineRichard MacGregor2016-05-121-0/+92
| | | | | | | | The credit text and action weren't limited to a single line, causing increased credit bar size if text was translated into another language. Ticket CD-631 & CD-637 Change-Id: I89c3725f5d7040299b90491a745eb96d93fb1db9
* Reduce InCallUI name text field size to prevent text truncationKamaljeet Maini2016-05-061-1/+12
| | | | | | | | | | | | | | | The resizeText() function calculates maximum possible text size for the available width. In some cases, this leads to slightly bigger text than width of text view, causing InCallUI name truncation. To prevent this issue, the text size is now reduced by a fixed value of 1. This solves the issue by providing enough margin on a failing product. This margin may not be enough for all scenarios. So it may need to be changed for other products. The goal is to keep this margin small enough to minimize impact on non-failing products. Change-Id: I390ca38b1cad29db42d6a1ed52346c6a72dec4a8 Issue-Id: CYNGNOS-2674
* [1/4] Refactor CallMethodHelperStephen Bird2016-04-261-42/+0
| | | | Change-Id: I3b24eedffddbf0960023dc2f1429038e5353de2f
* Check if Volte is enabled in ImsManager to determine Volte supportKamaljeet Maini2016-04-261-1/+2
| | | | | Change-Id: I3209b4b814a041cbe6cdf354b853623943175e0b Issue-Id: CYNGNOS-2011
* Move VoLTE changes to PhoneCommonKamaljeet Maini2016-04-082-0/+47
| | | | | | | | While porting VoLTE support from DialerNext to AOSP Dialer, some of the relevant changes are moved to PhoneCommon. Change-Id: Id18fe4743af5df133069e889c817937d7847c3b6 Issue-Id: DIALER-720
* InCall: move CreditBarHelper to src-ambientRaj Yengisetty2016-04-081-93/+0
| | | | Change-Id: I41cb619fc6e9fb759c3b4e388b4606e145d3c39c
* Move Credits Bar to Helper classStephen Bird2016-04-082-26/+97
| | | | Change-Id: I38794d69853eddfc9324f8295486d0e1c8da2a79
* Add Login intent for credits barStephen Bird2016-04-081-1/+5
| | | | Change-Id: I50b682d854a8a8c0a1b6b80cd29c025fc6416f7b
* setOverflowMenuButton custom button placementStephen Bird2016-04-081-2/+9
| | | | | | | | | We need to move the default overflow button without being to disruptive to the common dialpad layout. Also, create way to force a PSTN call from an incall provider. Change-Id: I5cc7d372ff8e438a4a291f4296ac2a5da086b8c8
* InCall: clean up logs and add ImageUtilsRaj Yengisetty2016-04-081-0/+36
| | | | Change-Id: I235715af94f96f9ce8bde01643d1c1ed140a8ef3
* Bring CallMethod items hereStephen Bird2016-04-081-231/+0
| | | | Change-Id: Iec207cac5b513199e7a1707e4e6617f607d78771
* Bringup credits and other minor thingsStephen Bird2016-04-081-2/+15
| | | | Change-Id: Ib8bd8373a53adc7a370850091a04ada87beca098
* Call Method Spinner BringupStephen Bird2016-04-083-0/+278
| | | | | | | Call Method Spinner is part of the t9 layout so we need to keep it in PhoneCommon. Change-Id: Ia1bab96001b24018b3e21e3cb428514357adf06f
* Fix build as a result of incomplete cherry-pickRohit Yengisetty2015-11-162-15/+2
| | | | Change-Id: I90c3202a15ba6127964756ef1785c09196656bb7
* Refactor dialpad layout to support t9 search in multiple languagesemancebo2015-11-163-74/+65
| | | | | | | * Moves t9 labels to the side in portrait mode to make room for secondary labels * Adds resources for alternate language t9 labels Change-Id: Ie9b12afc6b1b74cc9dea48f10ab663e16b06501b
* AnimUtils : clear listeners when animation completes or is terminatedRohit Yengisetty2015-11-161-0/+8
| | | | | | | | | | | A few of the functions in AnimUtils set listeners on the ViewPropertyAnimator of the view they are animating. These listeners are never cleared after the animation is over or cancelled. They linger around and can be inadvertently triggered on another un-related animation. This change ensures that if a listener is set for a particular animation, it is cleared once the animation completes. Change-Id: If9cc269439880cc8ea277adb464114dcc4978e95
* Add AnimationCallback parameter to scaleIn() and scaleOut()George Hilliard2015-11-161-0/+39
| | | | Change-Id: I32c0454d0019c52b58f0653e7b483a756ade60ca
* add labels view in dialpad key for multi languagezhu youhua2015-10-061-0/+17
| | | | | | | - adjust the dialpad key's layout to display both multi language and default English character Change-Id: I8fae739854d6b533abe947a2a7ec293d0e83b389
* Fix SecurityException when trying to retrieve ringtone titleYorke Lee2015-07-171-9/+9
| | | | | | | | | Use RingtoneManager.getRingtone instead of accessing MediaProvider directly Bug: 22430897 Change-Id: Ib7ec053b5b92ed3d1b77ef63ab339c9b8c4da87f
* Add letters associated with a number to content description.Roshan Pius2015-06-181-1/+10
| | | | | | | | | Add a pause(,) alongwith the letters associated with each number in the dialpad. This would cause the letters to be announced after a pause when talkback is enabled. BUG: 20140277 Change-Id: Ib60f8c47d9bbb4a1b232d2d4a7ea894e468f14b9
* Move files from PhoneCommon to services/TelephonyNancy Chen2015-03-2620-2779/+0
| | | | | | | | Since PhoneCommon is a library used by GoogleContacts, etc. we don't want to clutter it with Telephony-specific code. Bug: 19236241 Change-Id: I063640cda141cbb9261d25e23c95f7016369eb9a
* Imap client implementation classes and helpers.Nancy Chen2015-03-2520-0/+2779
| | | | | | | | | | | | Direct interaction - ImapConnection, ImapFolder, ImapStore, MailTransport - ImapStore holds the credentials, ImapFolder handles folder-specific actions, ImapConnection sets up the connection to the server, MailTransport makes the connection and submits the requested actions. Bug 19236241 Change-Id: Id492353899ec04598735408e45ecf79b17154ea8
* am f300ae67: am 2b2bcb0f: am 895849b2: Return default notification uri if ↵Andrew Lee2015-01-261-2/+5
|\ | | | | | | | | | | | | none found. * commit 'f300ae67ec39a6ebaf09aad574c35f98d1a84d89': Return default notification uri if none found.
| * am 2b2bcb0f: am 895849b2: Return default notification uri if none found.Andrew Lee2015-01-261-2/+5
| |\ | | | | | | | | | | | | * commit '2b2bcb0f8b92e548a0fab79974ff54bf6229e0bb': Return default notification uri if none found.
| | * Return default notification uri if none found.Andrew Lee2015-01-231-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Before, if none was found, it assumed there was no notification sound, but that's a bad default behavior. Bug: 19125984 Change-Id: I7b6c536dc0a457c043f6bc97b882cbc3a10711ca
* | | Unbundle PhoneCommon 1/2Brian Attwell2015-01-051-17/+2
|/ / | | | | | | | | | | | | | | | | | | | | + Copy android.internal strings - Remove getVibrateWhenRingingSetting(), which depends on the hidden Settings.System.VIBRATE_WHEN_RINGING property name. The property's javadoc suggests it should only be used inside system apps, so I don't want to prematuraly unhide it. Bug: 18777272 Change-Id: Ie80adaee100f797259f894b2c413e153e85c3bbb
* | am fe9b6dbf: am 690b2c69: Enable text-to-speech in dialer edit field (1/2)Ihab Awad2014-12-101-0/+8
|\| | | | | | | | | * commit 'fe9b6dbfdc8322b387fdc4df23b5a6a87a02cf02': Enable text-to-speech in dialer edit field (1/2)
| * Enable text-to-speech in dialer edit field (1/2)Ihab Awad2014-12-091-0/+8
| | | | | | | | | | Bug: 18659148 Change-Id: I7c8eeda3e788579efad736b960951802081ff7fd
* | am 7315b395: am a9047c31: Merge "Use string SharedPreferences key for update ↵Andrew Lee2014-12-031-7/+3
|\| | | | | | | | | | | | | ringtone." into lmp-mr1-dev * commit '7315b3951aead082fd36ea5b6010038cf5d3a1ff': Use string SharedPreferences key for update ringtone.
| * Use string SharedPreferences key for update ringtone.Andrew Lee2014-11-241-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | Instead of using the preference, deal directly with the key. I changed the logic so that it will return null/silent as the ringtone uri if the key is null. Because, technically, one could call the function with a "type" expecting a valid return type, but not provide a key. Bug: 18232725 Change-Id: Ifb3d517ef8b0a5ddba388f2e0d471874f7b4b235
* | am a3488355: Merge "Get rid of manual translations for numbers."Narayan Kamath2014-11-271-7/+22
|\ \ | |/ |/| | | | | * commit 'a34883557d27662e7d6ed98035f90335d0c09cf5': Get rid of manual translations for numbers.
| * Get rid of manual translations for numbers.Narayan Kamath2014-11-271-7/+22
| | | | | | | | | | | | | | Use DecimalFormat instead. Also, carry over the old rule that these numbers are localized only for "FA". Change-Id: I0d743dc7387510ab1481dc2b365ea45911bcc141
* | Show ILD rate information if presentEvan Charlton2014-11-101-0/+18
|/ | | | | | | | | If Dialer populates ILD (international / long distance) rate information, populate a field above the dialed digits. Bug: 13334252 Change-Id: Ia366148ef1318a2dacc4971d51a3bd34ec3c39de
* Update animation utils.Andrew Lee2014-09-021-25/+31
| | | | | | | | - Set EASE_IN or EASE_OUT interpolators for scaleIn/scaleOut. - Rename some variables to include Ms to be more explicit. Bug: 16399233 Change-Id: If0043c51efdf1c243a622dbf765bf0a46ecf3931
* Add scaleIn/scaleOut animation utils. Add delay field to fadeIn.Andrew Lee2014-08-191-1/+72
| | | | | Bug: 16399233 Change-Id: I915c5b76875b9cc947822bc786cde49f375fde56
* Merge "Use correct API for getDrawable()" into lmp-devYorke Lee2014-08-181-1/+1
|\
| * Use correct API for getDrawable()Yorke Lee2014-08-181-1/+1
| | | | | | | | | | Bug: 17115451 Change-Id: Ib953c9dc3e55ea269f18dace3d781c3f5d206adb
* | Add a changeDimensions method which animates a width/height change.Andrew Lee2014-08-181-0/+30
|/ | | | | Bug: 16399233 Change-Id: I1b5f9b2e487fcb95c380b9eb94f7cbbbf2d98571
* Merge "Add SettingsUtil to PhoneCommon, move methods here from Telephony." ↵Andrew Lee2014-08-141-0/+119
|\ | | | | | | into lmp-dev
| * Add SettingsUtil to PhoneCommon, move methods here from Telephony.Andrew Lee2014-08-141-0/+119
| | | | | | | | | | | | | | | | | | | | + Move updateRingtoneName() to SettingsUtil, so that it can be used both by Telephony and Dialer. Changed it to pass in a couple parameters (eg. context) to make this possible.. + Move utility for getting the vibrate-when-ringing setting. Bug: 16788935 Change-Id: I0a836b4040fd88d930b5a8cc0051411b170ea9db
* | Correcting dialpad animations in landscape (1/3).Tyler Gunn2014-08-121-36/+152
|/ | | | | | | | 1. Fixed slide in/out animations for RTL locales. 2. Fixed key button reveal animations for landscale LTR and RTL locales. Bug: 16463723 Change-Id: Idaf59ef6e4f303757828f6051b389f1e757feca9
* Update Outline APIChris Craik2014-07-181-15/+9
| | | | Change-Id: Iab76b6e4f0a384e3b633d2c1050dbf353cc1bcd2
* Remove use of CallerInfo in CallLogAsync(1/2)Yorke Lee2014-06-301-123/+2
| | | | | | | | Remove unneeded AddCall related methods in CallLogAsync Bug: 6948882 Change-Id: Ia3f7688c99bb02cf2eca2f828eff26ca84ff8e79
* Merge "Remove use of private API: SystemVibrator"Yorke Lee2014-06-261-4/+1
|\
| * Remove use of private API: SystemVibratorYorke Lee2014-06-271-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The use of a new instance of SystemVibrator was introduced in the following CL: https://googleplex-android-review.git.corp.google.com/#/q/12c60e42,n,z to avoid the issue of a competing use of the Vibrator service cancelling out vibration during an emergency call. We don't care whether this happens to haptic feedback when tapping on the dialpad since 1) It is a really short vibration 2) We don't place a new outgoing call while haptic feedback is happening so it is unlikely to result in competing uses of the Vibrator service 3) Even if haptic feedback for a particular tap is cancelled, it doesn't matter Bug: 6948882 Change-Id: Iade15c7657230654acc343d632953a5ccabcfcad
* | Updating CallLogAsync because of change in addCall method in CallLogNancy Chen2014-06-251-1/+5
|/ | | | | | | | | The addCall method now has a Subscription parameter, so CallLogAsync must also be changed. Bug: 15473965 Change-Id: I05e4077dc542d1126b6de69179b0f0e1adec4743
* Add text resizing to InCallUI name field (2/2).Sai Cheemalapati2014-06-234-31/+125
| | | | | | | | | Set maximum size of primary name text to 45 pt. Scales down to minimum size of 34 pt. Bug: 15457502 Change-Id: I12dabf66cbefaa4ad458abdb910e8b0417f5b234
* Update Emergency Dialer to match Dialer (5/7).Sai Cheemalapati2014-06-207-0/+907
| | | | | | | | Emergency dialer style updated to match style in Dialer and InCallUI. Moved all dialpad resources to PhoneCommon. Change-Id: Ia3b937c12fc133a04c10ba842df9e89012ba331d
* Revert "Update Emergency Dialer to match Dialer (5/5)."Yorke Lee2014-06-207-907/+0
| | | | | | This reverts commit c4a7bd9be54759105c0a9ea235ac5bda2c1b3f8f. Change-Id: I9a81515783de2ab534a611c777f10b9376ca3b7a
* Update Emergency Dialer to match Dialer (5/5).Sai Cheemalapati2014-06-207-0/+907
| | | | | | | | Emergency dialer style updated to match style in Dialer and InCallUI. Moved all dialpad resources to PhoneCommon. Change-Id: I9137a6114dad628309659b5381d501d7db2f455f