Searched refs:button (Results 76 - 89 of 89) sorted by relevance

1234

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DErrorFragment.java127 * Sets the button text.
129 * @param text The button text.
137 * Returns the button text.
144 * Set the button click listener.
146 * @param clickListener The click listener for the button.
154 * Returns the button click listener.
176 mButton = (Button) root.findViewById(R.id.button);
H A DErrorSupportFragment.java129 * Sets the button text.
131 * @param text The button text.
139 * Returns the button text.
146 * Set the button click listener.
148 * @param clickListener The click listener for the button.
156 * Returns the button click listener.
178 mButton = (Button) root.findViewById(R.id.button);
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java1451 // When the complete button is clicked, this should do action.
2181 Button button = new Button(mEST.getContext());
2182 button.setHeight(BUTTON_SIZE);
2183 button.setWidth(BUTTON_SIZE);
2187 button.setBackgroundDrawable(cp);
2188 button.setDrawingCacheBackgroundColor(colors[i]);
2190 button.setOnClickListener(new View.OnClickListener() {
2204 button.setOnClickListener(new View.OnClickListener() {
2218 horizontalLayout.addView(button);
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
H A DLeanbackListPreferenceDialogFragment.java253 mWidgetView = (Checkable) view.findViewById(R.id.button);
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java305 * Sets a hint for the best button panel layout.
312 * Sets a click listener or a message to be sent when the button is clicked.
315 * @param whichButton Which button, can be one of
319 * @param text The text to display in positive button.
725 * If we only have 1 button it should be centered on the layout and
743 private void centerButton(Button button) { argument
744 LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) button.getLayoutParams();
747 button.setLayoutParams(params);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewHeader.java254 private void updateLayoutParams(View icon, View title, View secondaryButton, View button) { argument
275 button.setLayoutParams(lp);
276 button.setPadding(mHeaderButtonPadding, mHeaderButtonPadding, mHeaderButtonPadding,
466 // When freeform workspaces are enabled, then update the move-task button depending on the
496 // In accessibility, a single click on the focused app info button will show it
595 // In accessibility, a single click on the focused app info button will show it
601 // Keep track of deletions by the dismiss button
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DGridWidgetTest.java2531 // test focus from button to vertical grid view
2532 final View button = mActivity.findViewById(R.id.button);
2533 assertTrue(button.isFocused());
2544 button.requestFocus();
2547 assertTrue(button.isFocused());
2556 button.requestFocus();
2561 assertTrue(button.isFocused());
2686 final View button = mActivity.findViewById(R.id.button);
[all...]
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java72 * presents the current value as an editable input field with an increment button
73 * above and a decrement button below. Long pressing the buttons allows for a quick
210 * The increment button.
215 * The decrement button.
462 * Whether the increment virtual button is pressed.
467 * Whether the decrement virtual button is pressed.
705 // increment button
714 // decrement button
2184 public void buttonPressDelayed(int button) { argument
2187 mManagedButton = button;
2191 buttonTapped(int button) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java74 * the remaining menu items in a vertical overflow view when the overflow button is clicked.
303 * It holds 2 panels (i.e. main panel and overflow panel) and an overflow button
325 /* overflow button drawables. */
381 /* Calculated sizes for panels and overflow button. */
1120 // Adding additional start padding for the first button to even out button spacing.
1130 // Adding additional end padding for the last button to even out button spacing.
1265 View button = menuItemButton;
1267 button
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java1628 void setPositiveButton(Button button) { argument
1629 mPositiveButton = button;
1632 void setNegativeButton(Button button) { argument
1633 mNegativeButton = button;
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp466 jlong nativePtr, jint button) {
468 event->setActionButton(button);
465 android_view_MotionEvent_nativeSetActionButton(JNIEnv* env, jclass clazz, jlong nativePtr, jint button) argument
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEnvReverbTest.java73 ToggleButton button;
108 // button = (ToggleButton)findViewById(R.id.rvbBypass);
109 // button.setChecked(false);
110 // button.setOnCheckedChangeListener(this);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DSelectPrinterActivity.java145 findViewById(R.id.button).setOnClickListener(new OnClickListener() {
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java463 n.contentView.setOnClickPendingIntent(R.id.button, makeIntent2());

Completed in 2470 milliseconds

1234