summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/widget/FloatingActionButtonController.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove "contacts/common" from the dependency list of package "dialer/widget".linyuh2018-03-211-1/+0
| | | | | | | Bug: 74421656 Test: Existing tests PiperOrigin-RevId: 189935875 Change-Id: I834e15b7ff102ea021d7a99ebe568998a9c43603
* Remove field prefixes.linyuh2017-12-271-35/+34
| | | | | | Test: Existing tests PiperOrigin-RevId: 180230450 Change-Id: I0b2589cfeeaef81e42a04efa48af24b4e4d0e95f
* Dialpad icon now remains white through device rotation.calderwoodra2017-11-201-1/+5
| | | | | | | Bug: 69463065 Test: manual PiperOrigin-RevId: 176399153 Change-Id: I699688ab47c1ba497a0b6bb3301380a8e06f2ee2
* Dialpad FAB no longer loses it's icon on fragment resume.calderwoodra2017-11-181-4/+8
| | | | | | | | | | | | There must be a bug in FloatingActionButton because when you call setImageDrawable multiple times (possibly with the same drawable/icon), the FAB renders with no icon present. That's why the icon would disappear in Fragment#onResume. Bug: 69006360 Test: manual PiperOrigin-RevId: 175878924 Change-Id: I1c36be3f9aeb003410f0bdbb9d52b5a483262f03
* Improved FAB UX.calderwoodra2017-10-101-0/+190
One of the biggest issues with the FAB is that it doesn't scale in/out properly. It looked more like setVisibility was being called instead. This CL migrates the FAB controller to use the built in scale in/out methods #show and #hide and the animation is much nicer. Some of the other issues were: - Now scaling animation is correct and visible. - No longer flashes when going in/out of search. - No longer shows on top of the return to call controller. - No longer bugs when switching between VVM TOS and contacts. - No longer shows FAB over VVM TOS when entering/exiting search Bug: 62588192,35359563,64116334,27458212,37991480,67419607 Test: manual PiperOrigin-RevId: 171608105 Change-Id: I9b3f61df35abf3659a432adf411b1b7d20eba683