Home
last modified time | relevance | path

Searched refs:fab (Results 1 – 22 of 22) sorted by relevance

/aosp12/packages/apps/Dialer/java/com/android/dialer/widget/
H A DFloatingActionButtonController.java41 private final FloatingActionButton fab; field in FloatingActionButtonController
55 this.fab = fab; in FloatingActionButtonController()
70 return fab.isShown(); in isVisible()
89 fab.setImageResource(iconId); in changeIcon()
90 fab.setImageTintList( in changeIcon()
136 if (animate && fab.isShown()) { in align()
137 fab.animate() in align()
145 fab.setTranslationY(offsetY); in align()
151 fab.show(); in scaleIn()
156 fab.hide(); in scaleOut()
[all …]
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerFragment.kt220 fab.visibility = View.VISIBLE
228 fab.contentDescription = fab.resources.getString(R.string.timer_stop)
236 fab.contentDescription = fab.resources.getString(R.string.timer_start)
244 fab.contentDescription = fab.resources.getString(R.string.timer_start)
248 fab.contentDescription = fab.resources.getString(R.string.timer_stop)
254 fab.contentDescription = fab.resources.getString(R.string.timer_start)
255 fab.visibility = View.VISIBLE
257 fab.contentDescription = null
264 updateFab(fab, false)
269 updateFab(fab, Utils.isNOrLater)
[all …]
H A DExpiredTimersActivity.kt74 (findViewById(R.id.fab) as View).setOnClickListener(FabClickListener())
/aosp12/packages/apps/DeskClock/tests/src/com/android/deskclock/widget/
H A DMockFabContainer.java37 private ImageView fab; field in MockFabContainer
43 fab = new ImageView(context); in MockFabContainer()
49 fab.setOnClickListener(new View.OnClickListener() { in MockFabContainer()
52 deskClockFragment.onFabClick(fab); in MockFabContainer()
72 deskClockFragment.onUpdateFab(fab); in updateFab()
75 fab.requestFocus(); in updateFab()
87 return fab; in getFab()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchFragment.kt214 override fun onFabClick(fab: ImageView) {
233 private fun updateFab(fab: ImageView, animate: Boolean) {
238 fab.setImageResource(R.drawable.ic_play_pause)
240 fab.setContentDescription(fab.getResources().getString(R.string.sw_pause_button))
247 fab.setContentDescription(fab.getResources().getString(R.string.sw_start_button))
249 fab.setVisibility(VISIBLE)
252 override fun onUpdateFab(fab: ImageView) {
253 updateFab(fab, false)
256 override fun onMorphFab(fab: ImageView) {
258 updateFab(fab, Utils.isNOrLater)
[all …]
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/
H A DFabController.kt36 fun onUpdateFab(fab: ImageView)
43 fun onMorphFab(fab: ImageView)
59 fun onFabClick(fab: ImageView)
H A DAlarmClockFragment.kt344 override fun onFabClick(fab: ImageView) {
349 override fun onUpdateFab(fab: ImageView) {
350 fab.visibility = View.VISIBLE
351 fab.setImageResource(R.drawable.ic_add_white_24dp)
352 fab.contentDescription = fab.resources.getString(R.string.button_alarms)
H A DClockFragment.kt183 override fun onFabClick(fab: ImageView) {
187 override fun onUpdateFab(fab: ImageView) {
188 fab.visibility = View.VISIBLE
189 fab.setImageResource(R.drawable.ic_public)
190 fab.contentDescription = fab.resources.getString(R.string.button_cities)
H A DDeskClockFragment.kt58 override fun onMorphFab(fab: ImageView) {
H A DDeskClock.kt193 mFab = findViewById(R.id.fab) as ImageView
/aosp12/packages/apps/Dialer/java/com/android/dialer/main/impl/
H A DMainSearchController.java84 private final FloatingActionButton fab; field in MainSearchController
108 FloatingActionButton fab, in MainSearchController() argument
114 this.fab = fab; in MainSearchController()
154 fab.hide(); in showDialpad()
218 fab.show(); in hideDialpad()
340 } else if (!fab.isShown()) { in closeSearch()
341 fab.show(); in closeSearch()
409 fab.hide(); in openSearch()
539 bundle.putBoolean(KEY_IS_FAB_HIDDEN, !fab.isShown()); in onSaveInstanceState()
548 fab.hide(); in onRestoreInstanceState()
H A DOldMainActivityPeer.java277 FloatingActionButton fab = activity.findViewById(R.id.fab); in initLayout() local
278 fab.setOnClickListener( in initLayout()
298 fab, in initLayout()
704 FloatingActionButton fab, in getNewMainSearchController() argument
854 this.fab = fab; in MainCallLogHost()
866 fab.show(); in enableFloatingButton()
868 fab.hide(); in enableFloatingButton()
1324 this.fab = fab; in MainBottomNavBarBottomNavTabListener()
1349 fab.show(); in onSpeedDialSelected()
1370 fab.show(); in onCallLogSelected()
[all …]
/aosp12/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
H A DTimerSetupViewTest.java251 final View fab = fabContainer.getFab(); in assertIsReset() local
262 assertNull(fab.getContentDescription()); in assertIsReset()
263 assertEquals(INVISIBLE, fab.getVisibility()); in assertIsReset()
281 final View fab = fabContainer.getFab(); in assertHasValue() local
292 assertEquals(VISIBLE, fab.getVisibility()); in assertHasValue()
293 assertTrue(TextUtils.equals("Start", fab.getContentDescription())); in assertHasValue()
H A DTimerFragmentTest.java72 private ImageView fab; field in TimerFragmentTest
124 fab = fabContainer.getFab(); in setUpFragment()
135 fab = null; in tearDown()
357 final Context context = fab.getContext(); in fabClick_resetsTimer()
376 final Context context = fab.getContext(); in fabClick_resetsSecondTimer()
714 fab.performClick(); in clickFab()
/aosp12/packages/apps/Dialer/java/com/android/dialer/logging/
H A Ddialer_impression.proto482 // Creating new contact fab was logged as NEW_CONTACT_FAB
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
H A Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
H A Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
H A Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
H A Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
H A Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
H A Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...