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

1 2 3 4 5 6 78 91011>>

  /frameworks/base/core/tests/coretests/src/android/widget/espresso/
MouseUiController.java 52 * @param button the button to be used for generating input events.
54 public MouseUiController(UiController uiController, @MouseButton int button) {
56 mButton = button;
  /frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
SimpleWakefulController.java 25 import android.widget.Button;
41 // Watch for button clicks.
42 Button button = (Button)findViewById(R.id.schedule); local
43 button.setOnClickListener(mScheduleListener);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
SelectionMenu.java 22 import android.widget.Button;
32 private final Button mButton;
35 public SelectionMenu(Context context, Button button, OnPopupItemClickListener listener) {
37 mButton = button;
  /packages/apps/Settings/src/com/android/settings/applications/
ConfirmConvertToFbe.java 24 import android.widget.Button;
38 final Button button = (Button) rootView.findViewById(R.id.button_confirm_convert_fbe); local
39 button.setOnClickListener(new View.OnClickListener() {
  /test/vti/dashboard/src/main/webapp/css/
show_release.css 26 #show-button-arrow {
  /tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
logitech_headset.py 40 for button in Buttons:
41 self.ensure_config_contains_relay(button.value)
  /external/python/cpython2/Demo/tkinter/guido/
MimeViewer.py 17 self.button = Checkbutton(self.frame,
20 self.button.pack({'anchor': 'w'})
32 'after': self.button}
40 'after': self.button}
77 self.button.invoke()
  /frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
PopupMenuActivity.java 27 import android.widget.Button;
59 final Button button = (Button) container.findViewById(R.id.test_button); local
60 button.setOnClickListener(new View.OnClickListener() {
68 popupMenu = new PopupMenu(container.getContext(), button);
70 popupMenu = new PopupMenu(container.getContext(), button, Gravity.NO_GRAVITY,
105 registerForContextMenu(button);
  /packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
BaseTestingActivity.java 26 import android.widget.Button;
72 Button button = new Button(this); local
73 button.setText(title);
74 button.setTag(method);
75 button.setOnClickListener(this);
79 mView.addView(button, lp);
  /external/doclava/res/assets/templates-sdk/
footer.cs 15 <a class="dac-button-social dac-youtube dac-footer-social-link" href="https://www.youtube.com/user/androiddevelopers"><i class="dac-sprite dac-youtube"></i></a>
16 <a class="dac-button-social dac-gplus dac-footer-social-link" href="https://plus.google.com/+AndroidDevelopers"><i class="dac-sprite dac-gplus"></i></a>
17 <a class="dac-button-social dac-twitter dac-footer-social-link" href="https://twitter.com/AndroidDev"><i class="dac-sprite dac-twitter"></i></a>
70 <button class="dac-modal-header-close" data-modal-toggle></button>
121 <label for="newsletter-business-type-app" class="dac-form-radio-button"></label>
126 <label for="newsletter-business-type-games" class="dac-form-radio-button"></label>
131 <label for="newsletter-business-type-appsgames" class="dac-form-radio-button"></label>
140 <label for="newsletter-add" class="dac-form-checkbox-button"></label>
151 <label for="newsletter-terms" class="dac-form-checkbox-button"></label
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
NavBarTuner.java 132 String button = extractButton(val);
133 if (button.startsWith(KEY)) {
135 String uri = extractImage(button);
136 int code = extractKeycode(button);
143 type.setValue(button);
204 String button = type.getValue(); local
205 if (KEY.equals(button)) {
212 button = button + KEY_CODE_START + code + KEY_IMAGE_DELIM + uri + KEY_CODE_END;
214 Dependency.get(TunerService.class).setValue(setting, button);
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
EntityHeaderController.java 268 * Only binds entity header with button actions.
337 private void bindButton(ImageButton button, @ActionType int action) {
338 if (button == null) {
344 button.setVisibility(View.GONE);
346 button.setImageResource(R.drawable.ic_mode_edit);
347 button.setVisibility(View.VISIBLE);
348 button.setOnClickListener(mEditRuleNameOnClickListener);
354 button.setVisibility(View.GONE);
356 button.setOnClickListener(new View.OnClickListener() {
365 button.setVisibility(View.VISIBLE)
    [all...]
  /prebuilts/misc/windows/sdl2/test/
controllermap.c 44 int axis, button, hat, hat_value; member in struct:MappingStep
104 SDL_Texture *background, *button, *axis, *marker; local
156 button = LoadTexture(screen, "button.bmp", SDL_TRUE);
175 If you want to correct a mistake, press backspace or the back button on your device\n\
176 To skip a button, press SPACE or click/touch the screen\n\
191 step->button = -1;
201 marker = button;
273 if (steps[_s].button == event.jbutton.button) {
    [all...]
testintersections.c 278 mouse_begin_x = event.button.x;
279 mouse_begin_y = event.button.y;
282 if (event.button.button == 3)
283 add_line(mouse_begin_x, mouse_begin_y, event.button.x,
284 event.button.y);
285 if (event.button.button == 1)
286 add_rect(mouse_begin_x, mouse_begin_y, event.button.x,
287 event.button.y)
    [all...]
testgamecontroller.c 50 ControllerButtonName(const SDL_GameControllerButton button)
52 switch (button)
140 SDL_Texture *background, *button, *axis; local
177 button = LoadTexture(screen, "button.bmp", SDL_TRUE);
180 if (!background || !button || !axis) {
185 SDL_SetTextureColorMod(button, 10, 255, 21);
220 SDL_RenderCopyEx(screen, button, NULL, &dst, 0, NULL, 0);
  /external/toybox/kconfig/lxdialog/
checklist.c 115 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; local
283 button = 1;
295 return button;
299 button = ((key == KEY_LEFT ? --button : ++button) < 0)
300 ? 1 : (button > 1 ? 0 : button);
302 print_buttons(dialog, height, width, button);
  /frameworks/support/media/src/main/java/androidx/media/app/
NotificationCompat.java 163 * Sets whether a cancel button at the top right should be shown in the notification on
176 * state, the support library provides the ability to add an explicit cancel button to the
179 * <p>Note that the notification is enforced to be ongoing if a cancel button is shown to
184 * @param show whether to show a cancel button
194 * Sets the pending intent to be sent when the cancel button is pressed. See {@link
197 * @param pendingIntent the intent to be sent when the cancel button is pressed
261 final RemoteViews button = generateMediaActionButton(action); local
262 view.addView(R.id.media_actions, button);
281 RemoteViews button = new RemoteViews(mBuilder.mContext.getPackageName(), local
283 button.setImageViewResource(R.id.action0, action.getIcon())
318 final RemoteViews button = generateMediaActionButton(mBuilder.mActions.get(i)); local
    [all...]
  /cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
SuspendPackageTest.java 28 .clazz(android.widget.Button.class.getName())
94 // "OK" button only present in the dialog if it is blocked by policy.
95 final UiObject2 button = device.findObject(POPUP_BUTTON_SELECTOR); local
96 assertNotNull("OK button not found", button);
97 button.click();
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityOverlayTest.java 32 import android.widget.Button;
72 final Button button = new Button(mService); local
73 button.setText("Button");
84 mService.getSystemService(WindowManager.class).addView(button, params);
  /development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
PlayerSetupActivity.java 42 import android.widget.Button;
68 Button mBobButton, mJaneButton, mPatButton;
105 private Button setupButton(int resourceId) {
106 Button button = (Button) findViewById(resourceId); local
107 button.setOnTouchListener(mButtonPressListener);
108 return button;
133 Button child = (Button) parent.getChildAt(i)
251 Button button = new Button(PlayerSetupActivity.this); local
    [all...]
  /external/autotest/server/cros/ap_configurators/
netgear3700_ap_configurator.py 95 # The button name seems to differ in various Netgear routers
104 button = '//input[@name="Generate"]'
108 button = '//input[@name="Generate_an"]'
114 self.click_button_by_xpath(button, alert_handler=self._alert_handler)
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
EditorRotate.java 23 import android.widget.Button;
71 final Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect); local
72 button.setOnClickListener(new OnClickListener() {
78 button.setText(displayVal);
  /toolchain/binutils/binutils-2.27/binutils/
dwarf-mode.el 57 (defun dwarf-insert-substructure-button (die)
75 (dwarf-insert-substructure-button die))))
77 ;; Called when a button is pressed.
79 (defun dwarf-die-button-action (button)
80 (let* ((die (button-get button 'die))
85 (is-ref (button-get button 'die-ref)))
93 (dwarf-insert-substructure-button die)))
    [all...]
  /developers/build/prebuilts/gradle/ClippingBasic/Application/tests/src/com/example/android/clippingbasic/tests/
SampleTests.java 60 * Triggers a click on the button and tests if the view is clipped afterwards.
68 // Trigger a click on the button to activate clipping.
69 TouchUtils.clickView(this, mTestActivity.findViewById(R.id.button));
  /developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 35 import android.widget.Button;
86 // Register a listener to add a dummy contact when a button is clicked.
87 Button button = rootView.findViewById(R.id.contact_add); local
88 button.setOnClickListener(new View.OnClickListener() {
95 // Register a listener to display the first contact when a button is clicked.
96 button = rootView.findViewById(R.id.contact_load);
97 button.setOnClickListener(new View.OnClickListener() {

Completed in 870 milliseconds

1 2 3 4 5 6 78 91011>>