Home
last modified time | relevance | path

Searched refs:FabContainer (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.kt43 import com.android.deskclock.FabContainer.UpdateFabFlag
64 class DeskClock : BaseActivity(), FabContainer, AlarmLabelDialogHandler {
373 when (updateType and FabContainer.FAB_ANIMATION_MASK) { in updateFab()
374 FabContainer.FAB_SHRINK_AND_EXPAND -> mUpdateFabOnlyAnimation.start() in updateFab()
375 FabContainer.FAB_IMMEDIATE -> f.onUpdateFab(mFab) in updateFab()
376 FabContainer.FAB_MORPH -> f.onMorphFab(mFab) in updateFab()
378 when (updateType and FabContainer.FAB_REQUEST_FOCUS_MASK) { in updateFab()
379 FabContainer.FAB_REQUEST_FOCUS -> mFab.requestFocus() in updateFab()
381 when (updateType and FabContainer.BUTTONS_ANIMATION_MASK) { in updateFab()
382 FabContainer.BUTTONS_IMMEDIATE -> f.onUpdateFabButtons(mLeftButton, mRightButton) in updateFab()
[all …]
DDeskClockFragment.kt25 import com.android.deskclock.FabContainer.UpdateFabFlag
31 ) : Fragment(), FabContainer, FabController {
34 private var mFabContainer: FabContainer? = null
41 updateFab(FabContainer.FAB_AND_BUTTONS_IMMEDIATE) in onResume()
72 fun setFabContainer(fabContainer: FabContainer?) { in setFabContainer()
DFabContainer.kt26 interface FabContainer { interface
/packages/apps/DeskClock/tests/src/com/android/deskclock/widget/
DMockFabContainer.java25 import com.android.deskclock.FabContainer;
33 public final class MockFabContainer implements FabContainer {
47 updateFab(FabContainer.FAB_AND_BUTTONS_IMMEDIATE); in MockFabContainer()
71 if ((updateType & FabContainer.FAB_ANIMATION_MASK) != 0) { in updateFab()
74 if ((updateType & FabContainer.FAB_REQUEST_FOCUS_MASK) != 0) { in updateFab()
77 if ((updateType & FabContainer.BUTTONS_ANIMATION_MASK) != 0) { in updateFab()
80 if ((updateType & FabContainer.BUTTONS_DISABLE_MASK) != 0) { in updateFab()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt48 import com.android.deskclock.FabContainer
136 showTimersView(FabContainer.FAB_AND_BUTTONS_IMMEDIATE) in onStart()
140 showCreateTimerView(FabContainer.FAB_AND_BUTTONS_IMMEDIATE) in onStart()
148 showTimersView(FabContainer.FAB_AND_BUTTONS_IMMEDIATE) in onStart()
490 updateFab(FabContainer.BUTTONS_DISABLE) in animateToView()
525 updateFab(FabContainer.FAB_AND_BUTTONS_SHRINK) in animateToView()
531 showTimersView(FabContainer.FAB_AND_BUTTONS_EXPAND) in animateToView()
536 showCreateTimerView(FabContainer.FAB_AND_BUTTONS_EXPAND) in animateToView()
545 updateFab(FabContainer.FAB_AND_BUTTONS_IMMEDIATE) in animateToView()
622 updateFab(FabContainer.FAB_AND_BUTTONS_IMMEDIATE) in onPageSelected()
[all …]
DTimerSetupView.kt36 import com.android.deskclock.FabContainer
59 private lateinit var mFabContainer: FabContainer
125 fun setFabContainer(fabContainer: FabContainer) { in setFabContainer()
140 mFabContainer.updateFab(FabContainer.FAB_REQUEST_FOCUS) in onKeyDown()
204 mFabContainer.updateFab(FabContainer.FAB_SHRINK_AND_EXPAND) in updateFab()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt52 import com.android.deskclock.FabContainer in <lambda>()
53 import com.android.deskclock.FabContainer.UpdateFabFlag in <lambda>()
189 updateUI(FabContainer.FAB_AND_BUTTONS_IMMEDIATE) in <lambda>()
329 updateFab(FabContainer.FAB_MORPH) in <lambda>()
338 updateFab(FabContainer.BUTTONS_DISABLE) in <lambda>()
362 updateFab(FabContainer.BUTTONS_IMMEDIATE) in <lambda>()
376 updateFab(FabContainer.BUTTONS_IMMEDIATE) in <lambda>()
564 updateUI(FabContainer.BUTTONS_IMMEDIATE) in <lambda>()
569 updateUI(FabContainer.FAB_MORPH or FabContainer.BUTTONS_IMMEDIATE) in <lambda>()