e995929ee5ddb0e65c2eb48237b2960aece6aa63 |
|
25-Jun-2015 |
Andrew Lee <anwlee@google.com> |
Remove isVisibility check before scaleIn. Turns out, assumption that we'd never want to scaleIn a visible FAB is false. If the FAB is in the middle of a transition (eg. scaling out), it cancels that animation, and some states can conflict. It's possible to fix these in this statement, but... at this point, it just seems more conservative just to leave it the way it was working before and address the FAB case in Dialer differently. Bug: 21938194 Bug: 22070516 Change-Id: I5e5f88af71faed4ce603e21b00f526e829e6d3fc
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
8d1d387523ecae1accd6ac226ce2b2882ba843ea |
|
22-Jun-2015 |
Andrew Lee <anwlee@google.com> |
Safety; set scale to 1, even if FAB is visible. Bug: 21903907 Change-Id: I8e56c9d037c74049e1027d1d00edcee20e3e4d07
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
3a761227a73a3a712d2bd603293b293b572b2b40 |
|
17-Jun-2015 |
Andrew Lee <anwlee@google.com> |
Add overload for fab align() method. Bug: 21161760 Change-Id: I0c2b00be3f053d1797f00e20877f285746acdc8a
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
4baf1e7aa2760305fd6389706aced1ba3b7e488e |
|
16-Jun-2015 |
Andrew Lee <anwlee@google.com> |
Don't scaleIn FAB if already visible. Bug: 21161760 Change-Id: I18623cac2661ec66a7d166e9e38fafc996ca0d1c
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
ca1f29b8d3325e68a0eef3ead3dd5ecd3375095d |
|
11-May-2015 |
Brian Attwell <brianattwell@google.com> |
Use setAlpha(float), not deprecated setAlpha(int) Bug: 20923724 Change-Id: I9a6bd99bf3bef70359c1acc9398fa29917f40c74
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
469491d9a7bdb9b9a5a591f95f182ba75b4a5265 |
|
04-May-2015 |
Brian Attwell <brianattwell@google.com> |
Add resetIn method. Undoes affect of scaleOut Bug: 20706976 Change-Id: Ia41aaa13b4081e4cddb842dd0df9258827bd093f (cherry picked from commit 195c7486110287dbeab91bca5e1510e30df95060)
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
6ca916c3536b94cbe55a8667c276155c4bc8b914 |
|
05-May-2015 |
Andrew Lee <anwlee@google.com> |
Support changing FAB icon to add person. + Add function to change the icon on the FAB. Should likely eventually include an optional animate parameter. + Change FAB controller so that it recognizes the FAB button as an ImageButton. + Flip add person icons to white. Bug: 19366434 Change-Id: I5f6cf07ffce1d0eaa1aa0733f7411247cba1d6c0
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
91fd24a8e8a4d63276e56c65d06135b88cd2333d |
|
30-Aug-2014 |
Andrew Lee <anwlee@google.com> |
Some changes to FAB controller pertaining to animations. + Fade out icon on scale out, so it's resizing isn't noticeable. + Add delay parameter for scale in. - Remove manuallyTranslate function; no longer used. Bug: 16399233 Change-Id: Ie765e2510c94db57b13f0fc3f7467d29055efafb
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
900605ce8c2b08e2e670540bfbfb1cdbd35e27fd |
|
29-Aug-2014 |
Andrew Lee <anwlee@google.com> |
Only animate alignment of FAB if the FAB container is shown. The bug in Dialer where the FAB is showing up is because it's hidden, but then being aligned. The alignment causes the FAB to show again. Bug: 17316942 Change-Id: I180769d51b431b9191bb7d847acd41d4d7e71299
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
f00a07819597eb32d660033adc2bf50ae78b6172 |
|
19-Aug-2014 |
Andrew Lee <anwlee@google.com> |
Add scaleIn/scaleOut methods to the FAB controller. Bug: 16399233 Bug: 15862303 Change-Id: I3e7cd0d79bf4016c60d5551923fd8afbd9d8ea51
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
bcf8bd1acddd1d63028fcfd55cc93115577e7bf4 |
|
15-Aug-2014 |
Andrew Lee <anwlee@google.com> |
Add resize method to FAB controller. + Add method which resizes the container, but not the icon. - Remove a now-unused margin constant. Bug: 16399233 Change-Id: I8919228d45760174aaa6cb02614ce0f8c16f0931
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
8473075792dbd2d3617bfc39ae68b37136f8b93a |
|
25-Jul-2014 |
Yorke Lee <yorkelee@google.com> |
Remove private usage of isLayoutRtl Change-Id: I318cdd61cb82ea71e8b78056fd620843fd93d272
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
4d0ec405721176fcbf4c70bade5d34da68d523c3 |
|
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/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|
ae0f41464270a6cd9fd505daf8baad23e3234ec2 |
|
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: I4fec5c2edbc4605394bb8aef79cda65bb97f4d01
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/FloatingActionButtonController.java
|