Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/widget/
DFloatingActionButtonController.java41 private final FloatingActionButton fab; field in FloatingActionButtonController
46 public FloatingActionButtonController(Activity activity, FloatingActionButton fab) { in FloatingActionButtonController() argument
55 this.fab = fab; in FloatingActionButtonController()
70 return fab.isShown(); in isVisible()
89 fab.setImageResource(iconId); in changeIcon()
90 fab.setImageTintList( in changeIcon()
94 if (!fab.getContentDescription().equals(description)) { in changeIcon()
95 fab.setContentDescription(description); in changeIcon()
107 fab.setTranslationX(positionOffset * getTranslationXForAlignment(ALIGN_END)); in onPageScrolled()
136 if (animate && fab.isShown()) { in align()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt212 private fun updateFab(fab: ImageView, animate: Boolean) { in updateFab()
216 fab.visibility = View.INVISIBLE in updateFab()
220 fab.visibility = View.VISIBLE in updateFab()
224 fab.setImageResource(R.drawable.ic_play_pause_animation) in updateFab()
226 fab.setImageResource(R.drawable.ic_play_pause) in updateFab()
228 fab.contentDescription = fab.resources.getString(R.string.timer_stop) in updateFab()
232 fab.setImageResource(R.drawable.ic_stop_play_animation) in updateFab()
234 fab.setImageResource(R.drawable.ic_pause_play) in updateFab()
236 fab.contentDescription = fab.resources.getString(R.string.timer_start) in updateFab()
240 fab.setImageResource(R.drawable.ic_pause_play_animation) in updateFab()
[all …]
DExpiredTimersActivity.kt74 (findViewById(R.id.fab) as View).setOnClickListener(FabClickListener()) in onCreate()
/packages/apps/DeskClock/tests/src/com/android/deskclock/widget/
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()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt214 override fun onFabClick(fab: ImageView) { in <lambda>()
233 private fun updateFab(fab: ImageView, animate: Boolean) { in <lambda>()
236 fab.setImageResource(R.drawable.ic_play_pause_animation) in <lambda>()
238 fab.setImageResource(R.drawable.ic_play_pause) in <lambda>()
240 fab.setContentDescription(fab.getResources().getString(R.string.sw_pause_button)) in <lambda>()
243 fab.setImageResource(R.drawable.ic_pause_play_animation) in <lambda>()
245 fab.setImageResource(R.drawable.ic_pause_play) in <lambda>()
247 fab.setContentDescription(fab.getResources().getString(R.string.sw_start_button)) in <lambda>()
249 fab.setVisibility(VISIBLE) in <lambda>()
252 override fun onUpdateFab(fab: ImageView) { in <lambda>()
[all …]
/packages/apps/Dialer/java/com/android/dialer/main/impl/
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()
DOldMainActivityPeer.java277 FloatingActionButton fab = activity.findViewById(R.id.fab); in initLayout() local
278 fab.setOnClickListener( in initLayout()
298 fab, in initLayout()
316 bottomNav, fab, toolbar, activity.findViewById(R.id.toolbar_shadow), snackbarContainer); in initLayout()
325 callLogHostInterface = new MainCallLogHost(searchController, fab); in initLayout()
704 FloatingActionButton fab, in getNewMainSearchController() argument
709 activity, bottomNavBar, fab, mainToolbar, toolbarShadow, fragmentContainer); in getNewMainSearchController()
849 private final FloatingActionButton fab; field in OldMainActivityPeer.MainCallLogHost
852 MainCallLogHost(MainSearchController searchController, FloatingActionButton fab) { in MainCallLogHost() argument
854 this.fab = fab; in MainCallLogHost()
[all …]
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
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()
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()
/packages/apps/DeskClock/src/com/android/deskclock/
DFabController.kt36 fun onUpdateFab(fab: ImageView)
43 fun onMorphFab(fab: ImageView)
59 fun onFabClick(fab: ImageView)
DAlarmClockFragment.kt344 override fun onFabClick(fab: ImageView) { in onFabClick()
349 override fun onUpdateFab(fab: ImageView) { in onUpdateFab()
350 fab.visibility = View.VISIBLE in onUpdateFab()
351 fab.setImageResource(R.drawable.ic_add_white_24dp) in onUpdateFab()
352 fab.contentDescription = fab.resources.getString(R.string.button_alarms) in onUpdateFab()
DClockFragment.kt183 override fun onFabClick(fab: ImageView) { in onFabClick()
187 override fun onUpdateFab(fab: ImageView) { in onUpdateFab()
188 fab.visibility = View.VISIBLE in onUpdateFab()
189 fab.setImageResource(R.drawable.ic_public) in onUpdateFab()
190 fab.contentDescription = fab.resources.getString(R.string.button_cities) in onUpdateFab()
DDeskClockFragment.kt58 override fun onMorphFab(fab: ImageView) { in onMorphFab()
DDeskClock.kt193 mFab = findViewById(R.id.fab) as ImageView in onCreate()
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto482 // Creating new contact fab was logged as NEW_CONTACT_FAB
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dde_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dro_wordlist.combined.gz