History log of /packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
610a186b12f95c3b94789c4afa1e019f4e46684f 27-Sep-2014 Andrew Lee <anwlee@google.com> Fix FAB positioning for incoming calls.

We aren't setting the screen width in onResume, which means that
repositions would fail for incoming calls, or resumes. Now, set the
screen width when resuming the app.

I also cleaned up some of the method naming to be more precise; there
shouldn't be a change in behavior resulting from it.

The OnGlobalLayout listener wasn't triggering if the observer wasn't
alive, so address this by checking for a new observer.

Bug: 17673299
Change-Id: I1d454f4a5d1561bc73c12a6c74edbc075e1f1a18
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
fb59dfc480d7f4518e071019cd292ecee7f495b9 20-Sep-2014 Andrew Lee <anwlee@google.com> Update InCallUI for "generic" conference calls.

+ Use the newer "phone" asset (same as emergency calls).
+ Add xxxhdpi phone asset.
- Remove unused assets.
+ Tint the subscription icon properly in secondary call info.
+ Reorganize listeners in CallCardFragment to be less
redundant, and so FAB is properly positioned above the secondary
call info.

Bug: 17581379
Change-Id: Id4f1c1659ab8c17313cdd0393be51954b5cd449a
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
833b300b59ec8f77e998ccefcf34d4d004522be1 16-Sep-2014 Andrew Lee <anwlee@google.com> Merge "Update InCallUi to use telecomm DisconnectCause." into lmp-dev
017f23c5f9ee2585454b43ae15c14c98e48e8f17 13-Sep-2014 Andrew Lee <anwlee@google.com> Update InCallUi to use telecomm DisconnectCause.

- Remove conversion of messages for dialogs and failures. This is now
done by Telephony.
+ Replace telephony DisconnectCause with telecomm DisconnectCause.

Bug: 17329632
Id: I8677eb2cda008bd91f852c1de96174dfe42f735f

Change-Id: I9e170537845a67ff9b14a38f5f3425de82648ab5
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
a68979572758753dbb2c020a28ca2e45297a055a 16-Sep-2014 Evan Charlton <evanc@google.com> Merge "Send a broadcast on call state button touch" into lmp-dev
167e9a39a16ae1a701dfea86e973df821bf12091 15-Sep-2014 Sailesh Nepal <sail@google.com> Merge "Fix call state icon not showing for incoming calls" into lmp-dev
4824dea734f6c6e8585cffaa0cdb55ad0612295d 14-Sep-2014 Sailesh Nepal <sail@google.com> Fix call state icon not showing for incoming calls

The call state icon was not visible for incoming calls.
The problem was that the pulse animation was operating on the
icon's view alpha but we were changing the icon's image alpha.

Fix was to always operate on the view alpha.

Bug: 17491687
Change-Id: I1e277472cd906e49fd42ad362dbabb5c8bfcbd7a
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
6cddf46812634fadc194830774110780f14e9462 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- 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: Ie5ae18f51baa5da2eb9793785ad0c9d83b6343d1
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
f2b1401b9680fa4344cec18a01b11fc9e100ae17 12-Sep-2014 Evan Charlton <evanc@google.com> Send a broadcast on call state button touch

When the call state button is touched, send an OEM-provided Intent
so that OEMs can customize this behavior if they choose to.

Bug: 16988478
Change-Id: Icf5a53fd6a4ad1493cba707df4e8e2468bd7eb96
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
cc4f1449363207ec6a56dc8d413475aa972eba88 09-Sep-2014 Nancy Chen <nancychen@google.com> Make changes to Connection in Telecomm API (4/4)

* onPhoneAccountClicked removed
* onSetAudioState -> onAudioStateChanged
* onSetState -> onStateChanged

Bug: 17329632
Change-Id: Ib949b5565fea0ce7d241ed5af5619b3509c0218d
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
749b6360e7daa7d7476f1a46499c6bbf1e78901a 08-Sep-2014 Yorke Lee <yorkelee@google.com> Fix animation for call state label

Enable the CHANGING layout transition, when the shrink animator isn't
running.

Bug: 17411260
Change-Id: Iabc30657fc636ee44e3c9842cc2b8f53a0b504e7
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
52c30ebe11e132c5b00a15aabdf4a411355bf0f4 05-Sep-2014 Santos Cordon <santoscordon@google.com> Support CDMA conference calling.

Bug:17316859
Change from using GENERIC_CONFERENCE to a better MANAGE_CONFERENCE.

Change-Id: I0306aaa5cf4d35bf095d85db63b3d08395394645
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
9e4d8b1640eeedad3def56dc9303ea3f1d13bc67 30-Aug-2014 Andrew Lee <anwlee@google.com> No delay for InCallUi scaleIn.

Bug: 16399233
Change-Id: I30482322fd9216b7e1555436b4fa35afda6b9013
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
00f1764215e6bb44f2cde2f46f9e7d2a39e53893 29-Aug-2014 Andrew Lee <anwlee@google.com> Merge "Add conference call icon to secondary call info." into lmp-dev
0a0a01d28553ca2d18a26d9ccc77ebdfd1736a9f 28-Aug-2014 Andrew Lee <anwlee@google.com> Add conference call icon to secondary call info.

Bug: 17304107
Change-Id: Icdc1de17f00d9b373c619675566de9d455c10066
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
6edde7bc64b805d2d1d3a23e135d32c99e0aec4d 28-Aug-2014 Yorke Lee <yorkelee@google.com> Merge "Fix for blue screen of death" into lmp-dev
6dcb6dfafb35b989ff4ecd7aac32d5ca73d282a5 28-Aug-2014 Andrew Lee <anwlee@google.com> Merge "InCallUi image resource updates (mostly deletions)." into lmp-dev
cebde87b5928c481fdf0e8819b5cbd4bc36e5ca3 26-Aug-2014 Yorke Lee <yorkelee@google.com> Fix for blue screen of death

The AnimatorSet can get interrupted and stop running if the activity
is paused. Make sure to cancel it to reset the views to their correct
state in onResume

Bug: 17260258

Change-Id: I7067892fe85db5d137554614c3092e6bb7787abd
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
57f4fbaa494f9bc49f40c8119292d68dc7795e3d 27-Aug-2014 Andrew Lee <anwlee@google.com> InCallUi image resource updates (mostly deletions).

- Deleted a ton of assets which were no longer used.
+ Automirrored some assets so their rtl copies could be removed.

Bug: 15862303
Change-Id: I8aa832eead1768c82741fbe97268ea44ba0fc9ff
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
6dbbfd52ff0a25bcbe03da4ca3976b9a1e42ec46 25-Aug-2014 Andrew Lee <anwlee@google.com> Restyle conference call manager screen.

+ Swap out/in new assets for end/split icons in the manager screen,
and the splash screen in the InCall screen.
- Removed unused conference call manager code, including things like
chronometer and the "done" button.
+ Replaced custom action bar in conferece call manager with standard
action bar.
+ Added contact image (does not open quick contact) in the list of
calls in the conference call manager. This is done with a lookup
using the contact photo manager, and required adding the lookup key
to the ContactCacheEntry.
+ Handled a missing Call.State case in CallCardFragment for calls
with state CONFERENCED which caused crashes.
+ Misc style changes on conference call manager: colors, sizes,
paddings.
+ Adjusted elevations so dialpad covers manager/secondary buttons.
+ Added ripple to manager/secondary buttons.

Bug: 15862303
Change-Id: Iab9b6421d5a1ea69cd951a459d46c065f9456a8f
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
cb6f599ecb7c30e00ed8b07c5c10505322aae89c 23-Aug-2014 Andrew Lee <anwlee@google.com> Move "manage conference calls" button above photo.

- Remove it from the CallButtonFragment. This meant that related
logic was removed from CallButtonFragment/Presenter, and similar
logic was added to the CallCardFragment/Presenter.
- Delete old groups icons. (new ones added in ContactsCommon)
- Delete the extra_button_row logic.
+ Replace extra_button_row with a dedicated "manage conference
calls" button, and added to call card content layouts.
+ Style the new button to be similar to the secondary call info.

Bug: 15862303
Change-Id: I2b4e1a3a30422c7d5e9c01479f13291a785d85f3
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
054afe5e59b291d9ef15492df5e0478641cb17c8 21-Aug-2014 Nancy Chen <nancychen@google.com> Merge "Adjust SIM icon tint and fix InCallUI glitches for call state icon." into lmp-dev
42e65be3a7c1658acf6d000b3fc1a7bb75cac3ad 21-Aug-2014 Nancy Chen <nancychen@google.com> Adjust SIM icon tint and fix InCallUI glitches for call state icon.

Default SIM icon tint should be the same as the color of the call state
label. Fixed animation for call state icon.

Bug: 16685783
Change-Id: Ie170027e0a14096442fb78c8e6d8b469aa03b51d
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
b8249f3727e4d233215f4cfbecdd7ed175ce5231 18-Aug-2014 Andrew Lee <anwlee@google.com> Move hold "bar" to the bottom of the screen.

+ Adjust FAB positioning scenarios; scale in and out instead of
translating when showing/hiding.
+ Translate FAB depending on whether secondary call info is shown.

Bug: 16399233
Bug: 15862303
Change-Id: Ibbf89f717a38f2ed6d4d995544e290da4d4d7462
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
d33f525aa93abbd9919528679a641291f3599944 20-Aug-2014 Nancy Chen <nancychen@google.com> Merge "Ensure the InCallUI does not reanimate when it already is shown." into lmp-dev
026b7c4db27f13e31bc6d98e99df27679bbffb05 09-Aug-2014 Nancy Chen <nancychen@google.com> Ensure the InCallUI does not reanimate when it already is shown.

Closely restrict the cases where the InCallUI is initialized.

Bug: 16898291
Change-Id: I78be81f140b8de24fdd4a27cdf0aa01c6a230e3a
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
d5a1a07c3e389690df5ae9df0b98732cf674c630 19-Aug-2014 Yorke Lee <yorkelee@google.com> Merge "Fix for overlapping call state label" into lmp-dev
94b0c423ac3fbac2bc8af2bf51cb7b24331a6040 18-Aug-2014 Yorke Lee <yorkelee@google.com> Fix for overlapping call state label

Canceling the animation is not enough to force a redraw of the call state label.
Set the text to null instead.

Bug: 17073203
Change-Id: Ib731e18a0d2311c0cf9f41953fadfa4ec019310c
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
b13f2ebe92209585e79ccad217d8af3d11a06d96 18-Aug-2014 Andrew Lee <anwlee@google.com> Merge "Position/size adjustments to the floating action button." into lmp-dev
fc01172e93dfbab2a95118ea7545c31c42a438c3 15-Aug-2014 Andrew Lee <anwlee@google.com> Position/size adjustments to the floating action button.

+ Use new theme color for dialpad tints.
+ Translate FAB higher and make it 128% scaled in InCallUI.
+ Add methods so that dialpad is shown/hidden, FAB transitions
to/from its normal position and normal scale.
+ Translate button in/out when enabled/disabled.

Bug: 16399233
Change-Id: Ia8f56f494a89927c25657a75cfcca147c34c6c98
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
0f884d94a7fd19a7bee87acf45a983d4190337b1 15-Aug-2014 Yorke Lee <yorkelee@google.com> Fix NPE in InCallUI

If there is no call for some reason, just ignore the touch point.

Bug: 17065151
Change-Id: Ib208e08465cf8247d3fded6df323c66ccf7778d8
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
e8ff1b5549d15b7892740687ed204e6a723894b6 08-Aug-2014 Nancy Chen <nancychen@google.com> Reveal InCallUI starting from the user's touch point

InCallUI expanding circle should start where the UI made the call.

Bug: 16396523

Change-Id: I1c7775fcbe684a51376f5a1b744bdd06f26e7bbf
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
43f3e6e0760ea774e479935733d8a30b724457cd 08-Aug-2014 Ihab Awad <ihab@google.com> Final structural tweaks to Telecomm API (3/8)

Bug: 16416927
Bug: 16494880
Change-Id: If756941a5bdd25ff8ac633a56fe90c894d4a46a4
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
8c19738ab9bce11faaf9e3e0f8f3a1927f1dc2b6 12-Aug-2014 Tyler Gunn <tgunn@google.com> Merge "Improvements to InCall UI view inflation performance." into lmp-dev
cb28896062ba4b6bd25f720e2c278ef91d209d83 12-Aug-2014 Tyler Gunn <tgunn@google.com> Improvements to InCall UI view inflation performance.

1. Flattened the view hierarchy to remove a few layers of nested frames.
Removed call_card.xml since it was essentially just nested frames.
2. Deferring inflation of the dialpad until it is actually needed.

Bug: 16594582
Change-Id: I34a03dc3d95431bd0ba1d784a64ae3929f240d46
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
96aaf8b4ff9eebf1ad1c3fb8fbf20f2d877dfb82 12-Aug-2014 Sailesh Nepal <sail@google.com> Merge "Hookup StatusHints to call state label" into lmp-dev
16cadfad5458d6a1095fd23bcd6bf5120de43c98 10-Aug-2014 Sailesh Nepal <sail@google.com> Hookup StatusHints to call state label

This CL hooks up StatusHints to the call state label.
This is used by Hangouts to show WiFi calling and
handoff status.

This CL also fixes a bug where the callback number was
not displayed for non-emergency numbers.

Bug: 13333680
Change-Id: I012967a0ccbffe87f1a365e2e3537b2f1d832501
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
0d78ed0724c329eb44379ef281c2b1c6ba779614 12-Aug-2014 Nancy Chen <nancychen@google.com> Merge "Reduce latency for InCallUI by adding an intermediate state" into lmp-dev
f3d0654f2b6d77b7eef8bdcb4c39ee59e55017de 01-Aug-2014 Nancy Chen <nancychen@google.com> Reduce latency for InCallUI by adding an intermediate state

Add PENDING_OUTGOING as a state where the Telecomm information has not
yet returned but the UI has started. This allows the UI to immediately
begin initiating while Telecomm is waiting for the return of its
broadcast intent.

Bug: 16396523

Change-Id: Ia4b39689b89f9dea3aafae9e63ca0bfebb730501
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
2f1ce6d393d5896cf4a79aa35052ae338a998185 10-Aug-2014 Yorke Lee <yorkelee@google.com> Talkback should read call state when receiving incoming call

Bug: 16355803
Change-Id: I31b1065a2d7fb13a9e34244143fbe89d921937bd
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
aed98fccfc2af12f8c24f93242fecdab23758c8d 25-Jul-2014 Andrew Lee <anwlee@google.com> Status labels for video calls.

- Display the appropriate status labels for video calls, mostly
depending on whether one is in a video call, and whether one
has requested video and is waiting for a response, or a video
request has failed.
- Add a handler to the CallCardPresenter, so we can show an error
message in the fail case, but only show the message for a time.
- Add video icon in layout.
- Renamed CallVideoClientNotifier to reflect newer nomenclature.
- Add session modification state information on InCallUI call. This
helps us track state to know what strings to display on the card.

Bug: 16013340
Change-Id: Ib2bf84d93a05664adbf7fe838848b7d7b54a8254
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
15a8e3cb2c01b59b5328a74e6c46144843103205 29-Jul-2014 Tyler Gunn <tgunn@google.com> Various changes.

1. Add InCallCameraManager to track active camera and manage camera
capabilities.
2. Use new camera manager in CallButtonPresenter instead of directly
accessing camera.
3. Implemented new camera setup flow between incall and telephony.
4. Landscape video call support (actively rotating while video is running
crashes InCall at the moment, but you can start it in portrait or
landscape fine). Includes ensuring layout works properly with RTL
locales.
5. Added progress spinner to CallCardFragment, useful to show when an
upgrade to video is pending.

Bug: 16012946
Change-Id: Iff33422eec3a92d8cbeb217f5be2f1c9c5f3e98d
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
ee44afa111ef48acbfa22b9ecb381c5d2e05acce 23-Jul-2014 Yorke Lee <yorkelee@google.com> Merge "Make ViewPagerTabs and FABController RTL aware" into lmp-dev
9184aa66a23be4fe9a8ab476cc671c3f0d410ab9 22-Jul-2014 Yorke Lee <yorkelee@google.com> Make ViewPagerTabs and FABController RTL aware

* 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
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
4940f9ff450d1054ed4ad0e61179196007ad5531 18-Jul-2014 Evan Charlton <evanc@google.com> Show callback numbers when appropriate

When a callback number is set, make the decision about when (and how)
to show it to the user. The number is shown when it's different than
the user's known line 1 number. If the call is placed to an emergency
service, then make sure the user knows that.

Bug: 13333595
Change-Id: I0d3b2cfcea08aeba760c392c116303f21beb70d3
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
48bd176760c36474ba47aac1d629cdde3c666977 21-Jul-2014 Tyler Gunn <tgunn@google.com> Merge "Video call surfaces and changing to video UI on videoState change." into lmp-dev
e59cd0f067d5630742ffe4724f18720c94053194 20-Jul-2014 Tyler Gunn <tgunn@google.com> Video call surfaces and changing to video UI on videoState change.

Bug: 16012946
Change-Id: I1e86b172d46d3e67eff210d9f56e03a2e6c93853
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
d73f66fcfdad420b138565f38050af153edab6e8 19-Jul-2014 John Reck <jreck@google.com> Fix for API change

Change-Id: I81201bebc51d2203d7853c6e73f9a9d665c8c36e
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
3f4f33bc27ee1c9a12c9e55856b29079301c8a08 15-Jul-2014 Evan Charlton <evanc@google.com> Show message or call-back number in InCallUI

If the ConnectionService sets a call-back number or message, show
it in the in-call UI.

Bug: 13334257
Bug: 13334252

Change-Id: If7fde7c1ca6940cec8b7232469a22900c36dbb17
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
239a67cae9d56bc37b4e2a93c49036c885d77d55 09-Jul-2014 Nancy Chen <nancychen@google.com> Remove bluetooth icon from call state banner and change toolbar carrot

The call state banner icon will only be used for call provider/wifi
icons so the incoming bluetooth icon needs to be removed. Also the 45
degree carrot is being replaced by the downward carrot.

Bug: 15767934
Change-Id: I4ff01eba32fe65c05dcb099cb4fe8092ec2b64ef
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
6d0f6679a1afb1afa3053bd9511aea8f5945a5d7 03-Jul-2014 Sailesh Nepal <sail@google.com> Remove handoff UI

This CL removes handoff related UI and implements
phoneAccountClicked

Change-Id: Iab1595faaadcdfe428d97891d314babea21e9633
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
3d2abe4e8f5b45c501fee0dde147d74242aa5bb1 01-Jul-2014 Ihab Awad <ihab@google.com> Rename Telecomm "Subscription" to "Account" (4/7)

Change-Id: Ibefa8bedc4996014fc0a62b3deaa0aed0eec2b10
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
6d0ace011dfb4ccfbf87f5e48361767fa6825b75 19-Jun-2014 Nancy Chen <nancychen@google.com> InCallUI displaying Multi-SIM/Subscription/Wifi calling

Dynamic text and icon to represent information for the provider of the
call. This can be the name of the subscription, connection provider, or
wifi connection. This will show up at the banner above the name/number
of the call for incoming, outgoing, and active calls.

Change-Id: I065f12d41f5d62965d82c955aed9ee070628cadc
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
062dd164b103fb5333689cab06544a1338916248 19-Jun-2014 Sai Cheemalapati <saicheems@google.com> Update Emergency Dialer to match Dialer (4/7).

Emergency dialer style updated to match style in Dialer and
InCallUI.
Moved all dialpad resources to PhoneCommon.

Change-Id: I14a56573d8b3e69b2a4fe3675540e58bf4418df0
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
722a822053b1229cf1af92c4753cf03813d11f2b 20-Jun-2014 Yorke Lee <yorkelee@google.com> Revert "Update Emergency Dialer to match Dialer (4/5)."

This reverts commit 68600983bd397729ded98d701c080d617f39813d.

Change-Id: I2143fa849b02644624d09e75aafae7346ec20f36
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
68600983bd397729ded98d701c080d617f39813d 19-Jun-2014 Sai Cheemalapati <saicheems@google.com> Update Emergency Dialer to match Dialer (4/5).

Emergency dialer style updated to match style in Dialer and
InCallUI.
Moved all dialpad resources to PhoneCommon.

Change-Id: I2034949eeacd56c01b7babf921fb980a52fe9e93
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
81bcf2a2e1c197655cf4a3aaf7d9af8088cf102e 07-Jun-2014 Sai Cheemalapati <saicheems@google.com> Updating Dialpad animation in InCallUI.

Dialpad now saves orientation state.
Animation now matches duration and direction in Dialtacts.

Bug: 15386162

Change-Id: I6b8f23147c9be956d16c758a6a51a9fa3bb47ec6
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
23dc1825ccd186918b45e441b1618cd06acf4eb1 05-Jun-2014 Sai Cheemalapati <saicheems@google.com> Moving FAB logic to ContactsCommon.

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: I8ea4ef8acb49a83dabe5c18223ce5bac28260824
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
8a9f1fb878bd5d95e50ccac2646051274be863f9 06-Jun-2014 Andrew Lee <anwlee@google.com> am 00764eb9: Merge "Fix NPE because of null animation in CallCardFragment." into lmp-preview-dev

* commit '00764eb981c568d08083c7cfc1b72b7bdc4d4fd2':
Fix NPE because of null animation in CallCardFragment.
00764eb981c568d08083c7cfc1b72b7bdc4d4fd2 06-Jun-2014 Andrew Lee <anwlee@google.com> Merge "Fix NPE because of null animation in CallCardFragment." into lmp-preview-dev
a2694eb9f05b8fc1f954c35a0bfd1acd1e9376fa 06-Jun-2014 ztenghui <ztenghui@google.com> am 61c0d644: Merge "API Review: move createRevealAnimator to ViewAnimationUtils" into lmp-preview-dev

* commit '61c0d6446b8228fcd68a9d1795eed4eb0d977f08':
API Review: move createRevealAnimator to ViewAnimationUtils
61c0d6446b8228fcd68a9d1795eed4eb0d977f08 06-Jun-2014 ztenghui <ztenghui@google.com> Merge "API Review: move createRevealAnimator to ViewAnimationUtils" into lmp-preview-dev
89a32de08d7165dd5f62f017a0cec98ccf3eb145 05-Jun-2014 ztenghui <ztenghui@google.com> API Review: move createRevealAnimator to ViewAnimationUtils

b/15451650

Change-Id: Iff584304251262391ac8ebe9c884db28a5de6119
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
fdd299ad8da06dbab0ecf7c430ca8397b8a4fb5e 05-Jun-2014 Andrew Lee <anwlee@google.com> Fix NPE because of null animation in CallCardFragment.

Bug: 15448134
Change-Id: Iaf61864720b2398ca2cd883fd8058dd71f7b7334
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
9caa86ca92afe5242be9f71ec29904f2981199a9 05-Jun-2014 Andrew Lee <anwlee@google.com> am 382b39d1: Update InCallUi styles to redline.

* commit '382b39d1b21c878fdeda387571ad6d9e784c9a73':
Update InCallUi styles to redline.
382b39d1b21c878fdeda387571ad6d9e784c9a73 04-Jun-2014 Andrew Lee <anwlee@google.com> Update InCallUi styles to redline.

- Add pulse animation for the call status.
- Rename AnimationUtils to InCallAnimationUtils to avoid name conflict.
- Adjust sizes/positions of fields in the call card. Condensed a
RelativeLayout and LinearLayout in the primary call info into a
LinearLayout, which is all that's needed.
- Styled color of status bar.

Bug: 15389408
Change-Id: I46f26e2a1bfaebde82f68f054ed68fcbe3eff3bb
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
53f6e365762467f61e1407aeef5ff99b7029a933 29-May-2014 Yorke Lee <yorkelee@google.com> am a41dafb1: Tweak InCallUI animation times

* commit 'a41dafb18040a056ede2b49a00da436df407fb78':
Tweak InCallUI animation times
a41dafb18040a056ede2b49a00da436df407fb78 28-May-2014 Yorke Lee <yorkelee@google.com> Tweak InCallUI animation times

Bug: 14820894

Change-Id: Ib2d5278cb07d019c8d512db58fddd4f06cf53736
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
6de0a817129e2271a98813a0199d5cd10f41df71 28-May-2014 Andrew Lee <anwlee@google.com> am 8802442d: Merge "Show elapsed time in InCallUI." into lmp-preview-dev

* commit '8802442d48d265bfb5a6b91ae99877731fea0eeb':
Show elapsed time in InCallUI.
d9e9c76c4828a56c31ee2dcc3164f5c760395b47 27-May-2014 Andrew Lee <anwlee@google.com> Show elapsed time in InCallUI.

Before, this was getting owned at the end of animation, for some
reason (perhaps the visibility was being set improperly?). In any
case, the newer AnimUtils in contacts common handles this properly,
so here we delete the hide/show helpers in AnimationUtils which
are now no longer needed and use these more common utilities instead.

Bug: 15281475
Change-Id: I86558d51b14605fff70945c3a97df05ddc45f1ca
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
22c025e95f70ebce64ed60ef779c3c98ecae7480 23-May-2014 Evan Charlton <evanc@google.com> Fix indicator visibility

Show the indicator if it's a WiFi call, or Handoff-capable. This
will prevent the indicator from showing up on normal PSTN calls.

Change-Id: I1b893f6b6bb2276783d40a59f3521349a38070d8
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
2632f0a8586fb13bd2adcdb8ece048e98dfd254d 22-May-2014 Yorke Lee <yorkelee@google.com> Merge "Tweak InCallUI animation times"
a2186e0e92f130c7f6c77014042cde193fe42d18 22-May-2014 Yorke Lee <yorkelee@google.com> Tweak InCallUI animation times

Change-Id: Iffb8fd6613390f3b48c94372dd98062d1fcbada1
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
86b5ab56f1b25e79804fe7961a9ad20d6d349428 21-May-2014 Andrew Lee <anwlee@google.com> Adjust dimensions of InCallUI styling.

Also, toggle visibility of the number and label container depending
on if there is no number and label.

Change-Id: I22e132b0fd3c201dfe68098c3e284c119080bb16
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
8e303d6ad3f2a0e99b1d0674b9cf91565511f066 20-May-2014 Andrew Lee <anwlee@google.com> Update call waiting UI.

- Reposition secondary call info location.
- Simplify secondary call info; remove secondary photo.
- Tweak secondary photo colors and padding.

Bug: 14492083
Change-Id: I8ab37f9086b089480dec41ca0940d44d36a7b01e
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
a0e7a22d35cc80a9ff2832476f02ca1e64e8006a 19-May-2014 Yorke Lee <yorkelee@google.com> Reposition SIP call label

Bug: 14981389
Change-Id: I63b39643cee84634581b9122752d16b472f7d7e9
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
62c67fa648b7aa49f65bf645a01abc4272882eea 16-May-2014 Yorke Lee <yorkelee@google.com> Further improvements to InCall transition animation

* Remove unneeded parent layouts in call_card.xml
* Individual child views in the call card container now translate
upwards

Bug: 14820894

Change-Id: I04411b76f99b4d519d4ef30400f134e8b9191aa6
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
7742de746b7745d27be7a0f49e499cc677eea35e 16-May-2014 Yorke Lee <yorkelee@google.com> Simplify and optimize InCall animation

* Remove the scrim and directly animate the call card container

* ResizeAnimation is no longer needed, instead we animate the height
of the card by using an ObjectAnimator and prevent any layout changes
from happening during the duration of that animation

* Change together Animators to remove some boilerplate

* Remove now redundant outer FrameLayout in call_card.xml

Bug: 14820894
Change-Id: Ifc847a47e6e03deed902c81740272a08e09a318b
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
776d937b539b9e9b3672a1d860adec309f65d0ad 16-May-2014 Evan Charlton <evanc@google.com> Merge remote-tracking branch 'goog/master-nova' into merge

Conflicts:
res/layout/call_card.xml
res/values-da/strings.xml
res/values-hi/strings.xml
src/com/android/incallui/CallButtonPresenter.java
src/com/android/incallui/CallCardFragment.java
src/com/android/incallui/CallCardPresenter.java
src/com/android/incallui/DialpadFragment.java

Change-Id: I6b3a2b063a2efd76330d4833cd95be3132f01462
e306b703259683799ade122458f6b05a03949800 15-May-2014 Yorke Lee <yorkelee@google.com> First pass at Dialer to InCall transition

* Modify InCallActivity to perform an animation only on a new outgoing
call
* Add an animated scrim to call_card.xml that serves as the backdrop
of the full screen animated reveal
* Add resize animation
* Add circular reveal animation

Bug: 14820894

Change-Id: Iaa7e87e8a96dcd269e444a40eadac9d912625c01
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
391bafb1527260cb67ca50327e7443c5d86fed6d 14-May-2014 Evan Charlton <evanc@google.com> Fix the build

Fix the build by hacking around some errors, and scrubbing some old
ThirdPartyPhone imports.

Change-Id: I6d3c2919299c0a0b9714ffecd30da68e5c880b6a
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
453db1e41f556a680117fdc7718114b20c6c118d 14-May-2014 Evan Charlton <evanc@google.com> resolved conflicts for merge of 08235996 to master

Change-Id: I846f0b0801fa66a1b9117daf9014729695f54e4b
e4920eb21ecd4a142fcd9c713ca4520d39fb8032 14-May-2014 Evan Charlton <evanc@google.com> resolved conflicts for merge of 8abea101 to master

Change-Id: Id21435a4d92864c8395846a82a7d8d1643d0125a
7833bceed03e9c04bb57551ba79fedbff126e1ee 14-May-2014 Evan Charlton <evanc@google.com> resolved conflicts for merge of 500e399c to master

Change-Id: I7cc16e713bb142450c7689942097110bde404b54
9ce18a5806129e8dfe7eb29ae65f0790f25a0b12 14-May-2014 Evan Charlton <evanc@google.com> resolved conflicts for merge of 36b5e5f9 to master

Change-Id: I66befab929f19a53e3466f55f78c99f9afda047e
aa6fd9b1a4b88207b409044e36ecb0e1de805cf7 14-May-2014 Evan Charlton <evanc@google.com> resolved conflicts for merge of 0be676b7 to master

Change-Id: Ica8afe1eb165d69042b356fbf9833efb5c6dbb24
4b90ae859d37ae7030069bc14749de19031cd76d 09-May-2014 Evan Charlton <evanc@google.com> Merge "Re-add network indicator/handoff button" into master-nova
efe3a4567bb5fe75fd56b44d9f3c01e330c95bc5 09-May-2014 Evan Charlton <evanc@google.com> Re-add network indicator/handoff button

Add a handoff button (and network indicator) back into InCallUI. This
has not be vetted by UX or anything, but it will hopefully not cause
merge conflicts.

Change-Id: I6d0a8e7cd865df70b13fc69ec96cdc98e0e3f203
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
8971791fb0626d0e94643a79f12259fe4cac33ce 09-May-2014 Andrew Lee <anwlee@google.com> am a6b8624c: Merge "Move glowpad to call card fragment."

* commit 'a6b8624c4986bc48cdfb527f950e1e080133f51d':
Move glowpad to call card fragment.
95e7fa4ec0eb71eeb1bd38b419e6e6be9cea0191 09-May-2014 Andrew Lee <anwlee@google.com> am 99782844: Touch up InCallUI call card positioning.

* commit '99782844e859fe1390f718e64d525156c532747b':
Touch up InCallUI call card positioning.
a6b8624c4986bc48cdfb527f950e1e080133f51d 09-May-2014 Andrew Lee <anwlee@google.com> Merge "Move glowpad to call card fragment."
bf0a6b48bf775beafbb8b44b57d1c936339a630f 09-May-2014 Andrew Lee <anwlee@google.com> Move glowpad to call card fragment.

- Move the answer fragment into the call card so that it lays out
correctly over the contact photo.
- Update glowpad color so it is partially transparent.
- Instead of disabling end call button, hide it if it is not enabled.

Bug: 14658215
Change-Id: Ibaaf0b1b0d3afc4c9e3e8e9f5c322fccd0ffc321
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
99782844e859fe1390f718e64d525156c532747b 09-May-2014 Andrew Lee <anwlee@google.com> Touch up InCallUI call card positioning.

- Position the sizes, layout, and transitions of text better.
- Correct the sizing of the buttons.

Bug: 14622411, 14617751, 14618551
Change-Id: Idbc5f9b97447d6b40e4702ea70db2196dfdab979
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
a81f411886922b08320c7bbaaa398a4506added0 08-May-2014 Evan Charlton <evanc@google.com> resolved conflicts for merge of d4a1d2e5 to master-nova

Change-Id: I0b78644dfee1ee9d6cc8627bd480858361cfae43
3d167951524ad9b2b735cca8f259726084b20613 01-May-2014 Evan Charlton <evanc@google.com> Fix the build

Somewhere along the line, we dropped a resource (and a variable name
was changed). Fix these errors.

Change-Id: I06ce956961e8bf0e08f03d51651bf48262055703
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
eea5fcd0636955af8c4dbf687b23642ba4025037 01-May-2014 Andrew Lee <anwlee@google.com> resolved conflicts for merge of d733dba7 to master-nova

Change-Id: I5b90095c8eac169f059f40402b44e192d408a817
3536a530eafa8c49f33f890d3a39407dc059b4fc 29-Apr-2014 Andrew Lee <anwlee@google.com> Always show the call state text view.

Before this was flashing in and out because of the change in
visibility, which was causing some shifting and UI jank. Now
the call state label will always take up space in the layout.

Also, moved where the elapsed time view is so that it is
properly aligned to mesh with new changes.

Change-Id: Id8b395b18ebc1038310721d878622c6b0c15c295
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
3306c8648fab5dfca386ca8a3c2d7f2e3fb01239 25-Apr-2014 Evan Charlton <evanc@google.com> Fix the build

Update the call state and getUi() breakages from an earlier merge.

Change-Id: I5b5dbbc6fca1ccdebe04dd99ad65b524b9d63686
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
6820682a33ca0734e8363e980fc136b9ab228678 25-Apr-2014 Evan Charlton <evanc@google.com> resolved conflicts for merge of 121e8dc0 to master-nova

Change-Id: I8cfd2d26ddd4ea96e76758e4e3485a10fcaedd50
121e8dc03af910bbb8433ee46119bd623031b4d4 25-Apr-2014 Andrew Lee <anwlee@google.com> Make EndCallButton circular.

- Added FrameLayout around end call button.
- Reconfigured size and clipping of the end call button.
- Retyped some colors from drawables to colors.
- Removed unused styles and dimensions.

Bug: 13956531
Change-Id: I9a5bc5b0307521f4ef3d7a9ae61b586e4e32a76a
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
29d0f456df81bab9ad14c556fc81d790f8b6e518 24-Apr-2014 Andrew Lee <anwlee@google.com> Merge "Restyle text in primary call info."
a01b607e2a3d59c15209f44dbb1244b8fc67704c 24-Apr-2014 Andrew Lee <anwlee@google.com> Restyle text in primary call info.

- Update positioning, color, and sizing of primary call info text.
- In particular, moving the call state to above the "name".
- Delete the supplementary info container; it's no longer needed.
- Remove programmatic updating of gravity on call state; it is now
always left aligned.

Bug: 13956531
Change-Id: Ib165a2afd13444f70e3bfe0ae23ae6c6bb77bb84
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
3cd3509db5afd65c2ad3f5f7ac95f9dbdf5244b9 24-Apr-2014 Andrew Lee <anwlee@google.com> am 4c3e9e8e: Properly enable/disable end call button.

* commit '4c3e9e8e45ecafcb9aaf0da9901a5e9cebc59bc4':
Properly enable/disable end call button.
4e018fd61111ed2e3f9d69f83cc588ba772566cb 24-Apr-2014 Andrew Lee <anwlee@google.com> resolved conflicts for merge of 7b4cfe59 to master-nova

Change-Id: I42b453f23db08952cdbcb17b1bdb199d504e92ef
4c3e9e8e45ecafcb9aaf0da9901a5e9cebc59bc4 24-Apr-2014 Andrew Lee <anwlee@google.com> Properly enable/disable end call button.

Also, cleaning up erroneous 8-space indents to 4-space.

Bug: 14108639
Change-Id: Ic34fd9c645861533c584bfa33ab20793c509d78c
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
7b4cfe59218ff0876587933f5f22845881fdbe40 24-Apr-2014 Andrew Lee <anwlee@google.com> Relocate EndCallButton and CallButtonFragment.

This is an incremental checkin.

- Split out EndCallButton from CallButtonFragment into
CallCardFragment, and update the presenter to handle end call clicks.
- Move CallButtonFragment and EndCallButton into the container for
the primary call info.
- Rearranged the layouts of the call_card and primary_call_info to
accomodate the new locations of these buttons.
- Temporarily attached a linear layout around the InCallUI dialpad
so that it doesn't render full-screen. That is the immediate followup
work to this..

Bug: 14108639
Change-Id: Ie0e2afae109aed4bc7c75de67c70698c92962760
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
082359968b330e88b0d8b105ea52fcf5f855380e 23-Apr-2014 Yorke Lee <yorkelee@google.com> resolved conflicts for merge of faa97b36 to master-nova

Change-Id: Ief63a53f6873b25b4be810acb1c7ee4ffbe4b80f
d9fa8d2e167fc9e011d9a7fa43889cb84811a166 09-Apr-2014 Ihab Awad <ihab@google.com> Fix layout issues with Wi-Fi in-call status.

b/13890032

Change-Id: I6d34993acd2f608d808a786025ec9b07aff6dc09
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
1771e5a1295eac5ad0d59fe2ff750ab450eab90e 08-Apr-2014 Sailesh Nepal <sail@google.com> InCallUI: Handoff UI tweaks

This CL disables the handoff button when handoff is pending.
It also cleans up the handoff UI code.

Bug: 13565185, 13799169
Change-Id: Ie2831ba29d628fb5a0538defe918e3151eb5b824
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
8abea101a87b055e38f3ce492540d155f885f02e 02-Apr-2014 Sailesh Nepal <sail@google.com> Handoff: Hookup handoff button to InCallUI

Bug: 13643568
Change-Id: I94c28b10c0e0a253450f14d31ecdc416d5b44ca4
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
fc22ba88566ef70e202128335231c367de6c52af 01-Apr-2014 Sailesh Nepal <sail@google.com> InCallUI - Use custom object to track Calls

This is the first step in completely moving away from Telephony.

This CL creates a custom Call object. Currently this is just a
copy of the telephony Call object. I'll update various fields
in individual CLs.

This CL also deletes the old Telephony services.

Bug: 13643568
Change-Id: Id1860a5df9706f2a7fddd40e70f0d693af7b04bd
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
9d031ca4cf14d2330a9491b24d13ba16b2ae958c 29-Mar-2014 Colin Cross <ccross@android.com> resolved conflicts for merge of 063fa2d9 to master-nova

Change-Id: Iaa921a78fb59185404d24b6a4245ae2cb691ea5f
063fa2d92b1624680dfca88494afafb44f566b9f 28-Mar-2014 Colin Cross <ccross@android.com> manually merge 9b4962cb into master
a81667248196be225849f7739f64752dc578f6bb 27-Feb-2014 Anders Kristensen <andersk@google.com> Remove duplicate call disconnect codes.

The Android code base defines call disconnect codes in three places:
- android.telephony.DisconnectCause
- android.internal.telephony.Connection.DisconnectCause
- com.android.services.telephony.common.Call.DisconnectCause

This CL consolidates the code to use the integer codes from
android.telephony.DisconnectCause everywhere.

Change-Id: I84a3fd5182a51d07fc7d81076e4b2c15ff26c61c
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
500e399cca3685c2f39e52603ed33f97b7a9786f 19-Feb-2014 Sailesh Nepal <sail@google.com> Revert "Add handoff buttons"

This reverts commit 36b5e5f96678bafc325491d5294b2d97e0a0e499.
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
36b5e5f96678bafc325491d5294b2d97e0a0e499 18-Dec-2013 Sailesh Nepal <sail@google.com> Add handoff buttons

This CL adds two buttons to the in call UI:
- video handoff - switch to video mode
- connection handoff - switch between wifi and cell

Change-Id: I42a36d22dc0a37d1ed00f1a3ab1ebcb53c35864c
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
71ed171246a6bb7048b73430d1f6de7da897a433 15-Dec-2013 Sailesh Nepal <sail@google.com> DO NOT MERGE Tweak InCall UI for Wifi calls

This CL makes the following changes:
- changes the background color to better match mocks
- replace the bluetooth icon with a wifi icon (stolen from ag/392042)

Change-Id: I512b719eeea710dfe8bd1e840caca3a70781206c
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
7547df61d141e4cca3c73360e9633b917e5a9004 23-Nov-2013 Jay Shrauner <shrauner@google.com> am 40ce41bf: Remove Google Voice gateway number

* commit '40ce41bf43c1f84fd2f51339b79e9a32cf076349':
Remove Google Voice gateway number
40ce41bf43c1f84fd2f51339b79e9a32cf076349 21-Nov-2013 Jay Shrauner <shrauner@google.com> Remove Google Voice gateway number

Remove gateway number from call card when making a call.

Bug:11591481
Change-Id: Ib96cdd223c4e61c8a55536df2bd1ecf59a0339c4
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
0be676b7151d87f4d4d5244a859b14cb12621bf3 22-Nov-2013 Chiao Cheng <chiaocheng@google.com> Ui mock for wifi connected state.

Change-Id: I7a44bce4427ea955ee3e44a4ee63bfcc84057ca5
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
083c494c07681cdb826a1f2958d2143cf694de82 27-Sep-2013 Santos Cordon <santoscordon@google.com> Add deadzone to end call button.

inside perimeter previously had a deadzone around the inside perimeter
of the end call button to avoid unintentional hits.

This change reintroduces the SmallerHitTargetTouchListener in order
to add back the deadzone. Also added deadzone to the secondary call hit
target since that previously also implemented the deadzone.

SmallerHitTargetTouchListener.java copied from existing apps/Phone code.

bug:10884607
Change-Id: I7445b6a2e364878aabf6fcb2f7a3e4b1dee87578
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
442721af112b39d5f85cc3c1ecd341855a300555 21-Sep-2013 Yorke Lee <yorkelee@google.com> Read back contact information in in-call screen

This changes talkback behavior so that it behaves the same way
as in 4.3, other than reading the unnecessary description of the
contact's photo

Bug: 10844641

Change-Id: I2a2829d1a9650bf18d3b1d98d6ddc860fe9f8d27
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
672b16d0620d033e10fab30ccd70f5dd23e823b7 19-Sep-2013 Santos Cordon <santoscordon@google.com> Add "retrying" text for CDMA redial calls.

listening for new REDIALING state.

bug:10824223
Change-Id: I2b6f2f74713197902c93deca203f4f136732f7a2
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
eaf5e4bc87797eeb5098982803af33e4a66d13d8 19-Sep-2013 Christine Chen <christinech@google.com> Fixes CallCardFragment lifecycle issue.

Bug: 10840705
Change-Id: Ibefe57b7e79546a777f20e43b52793d7ff41a4e1
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
ecabb6923e6587e0f0ca98cc895be7d99e694015 19-Sep-2013 Christine Chen <christinech@google.com> Adds DISCONNECTING state support.

When user ends a call locally, we first set the call state to
DISCONNECTING and show "Hanging up" as the status. We then show the
"Call ended" status when the telephony layer comes back with the
DISCONNECTED state for the call.

Bug: 10808537
Change-Id: Iad5eda6ee34e2f04a861977ac1a2453a52081d27
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
625ac576cb403744ef0baeba8e8993da963461ee 16-Sep-2013 Santos Cordon <santoscordon@google.com> Outgoing/Conference UI changes for Cdma support

Changes:
- rename Cdma* to Generic* in code
- Stop showing "manage conference" for generic_conference cases
- Show simple "merge" button for generic_conference cases
- Add generic icon/name label for generic conference calls
- Do not submit a contact info request for any conference call
sincle they always display generic information (this also fixed
some jank of the image flipping back and forth between generic
and normal conference call).o

bug:10769004
Change-Id: I379895612614483f7f3ea6fef493796ea855743b
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
c59f3c672a0494cfba564ff117eafc1ab5e17641 16-Sep-2013 Yorke Lee <yorkelee@google.com> Add internet call type label

Bug: 10764487

Change-Id: I87e48063b14629c19a58b9ddb2acb736af6f37e0
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
14dbc3f0ca3a7998c9c5d28aba637487724f529f 14-Sep-2013 Santos Cordon <santoscordon@google.com> Fix UI lag when calling a contact with a photo.

Related fixes unrelated to latency problem:
a. Update StatusBarNotifier with new changes to CallerInfoCache.
b. Outgoing JANK fix in notifier needed to know if the activity
was previously started, not just if it was finished. (b/10734874)
c. Consolidate places where we use the Intent.

Several improvements to speed up startUp time from most egregious to
least:
1. In InCallPresenter, statusBarNotifier wasn't unlistening to
incoming call changes which kept orphaned instances still listening and
calling into contactInfoCache. ContactInfoCache was subsequently calling
into many notifiers which did heavy image parcelling work.
- Clear incomingCallListeners on tear down.
2. StatusBarNotifier was getting called directly from InCallPresenter &
onIncomingCall() callbacks. onIncomingCall callback was unnecessary and
caused extra work.
- Fix is to stop listening to incoming calls. Status bar notifier gets
called directly by InCallPresenter in startAndFinish() so listening
to incoming was redundant.
3. Make ContactInfoCache listeners list a Set to avoid duplicate
entries and reduce callback execution.

bug:10712670
bug:10734874

Change-Id: Ic8d50b1d9ce336ffe3a5191abe1c9db32365eee6
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
101bed44998ff35c3a56f431345fac5c8229ec0e 11-Sep-2013 Jay Shrauner <shrauner@google.com> Fix flow of local/remote lookups

Redo logic for looking up numbers. Push all logic into ContactInfoCache
findInfo routine.

Bug:10634005
Change-Id: I87bd987780ba744222d3adc82cf359e3c20f121f
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
a8ab8121c980779526e1fe7ee825c25c948a34a3 13-Sep-2013 Christine Chen <christinech@google.com> Merge "Addes xxhdpi assets for InCallUi" into klp-dev
5c1830662d8daca84aae65c2eddf88c19c7772f1 12-Sep-2013 Makoto Onuki <omakoto@google.com> Show "Calling via google voice" only in the DIALING state.

Also fix the call state label color.

Bug 10696646

Change-Id: I83c2dd5b3db77ebf72410d1a573cd517e5e1eb6e
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
cff70d5848ce3dcd13e41e5b156602ff2a3ff785 11-Sep-2013 Christine Chen <christinech@google.com> Addes xxhdpi assets for InCallUi

- Changes how End Call button looks.

Bug: 10491107
Change-Id: I02271ba346a8879b4642f4a642513211d2a328fc
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
0f09a02be361d5bb36fac6981649204f5d6987fa 05-Sep-2013 Christine Chen <christinech@google.com> Adds manage conference call UI

Bug: 10334739
Change-Id: I46a52ec967a1c496dd4b797f2064d9099670711f
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
4be1bdd9ee8e9d3afa1aaa765e86b963fb6c7b3d 04-Sep-2013 Yorke Lee <yorkelee@google.com> Fix secondary call card in rtl

Bug: 10541171
Change-Id: Ia63b6c5f1ce12ffe0a253d10a92470bbd1e7539e
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
af2589a6aa68d9906fe46b31ffaf214010632c02 04-Sep-2013 Chiao Cheng <chiaocheng@google.com> Fix incall image for local contacts.

The contact info callback was being called back at a minimum of two times. Once
for the name and text data and a second time for the photo. The results of the
first call triggers reverse lookups and was causing it to trigger twice. To fix
it for both cases, break out the callback into two separate calls to the client
can properly handle the cases differently.

Bug: 10607629
Change-Id: I2e0754d2d7c46bc2797a1a672827bd2f8d56e5d8
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
aacc909ce248a08f84e90c4c84cef10f60154455 30-Aug-2013 Chiao Cheng <chiaocheng@google.com> Automating calls to onUiUnready() in parent fragment.

The code was duplicated un-necessarily in each child fragment.

Change-Id: I619b723c9afc690ff9011fc43367fe5752094fb6
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
9240895e9df2fcae8f0baea707eb4d24c6e50997 30-Aug-2013 Yorke Lee <yorkelee@google.com> Allow swapping calls by clicking on secondary call card

Bug: 9679473
Change-Id: I9e25a247c59530d257ece27e62c88329eb5f4f61
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
7791690df4406bd51e3d3b0c256a4d6664951141 28-Aug-2013 Chiao Cheng <chiaocheng@google.com> Merge "Major fixes for in call to work with reverse number lookup." into klp-dev
8b6c8d0dbfba6eabe3d835f8cdcec8a13e253d0c 23-Aug-2013 Chiao Cheng <chiaocheng@google.com> Major fixes for in call to work with reverse number lookup.

- Separated caller info data into CallIdentification and switch callbacks to use
it where call state is un-necessary.
- Changed mCallList.update() method to be onIncoming().
- Catch all exceptions from service methods so errors do not vanish.
- Fixed bind failure cases which led to DeadObjectException.
- Changed local contact lookup to only occur for incoming calls.
- Fixed CallCardPresenter to start contact search upon isntantiation instead of
waiting for next call update.
- Convert ContactInfoCache to singleton to avoid race condition where it's not
initialized.
- Handle cases where primary call may be null when we find a contact.
- Fixed race conditions in CallButtonPresenter where audio mode is being set
before ui is ready.
- Fixed race condition in AnswerPresenter where state change was being called
before ui is ready.
- Changes to CallCardPresenter to support lookup for conference calls.

Bug: 10413515
Bug: 10390984

Change-Id: I9fc4f2f35e8f5aad33c301b3c5c93132634cb63c
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
ea83891eb10811d5020cc5fdaf34b711012dab32 28-Aug-2013 Santos Cordon <santoscordon@google.com> Adding different timeouts for CALL_ENDED screen.

Different call disconnections require different timeouts for the call
end screen. This change adds them as they existed before the split.

0ms for incoming rejected/missed calls
200ms for locally ended calls (user hits disconnect)
2000ms for normally ended calls (terminated by other end)
5000ms for everything else (errors, etc).

bug: 10414373
Change-Id: Ie9624bd3af5f6d4f58010360701c31efafcf1fb2
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
6217732b89946e69451506474d89387167eb2210 23-Aug-2013 Santos Cordon <santoscordon@google.com> Merge "Show gateway UI when dialing via a gateway" into klp-dev
3d9e39bef65a67b9b04a2584b12f8b655fcc2e7c 23-Aug-2013 Santos Cordon <santoscordon@google.com> Show gateway UI when dialing via a gateway

Gateway information is not available in the Call object. Inside
CallCardPresenter, we use this to show the user dialing information when
dialing out through a gateway. This includes a "Calling via..." notice
above the call state label and the gateway number.

bug: 10393622
Change-Id: Iff1247cd592b0730bb7cfc6d16bd8f60b47f3737
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
2f21162c5eb1dbb11f892601574d4de7170b4960 21-Aug-2013 Chiao Cheng <chiaocheng@google.com> Removing explicit dependency on http calls.

Bug: 10413514
Change-Id: Id4db77f4417827ce4ecc140ea09f3228154f50de
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
1a7f2bcab2d2023f2ee4cfb0bc57bc265b5aab87 21-Aug-2013 Chiao Cheng <chiaocheng@google.com> Protect all logging statements.

- Rename global logger so it can be a drop in replacement for framework log
class.
- Remove imports of android.util.Log

Bug: 10411948
Change-Id: I377625263b16c4f9408c79d5c533a1810fa6cde7
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
1fa0782281ef7774ddcdfdf8efb7d8f65cf589e7 17-Aug-2013 Chiao Cheng <chiaocheng@google.com> Adding interfaces for phone number service.

- Fetch image url if present.

Bug: 10359919
Change-Id: Idf2ff5405255f1e90a383902762585ae68249dbe
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
1df52df7a0248814fbd4575103059a8b427f5d9a 15-Aug-2013 Santos Cordon <santoscordon@google.com> Add logic support for manage conference screen. (Part 2 of 4)

Changes:
- Add conference call resource photo
- Move logic to determine the name/numbers to show in the Call card
from CallCardFragment to CallCardPresenter.
- CallCardPresenter now tells CallCardFragment if the primary call is
a conference call.
- Updated the primary/secondary call order do that Active Calls are
primary instead of Disconnected calls when both exist.
- Cleaned up some excessive logging.
- The CallCard code uses a whitelist to know which callcard to show.
The change in services/Telephony to add CONFERENCED state is what
causes the new child calls to now show since that is not added to
the whitelist in this CL (by design).

bug: 10334739
Change-Id: Iaeab3f8bc9bda7693fa4a27bb8d3fe5de4dc9dfc
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
88dbc6b3dbf35b322fe09c1a289c7e884e8fba22 14-Aug-2013 Santos Cordon <santoscordon@google.com> Adding duration time to calls

Adding chromometer support in the notification.
More manual update process for in-call UI (Call card).

Change-Id: I9a1598969d92296dc38b7485bd9fb872ad501e7b
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
0e27ca6253114be60b85f912a1af62dbf35c1b9e 13-Aug-2013 Santos Cordon <santoscordon@google.com> Use shared contact info cache to get data for the notification.

Move around where ContactInfoCache is created so that StatusBarNotifier
and CallCardPresenter will use the same shared instance.

Change-Id: I6e0a7c48aa7a35a0f1a52b399eb127d69f41a879
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
4bbe4c6900dfe3584f674161dbe15e248d5adbe7 13-Aug-2013 Santos Cordon <santoscordon@google.com> Add Simplifying layer between Contact Info search and CallCardProvider.

I will be getting contact info on notifications for the next CL so this
creates a simpler layer for interacting with the contact data async
requester.

CHANGES:
- Moved the code which does the requesting from CallCardPresenter to
ContactInfoCache.
- ContactInfo Cache defines new listening interface and new simpler
object for transmitting the return data: ContactInfoEntry.
- Updated CallCardPresenter to use the new simpler interface.
- Updated some logging entries.
- Simplified Ui interface inside for CallCardPresenter.

Change-Id: Ic802c4e53cdf17fcd37c70deb6da61a78b9d8993
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
9de3d7c5188c02cabf03799f87d494ee7dc702cb 09-Aug-2013 Santos Cordon <santoscordon@google.com> Singletons are hard, lets go chopping...them out of the code.

After this change, there remains only one singleton (InCallPresenter).
The whole system needs to be reworked in a better manner in terms of
build up and tear down.

Change-Id: I393ec648526bc28a3ae709004aed6d4627670549
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
b70af18a174fa334d15b28a2cdaa617f9ba2a4b7 08-Aug-2013 Santos Cordon <santoscordon@google.com> Add support for more call state labels.

Add remaining call-state UI for the callstate label.
Include some bluetooth logic to show an icon for incoming calls.

Change-Id: Iecd9b06fb58baf38f665e70e34014c8026d80f68
(cherry picked from commit 946291cb1bb0ec3b4b7f2939fd93dff15627403d)
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
a12f2589f424e26c63c8ee5b6fad89e30b69d7fb 07-Aug-2013 Santos Cordon <santoscordon@google.com> Add UI to show when the Call disconnects.

When the call disconnects, we need to show UI for a short time before
existing the UI.

Change-Id: Iee648b8c54ee4b5ea09cfaec508e1bf8fb8f1643
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
dab149c9b2185be82cbca63cc3980e41444900c0 07-Aug-2013 Santos Cordon <santoscordon@google.com> Audio Routing support in UI

Changes:
- AudioModeProvider - receives audio mode changes from
CallHandlerService
- CallButtonPresenter listens to AudioModeProvider so that it can use
those changes in the UI.
- CallButtonFragment uses the audio mode from Presenter() to display:
- The correct layers for the supported modes
- The popup menu when bluetooth is enabled

Change-Id: I8ec4024f7bbb5e3b1cfdaae20a4dd2f85ae802cf
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
988d06b64b99a13f4f060dc82594edcb738d9113 08-Aug-2013 Yorke Lee <yorkelee@google.com> Add image to caller info

* Add various image setting method sto CallCardFragment
* Added AnimationUtils and ContactsAsyncHelper, copied unchanged from Phone

Change-Id: I6175ccc2433a5d0ad8a9bffac678a263ee65622c
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
7ef707319c0e3563ff92a772ba53cb5dca0e3ae1 07-Aug-2013 Yorke Lee <yorkelee@google.com> Display primary call info in call card

* CallerInfo, CallerInfoAsyncQuery are copied verbatim from existing
Phone code.
* Added logging methods to Logger to support logging via TAG in static methods
* Only primary caller information (name, phone number and label) are displayed
for now. Secondary caller information and photos are not displayed.

Change-Id: Id4cfdef78f10f7b32255f4892cd51161f37c8be5
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
5b9034b5b1b48a4339dd2f893a851cc64d6279df 03-Aug-2013 Christine Chen <christinech@google.com> Dialpad Ui elements for InCallUi

Change-Id: I7b230cc46993493459923c436a643910026cf6a6
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
150a5c58c67f230c8fd7293b180bbf50aa761480 01-Aug-2013 Santos Cordon <santoscordon@google.com> Adding multi-call support.

Before this change, the UI came up when we were notified that a new call
came in, but we did not actually look at the call state, etc. This
seemingly worked while we only supported single calls but did not scale.

This change does two main things:
a) Plugs in CallList into the presenters so that they can perform their
logic based on the actual state of the calls (necessary for multi-call
support)
b) Adds Secondary CallInfo UI to the Call Card so that we can display
information foreground and background calls.

As a result of (a) from above, a lot of changes you see will be to
Presenters, which now take their cues from CallList and update their
Ui's accordingly. A problem with this approach is that the presenters
(callcard/buttons/answer-widget) perform their changes independently.
A subsequent change will consolidate interactions with CallList to a
Presenter-Manager class and away from the presenters.

Change-Id: I89d1926fa1eef6f10d897d2ce360f666c8f341f8
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
a012c22dfbfedffe2e751f9b1ab776baa325a26f 31-Jul-2013 Santos Cordon <santoscordon@google.com> Adding simple number data to callcard

This CL allows the number to be displayed in the CallCard.

Previous interaction:
CallHandlerService->CallList CallCardFragment (isolated, no data)

New interaction:
CallHandlerService->MainHandler->CallList->CallCardPresenter->CallCardFragment

1) CallHandlerService.MainHandler: executes remote method calls on the
main thread.
2) CallList: Added support for listeners.
3) CallCardPresenter: Presenter layer for fragment. Listens to CallList
4) CallCardFragment: Gets real data from presenter, displays phone #.

Change-Id: I6de3a9da15b69d44826c3226701eed6a1b86239c
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java
e331d604d5ab345b06976c0ff7a930930f6b9e41 20-Jul-2013 Chiao Cheng <chiaocheng@google.com> Adding call card and buttons to UI.

- Created a fragment for call card and a fragment for UI.
- Adding corresponding button images.

Change-Id: I5facacd3a4346ab9d9ec2a67a2742dc27dbf5583
/packages/apps/InCallUI/src/com/android/incallui/CallCardFragment.java