Searched defs:button (Results 1 - 20 of 20) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSelectionMenu.java35 public SelectionMenu(Context context, Button button, OnPopupItemClickListener listener) { argument
37 mButton = button;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorPickerDialog.java146 private void setButtonColor(ToggleButton button, float[] hsv) { argument
147 if (button == null) {
151 button.setBackgroundColor(color);
157 button.setTextColor(Color.HSVToColor(fg));
158 button.setTag(hsv);
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
H A DFloatingActionButtonController.java49 public FloatingActionButtonController(Activity activity, View container, View button) { argument
60 mFloatingActionButton = button;
140 * Scales the floating action button from no height and width to its actual dimensions. This is
141 * an animation for showing the floating action button.
152 * Scales the floating action button from its actual dimensions to no height and width. This is
153 * an animation for hiding the floating action button.
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
H A DColorChooser.java65 final Button button = (Button) mTopView.findViewById(mButtonsID[i]);
66 mButton[i] = button;
70 button.setTag(hsvo);
71 GradientDrawable sd = ((GradientDrawable) button.getBackground());
76 button.setOnClickListener(new View.OnClickListener() {
83 Button button = (Button) mTopView.findViewById(R.id.draw_color_popupbutton);
85 button.setOnClickListener(new View.OnClickListener() {
115 final Button button = mButton[i];
116 GradientDrawable sd = ((GradientDrawable) button.getBackground());
122 public void selectColor(View button, in argument
[all...]
/packages/apps/Settings/src/com/android/settings/wifi/
H A DSavedAccessPointsWifiSettings.java177 false /* not editting */, true /* hide the submit button */);
199 public void onClick(DialogInterface dialogInterface, int button) { argument
200 if (button == WifiDialog.BUTTON_FORGET && mSelectedAccessPoint != null) {
H A DWifiSettings.java145 // this boolean extra specifies whether to disable the Next button when not connected. Used by
149 // should Next button only be enabled when we have a connection?
305 // if we're supposed to enable/disable the Next button based on our current connection
946 * Renames/replaces "Next" button when appropriate. "Next" button usually exists in
958 public void onClick(DialogInterface dialogInterface, int button) { argument
959 if (button == WifiDialog.BUTTON_FORGET && mSelectedAccessPoint != null) {
961 } else if (button == WifiDialog.BUTTON_SUBMIT) {
1009 // We need to rename/replace "Next" button in wifi setup context.
1033 * Called when "add network" button i
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DMainPanel.java245 public void setToggleVersionsPanelButton(ImageButton button) { argument
246 if (button == null) {
249 button.setOnClickListener(new View.OnClickListener() {
/packages/apps/Settings/src/com/android/settings/
H A DCredentialStorage.java287 @Override public void onClick(DialogInterface dialog, int button) { argument
288 mResetConfirmed = (button == DialogInterface.BUTTON_POSITIVE);
356 @Override public void onClick(DialogInterface dialog, int button) { argument
357 mConfigureConfirmed = (button == DialogInterface.BUTTON_POSITIVE);
465 @Override public void onClick(DialogInterface dialog, int button) { argument
466 mUnlockConfirmed = (button == DialogInterface.BUTTON_POSITIVE);
H A DTetherSettings.java629 public void onClick(DialogInterface dialogInterface, int button) { argument
630 if (button == DialogInterface.BUTTON_POSITIVE) {
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageAttachmentBar.java222 // button should be hidden.
242 // button or cancel button or one of the
371 private static void setButtonVisible(View button, boolean visible) { argument
372 button.setVisibility(visible ? VISIBLE : GONE);
389 // To avoid visibility state transition bugs, every button's visibility should be touched
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DButtonSwitcher.java155 private ViewPropertyAnimator animateButton(final View button, final int direction) { argument
157 final float innerX = button.getX() - button.getTranslationX();
160 button.setClickable(true);
161 return button.animate().translationX(0);
163 button.setClickable(false);
164 return button.animate().translationX(outerX - innerX);
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmActivity.java150 // Get the volume/camera button behavior setting
330 // User touched the alarm button, hint the dismiss action.
380 private ValueAnimator getButtonAnimator(ImageButton button, int tintColor) { argument
381 return ObjectAnimator.ofPropertyValuesHolder(button,
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditor.java291 protected void createMenu(int[] strId, View button) { argument
292 PopupMenu pmenu = new PopupMenu(mContext, button);
H A DEditorGrad.java249 Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect);
250 if (button == null) {
255 setUpPopupMenu(button);
261 private void setUpPopupMenu(Button button) { argument
262 mPopupMenu = new PopupMenu(mImageShow.getActivity(), button);
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnSettings.java265 public void onClick(DialogInterface dialog, int button) { argument
266 if (button == DialogInterface.BUTTON_POSITIVE) {
/packages/apps/Camera2/src/com/android/camera/
H A DButtonManager.java90 /** A listener for button enabled and visibility
115 * to prevent stale references button views.
122 * ButtonStatusListener provides callbacks for when button's
127 * A button's visibility has changed.
132 * A button's enabled state has changed.
180 MultiToggleImageButton button = null;
186 button = getButtonOrError(BUTTON_FLASH);
190 button = getButtonOrError(BUTTON_TORCH);
194 button = getButtonOrError(BUTTON_HDR_PLUS_FLASH);
198 button
594 initializeFlashButton(MultiToggleImageButton button, final ButtonCallback cb, int resIdImages) argument
621 initializeTorchButton(MultiToggleImageButton button, final ButtonCallback cb, int resIdImages) argument
648 initializeHdrPlusFlashButton(MultiToggleImageButton button, final ButtonCallback cb, int resIdImages) argument
675 initializeCameraButton(final MultiToggleImageButton button, final ButtonCallback cb, int resIdImages) argument
709 initializeHdrPlusButton(MultiToggleImageButton button, final ButtonCallback cb, int resIdImages) argument
736 initializeHdrButton(MultiToggleImageButton button, final ButtonCallback cb, int resIdImages) argument
763 initializeCountdownButton(MultiToggleImageButton button, final ButtonCallback cb, int resIdImages) argument
800 initializeGridLinesButton(MultiToggleImageButton button, final ButtonCallback cb, int resIdImages) argument
[all...]
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
H A DSoundRecorder.java365 public void onClick(View button) { argument
366 if (!button.isEnabled())
369 switch (button.getId()) {
/packages/apps/Settings/src/com/android/settings/applications/
H A DInstalledAppDetails.java251 // Then disable the Clear Data button.
319 private boolean handleDisableable(Button button) { argument
326 // Disable button for core system applications.
327 button.setText(R.string.disable_text);
329 button.setText(R.string.disable_text);
332 button.setText(R.string.enable_text);
370 // We do this here so the text of the button is still set correctly.
477 // Get Control button panel
484 // Get More Control button panel
953 // Disable clear activities button
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncher.java1990 // Back button is a no-op here, but give at least some feedback for the button press
2057 * Event handler for the search button
2068 * Event handler for the voice button
2093 * Event handler for the "grid" button that appears on the home screen, which
2911 // Set focus to the AppsCustomize button
3113 // if successful in getting icon, return it; otherwise, set button to use default drawable
3122 TextView button = (TextView) findViewById(buttonId);
3127 if (button != null) {
3128 button
3171 invalidatePressedFocusedStates(View container, View button) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncher.java1040 // Update the voice search button proxy
1387 * Sets the all apps button. This method is called from {@link Hotseat}.
1928 * button is pressed. Used (for example) in GEL, to prevent movement during a search.
2409 // Back button is a no-op here, but give at least some feedback for the button press
2511 * Event handler for the search button
2522 * Event handler for the voice button
2551 * Event handler for the "grid" button that appears on the home screen, which
2703 * Event handler for the (Add) Widgets button that appears after a long press
2712 * Event handler for the wallpaper picker button tha
3957 invalidatePressedFocusedStates(View container, View button) argument
[all...]

Completed in 858 milliseconds