HomeSort by relevance Sort by last modified time
    Searched refs:button (Results 226 - 250 of 911) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
FragmentStackSupport.java 24 import android.widget.Button;
44 // Watch for button clicks.
45 Button button = findViewById(R.id.new_fragment); local
46 button.setOnClickListener(new OnClickListener() {
52 button = findViewById(R.id.home);
53 button.setOnClickListener(new OnClickListener() {
FragmentStatePagerSupport.java 26 import android.widget.Button;
58 // Watch for button clicks.
59 Button button = (Button)findViewById(R.id.goto_first); local
60 button.setOnClickListener(new OnClickListener() {
66 button = (Button)findViewById(R.id.goto_last);
67 button.setOnClickListener(new OnClickListener() {
FragmentAlertDialogSupport.java 26 import android.widget.Button;
47 // Watch for button clicks.
48 Button button = (Button)findViewById(R.id.show); local
49 button.setOnClickListener(new OnClickListener() {
FragmentDialogOrActivitySupport.java 24 import android.widget.Button;
49 // Watch for button clicks.
50 Button button = (Button)findViewById(R.id.show_dialog); local
51 button.setOnClickListener(new OnClickListener() {
  /frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
LocalServiceBroadcaster.java 31 import android.widget.Button;
85 // Watch for button clicks.
86 Button button = (Button)findViewById(R.id.start); local
87 button.setOnClickListener(mStartListener);
88 button = (Button)findViewById(R.id.stop);
89 button.setOnClickListener(mStopListener);
  /frameworks/support/samples/SupportVectorDrawableDemos/src/main/java/com/example/android/support/vectordrawable/app/
SimpleStaticVectorDrawable.java 24 import android.widget.Button;
133 Button button = new Button(this); local
134 button.setWidth(200);
137 button.setBackgroundDrawable(d[i]);
138 container.addView(button);
  /packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DateTimeToggleLineItem.java 43 (button, isChecked) -> {
  /packages/apps/Dialer/java/com/android/incallui/incall/impl/
MappedButtonConfig.java 36 * Determines logical button slot and ordering based on a provided mapping.
74 /** Returns an immutable list of the slots for which this class has button mapping. */
144 public MappingInfo lookupMappingInfo(@InCallButtonIds int button) {
145 MappingInfo info = mapping.get(button);
148 "Unknown InCallButtonId: " + InCallButtonIdsExtension.toString(button));
153 /** Holds information about button mapping. */
159 /** The Ui slot into which a given button desires to be placed. */
163 * Returns an integer used to determine which button is chosen for a slot when multiple buttons
165 * lower slotOrder results in the button being chosen.
172 * lower conflictOrder results in the button being chosen
    [all...]
  /packages/apps/Email/provider_src/com/android/email/provider/
FolderPickerDialog.java 30 import android.widget.Button;
86 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE); local
88 // No items are selected, so disable the OK button.
89 button.setEnabled(false);
103 // This would remove the check on a single radio button, so just
120 // Since we know that an item is selected in the list, enable the OK button
121 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE); local
122 button.setEnabled(true)
    [all...]
  /packages/apps/PackageInstaller/src/android/support/wearable/view/
WearableDialogHelper.java 28 import android.widget.Button;
123 * Applies the button icons setup in the helper to the buttons in the dialog.
137 /** Applies the specified drawable to the button. */
139 /* package */ void applyButton(@Nullable Button button, @Nullable Drawable drawable) {
140 if (button != null) {
141 button.setCompoundDrawablesRelativeWithIntrinsicBounds(drawable, null, null, null);
142 button.setAllCaps(false);
144 Log.w(TAG, "non-null drawable used with missing button, did you call AlertDialog.create()?");
  /packages/apps/Settings/src/com/android/settings/widget/
ActionButtonPreference.java 26 import android.widget.Button;
66 mButton1Info.mPositiveButton = (Button) holder.findViewById(R.id.button1_positive);
67 mButton1Info.mNegativeButton = (Button) holder.findViewById(R.id.button1_negative);
68 mButton2Info.mPositiveButton = (Button) holder.findViewById(R.id.button2_positive);
69 mButton2Info.mNegativeButton = (Button) holder.findViewById(R.id.button2_negative);
157 private Button mPositiveButton;
158 private Button mNegativeButton;
180 private void setUpButton(Button button) {
181 button.setText(mText)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentAlertDialog.java 30 import android.widget.Button;
46 // Watch for button clicks.
47 Button button = (Button)findViewById(R.id.show); local
48 button.setOnClickListener(new OnClickListener() {
FragmentDialogOrActivity.java 30 import android.widget.Button;
49 // Watch for button clicks.
50 Button button = (Button)findViewById(R.id.show_dialog); local
51 button.setOnClickListener(new OnClickListener() {
NotificationBackgroundService.java 34 import android.widget.Button;
67 Button button = (Button) findViewById(R.id.notify); local
68 button.setOnClickListener(mNotify);
  /development/samples/LceDemo/src/com/example/android/lce/
LceDemoActivity.java 32 import android.widget.Button;
75 // Regsiter button action callback function, which pulls the LCE service
77 final Button button = (Button) findViewById(R.id.lceButton); local
78 button.setOnClickListener(new View.OnClickListener() {
  /external/autotest/client/cros/
semiauto_framework.py 63 page. Each button has an integer value, starting from
64 0 for the first. Defaults to an 'OK' button.
70 html_total += ('<input type="button" value="%s" onclick="%s">' % (
78 Adds a textbox and Submit button to the page. The value returned after
79 clicking the button is the text that was entered in the textbox.
85 button = '<input type="button" value="SUBMIT" onclick="get_text()"/>'
86 html_total = '%s<br>%s<br>%s' % (html, textbox, button)
  /external/lzma/CPP/Windows/Control/
CommandBar.h 29 bool InsertButton(int iButton, LPTBBUTTON button) { return BOOLToBool(SendMsg(TB_INSERTBUTTON, (WPARAM)iButton, (LPARAM)button)); }
  /external/python/cpython2/Lib/idlelib/
MultiStatusBar.py 39 button = Button(root, text="Update status", command=change)
40 button.pack(side=BOTTOM)
  /external/python/cpython3/Lib/idlelib/
statusbar.py 23 from tkinter import Toplevel, Frame, Text, Button
40 button = Button(top, text="Update status", command=change)
41 button.pack(side='bottom')
  /frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
SoundTriggerTestActivity.java 44 import android.widget.Button;
69 private Button mPlayTriggerButton = null;
74 private Button mPlayCapturedAudioButton = null;
123 RadioButton button = new RadioButton(this); local
124 mModelRadioButtons.add(button);
125 button.setText(name);
126 button.setOnClickListener(new View.OnClickListener() {
131 mButtonModelUuidMap.put(button, modelUuid);
132 mModelButtons.put(modelUuid, button);
149 button.setChecked(true)
    [all...]
  /frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
R$id.class 
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
EditorMirror.java 23 import android.widget.Button;
71 final Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect); local
72 button.setOnClickListener(new OnClickListener() {
  /packages/apps/Messaging/src/com/android/messaging/ui/conversation/
EnterSelfPhoneNumberDialog.java 60 final int button) {
68 final int button) {
  /packages/apps/Settings/src/com/android/settings/applications/
ConvertToFbe.java 26 import android.widget.Button;
58 final Button button = rootView.findViewById(R.id.button_convert_fbe); local
59 button.setOnClickListener(v -> {
  /packages/apps/Settings/src/com/android/settings/password/
SetupSkipDialog.java 71 public void onClick(DialogInterface dialog, int button) {
72 switch (button) {

Completed in 1028 milliseconds

1 2 3 4 5 6 7 8 91011>>