Searched defs:fab (Results 1 - 7 of 7) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
H A DFabController.java9 * Implementers of this interface are able to {@link #onUpdateFab configure the fab} and associated
12 * {@link #onFabClick fab}, {@link #onLeftButtonClick left button} and
18 * Configures the display of the fab component to match the current state of this controller.
20 * @param fab the fab component to be configured based on current state
22 void onUpdateFab(@NonNull ImageView fab); argument
25 * Called before onUpdateFab when the fab should be animated.
27 * @param fab the fab component to be configured based on current state
29 void onMorphFab(@NonNull ImageView fab); argument
45 onFabClick(@onNull ImageView fab) argument
[all...]
H A DDeskClockFragment.java34 /** The container that houses the fab and its left and right buttons. */
45 // Update the fab and buttons in case their state changed while the fragment was paused.
67 public void onMorphFab(@NonNull ImageView fab) { argument
79 * @param fabContainer the container that houses the fab and its left and right buttons
86 * Requests that the parent activity update the fab and buttons.
88 * @param updateTypes the manner in which the fab container should be updated
H A DAlarmClockFragment.java386 public void onFabClick(@NonNull ImageView fab) { argument
392 public void onUpdateFab(@NonNull ImageView fab) { argument
393 fab.setVisibility(View.VISIBLE);
394 fab.setImageResource(R.drawable.ic_add_white_24dp);
395 fab.setContentDescription(fab.getResources().getString(R.string.button_alarms));
H A DClockFragment.java201 public void onFabClick(@NonNull ImageView fab) { argument
206 public void onUpdateFab(@NonNull ImageView fab) { argument
207 fab.setVisibility(VISIBLE);
208 fab.setImageResource(R.drawable.ic_public);
209 fab.setContentDescription(fab.getResources().getString(R.string.button_cities));
/packages/apps/Dialer/java/com/android/contacts/common/widget/
H A DFloatingActionButtonController.java48 public FloatingActionButtonController(Activity activity, FloatingActionButton fab) { argument
57 mFab = fab;
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerFragment.java239 private void updateFab(@NonNull ImageView fab, boolean animate) { argument
243 fab.setVisibility(INVISIBLE);
247 fab.setVisibility(VISIBLE);
251 fab.setImageResource(R.drawable.ic_play_pause_animation);
253 fab.setImageResource(R.drawable.ic_play_pause);
255 fab.setContentDescription(fab.getResources().getString(R.string.timer_stop));
259 fab.setImageResource(R.drawable.ic_stop_play_animation);
261 fab.setImageResource(R.drawable.ic_pause_play);
263 fab
292 onUpdateFab(@onNull ImageView fab) argument
297 onMorphFab(@onNull ImageView fab) argument
329 onFabClick(@onNull ImageView fab) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchFragment.java89 /** Draws a gradient over the bottom of the {@link #mLapsList} to reduce clash with the fab. */
221 public void onFabClick(@NonNull ImageView fab) { argument
242 private void updateFab(@NonNull ImageView fab, boolean animate) { argument
245 fab.setImageResource(R.drawable.ic_play_pause_animation);
247 fab.setImageResource(R.drawable.ic_play_pause);
249 fab.setContentDescription(fab.getResources().getString(R.string.sw_pause_button));
252 fab.setImageResource(R.drawable.ic_pause_play_animation);
254 fab.setImageResource(R.drawable.ic_pause_play);
256 fab
261 onUpdateFab(@onNull ImageView fab) argument
266 onMorphFab(@onNull ImageView fab) argument
[all...]

Completed in 132 milliseconds