Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.java330 mSetupView.registerStartButton(mFab); in goToSetUpView()
357 if (context == null || timer == null || mFab == null) { in setTimerViewFabIcon()
363 mFab.setVisibility(View.VISIBLE); in setTimerViewFabIcon()
364 mFab.setContentDescription(r.getString(R.string.timer_stop)); in setTimerViewFabIcon()
365 mFab.setImageResource(R.drawable.ic_fab_pause); in setTimerViewFabIcon()
369 mFab.setVisibility(View.VISIBLE); in setTimerViewFabIcon()
370 mFab.setContentDescription(r.getString(R.string.timer_start)); in setTimerViewFabIcon()
371 mFab.setImageResource(R.drawable.ic_fab_play); in setTimerViewFabIcon()
374 mFab.setVisibility(View.INVISIBLE); in setTimerViewFabIcon()
377 mFab.setVisibility(View.VISIBLE); in setTimerViewFabIcon()
[all …]
DTimerFullScreenFragment.java86 private ImageButton mFab; field in TimerFullScreenFragment
449 mFab = (ImageButton) v.findViewById(R.id.fab); in onCreateView()
533 mFab.setOnClickListener(new OnClickListener() { in onResume()
536 revealAnimation(mFab, getActivity().getResources().getColor(R.color.clock_white)); in onResume()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java91 private ImageButton mFab; field in DeskClock
161 mFab = (ImageButton) findViewById(R.id.fab); in initViews()
162 mFab.setOutlineProvider(OVAL_OUTLINE_PROVIDER); in initViews()
173 mFab.setOnClickListener(new OnClickListener() { in initViews()
552 mFab.setVisibility(View.VISIBLE); in onTabSelected()
553 mFab.setImageResource(R.drawable.ic_globe); in onTabSelected()
554 mFab.setContentDescription(getString(R.string.button_cities)); in onTabSelected()
722 return mFab; in getFab()
DClockFragment.java288 if (mFab == null || activity.getSelectedTab() != DeskClock.CLOCK_TAB_INDEX) { in setFabAppearance()
291 mFab.setVisibility(View.VISIBLE); in setFabAppearance()
292 mFab.setImageResource(R.drawable.ic_globe); in setFabAppearance()
293 mFab.setContentDescription(getString(R.string.button_cities)); in setFabAppearance()
DDeskClockFragment.java30 protected ImageButton mFab; field in DeskClockFragment
48 mFab = deskClockActivity.getFab(); in onActivityCreated()
DAlarmClockFragment.java1453 if (mFab == null || activity.getSelectedTab() != DeskClock.ALARM_TAB_INDEX) { in setFabAppearance()
1456 mFab.setVisibility(View.VISIBLE); in setFabAppearance()
1457 mFab.setImageResource(R.drawable.ic_fab_plus); in setFabAppearance()
1458 mFab.setContentDescription(getString(R.string.button_alarms)); in setFabAppearance()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java842 if (mFab == null || activity.getSelectedTab() != DeskClock.STOPWATCH_TAB_INDEX) { in setFabAppearance()
846 mFab.setImageResource(R.drawable.ic_fab_pause); in setFabAppearance()
847 mFab.setContentDescription(getString(R.string.sw_stop_button)); in setFabAppearance()
849 mFab.setImageResource(R.drawable.ic_fab_play); in setFabAppearance()
850 mFab.setContentDescription(getString(R.string.sw_start_button)); in setFabAppearance()
852 mFab.setVisibility(View.VISIBLE); in setFabAppearance()