/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
sony_xb2_speaker.py | 40 Wraps the button presses, as well as the special features like pairing. 48 for button in Buttons: 49 self.ensure_config_contains_relay(button.value) 56 def _hold_button(self, button, seconds): 57 self.hold_down(button.value) 59 self.release(button.value)
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
ColorChooser.java | 11 import android.widget.Button; 28 private Vector<Button> mIconButton = new Vector<Button>(); 41 private Button[] mButton = new Button[mButtonsID.length]; 65 final Button button = (Button) mTopView.findViewById(mButtonsID[i]); local 66 mButton[i] = button; 70 button.setTag(hsvo) 83 Button button = (Button) mTopView.findViewById(R.id.draw_color_popupbutton); local 115 final Button button = mButton[i]; local 151 final Button button = mButton[mSelectedButton]; local [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityWindowQueryTest.java | 59 import android.widget.Button; 130 AccessibilityNodeInfo button = getInstrumentation().getUiAutomation() local 133 assertNotNull(button); 152 // Find a button to click on. 157 // Click the button to generate an event 206 // Find a button to click on. 211 // Click the button. 243 // Find a button to click on. 248 // Click the button. 256 // Find a another button from the event's window 310 AccessibilityNodeInfo button = getInstrumentation().getUiAutomation() local 335 AccessibilityNodeInfo button = getInstrumentation().getUiAutomation() local 352 AccessibilityNodeInfo button = getInstrumentation().getUiAutomation() local 378 final AccessibilityNodeInfo button = getInstrumentation().getUiAutomation() local 395 final AccessibilityNodeInfo button = getInstrumentation().getUiAutomation() local 413 AccessibilityNodeInfo button = getInstrumentation().getUiAutomation() local 434 final AccessibilityNodeInfo button = getInstrumentation().getUiAutomation() local 487 AccessibilityNodeInfo button = getInstrumentation().getUiAutomation() local [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListOfButtonsTest.java | 26 import android.widget.Button; 39 private Button mButtonAtTop; 54 mButtonAtTop = (Button) a.findViewById(R.id.button); 95 assertFalse("button at top should have focus back", 113 Button button = (Button) mListView.getSelectedView(); local 114 assertNotNull(indexInfo, button); 115 assertEquals(indexInfo, label, button.getText().toString()) 130 Button button = (Button) mListView.getSelectedView(); local [all...] |
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
ManualPackageInstallTest.java | 34 .clazz(android.widget.Button.class.getName()) 42 .clazz(android.widget.Button.class.getName()) 54 // Calls the original installPackage which does not click through the install button. 102 UiObject2 button = mDevice.findObject(INSTALL_BUTTON_SELECTOR); local 103 assertNotNull("Install button not found", button); 104 button.click(); 111 // "OK" button only present in the dialog if it is blocked by policy. 112 UiObject2 button = mDevice.findObject(POPUP_BUTTON_SELECTOR); local 113 assertNotNull("OK button not found", button) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
RemoteService.java | 38 import android.widget.Button; 230 // Watch for button clicks. 231 Button button = (Button)findViewById(R.id.start); local 232 button.setOnClickListener(mStartListener); 233 button = (Button)findViewById(R.id.stop); 234 button.setOnClickListener(mStopListener); 275 Button mKillButton 291 Button button = (Button)findViewById(R.id.bind); local 532 Button button = (Button)findViewById(R.id.bind_normal); local [all...] |
AlarmController.java | 31 import android.widget.Button; 77 // Watch for button clicks. 78 Button button = (Button)findViewById(R.id.one_shot); local 79 button.setOnClickListener(mOneShotListener); 80 button = (Button)findViewById(R.id.one_shot_while_idle); 81 button.setOnClickListener(mOneShotListener); 82 button = (Button)findViewById(R.id.start_repeating) [all...] |
ContactsFilter.java | 26 import android.widget.Button; 41 // Watch for button clicks. 42 Button button = (Button)findViewById(R.id.go); local 43 button.setOnClickListener(mGoListener);
|
IncomingMessageInterstitial.java | 26 import android.widget.Button; 40 Button button = (Button) findViewById(R.id.notify_app); local 41 button.setOnClickListener(new Button.OnClickListener() {
|
LocalSample.java | 26 import android.widget.Button; 41 // Watch for button clicks. 42 Button button = (Button)findViewById(R.id.go); local 43 button.setOnClickListener(mGoListener);
|
SecureDialogActivity.java | 26 import android.widget.Button; 70 // Handle click events on the button to show the dialog. 71 Button button = (Button)findViewById(R.id.show); local 72 button.setOnClickListener(this); 76 * Called when the button to show the dialog is clicked.
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
ShortButtonsTest.java | 26 import android.widget.Button; 60 String prefix = "after " + i + " downs expected button " + i; 61 final Button button = getActivity().getButtonAt(i); local 62 assertTrue(prefix + " to have focus", button.isFocused()); 63 assertTrue(prefix + " to be on screen", isButtonOnScreen(button)); 76 final Button lastButton = getActivity().getButtonAt(numButtons - 1); 89 String prefix = "after " + i + " ups expected button " + i; 90 final Button button = getActivity().getButtonAt(i) local [all...] |
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
VectorDrawable01.java | 23 import android.widget.Button; 61 final Button []bArray = new Button[icon.length]; 81 Button button = new Button(this); local 82 bArray[i] = button; 83 button.setWidth(200); 84 button.setBackgroundResource(icon[i]); 85 container.addView(button); [all...] |
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/ |
FragmentStackFragmentSupport.java | 24 import android.widget.Button; 54 // Watch for button clicks. 55 Button button = (Button)v.findViewById(R.id.new_fragment); local 56 button.setOnClickListener(new OnClickListener() { 62 button = (Button)v.findViewById(R.id.delete_fragment); 63 button.setOnClickListener(new OnClickListener() { 69 button = (Button)v.findViewById(R.id.home) [all...] |
/frameworks/support/samples/SupportVectorDrawableDemos/src/main/java/com/example/android/support/vectordrawable/app/ |
SimpleAnimatedVectorDrawable.java | 23 import android.widget.Button; 95 Button button = new Button(this); local 96 button.setWidth(200); 97 button.setHeight(200); 98 button.setBackgroundDrawable(d[i]); 99 container.addView(button); 100 button.setOnClickListener(this);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
TutorialJAJP.java | 221 Bubble button; local 227 button = new Bubble(context, inputView, 230 mBubbles.add(button); 236 button = new Bubble(context, inputView, 239 mBubbles.add(button); 245 button = new Bubble(context, inputView, 248 mBubbles.add(button); 254 button = new Bubble(context, inputView, 257 mBubbles.add(button); 265 button = new Bubble(context, inputView, [all...] |
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/fragments/ |
SettingsFragment.java | 27 import android.widget.Button; 30 * A simple fragment that shows a button to reset the counter 38 Button button = (Button) view.findViewById(R.id.btn); local 39 button.setOnClickListener(new View.OnClickListener() {
|
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/fragments/ |
SettingsFragment.java | 27 import android.widget.Button; 30 * A simple fragment that shows a button to reset the counter 38 Button button = (Button) view.findViewById(R.id.btn); local 39 button.setOnClickListener(new View.OnClickListener() {
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
InstallApk.java | 33 import android.widget.Button; 58 // Watch for button clicks. 59 Button button = (Button)findViewById(R.id.unknown_source); local 60 button.setOnClickListener(mUnknownSourceListener); 61 button = (Button)findViewById(R.id.my_source); 62 button.setOnClickListener(mMySourceListener); 63 button = (Button)findViewById(R.id.uninstall) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
PopupMenu1.java | 29 * This demonstrates the use of the PopupMenu class. Clicking the button will inflate and 39 public void onPopupButtonClick(View button) { 40 PopupMenu popup = new PopupMenu(this, button);
|
TableLayout9.java | 23 import android.widget.Button; 38 Button button = (Button) findViewById(R.id.toggle); local 39 button.setOnClickListener(new Button.OnClickListener() {
|
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/fragments/ |
SettingsFragment.java | 27 import android.widget.Button; 30 * A simple fragment that shows a button to reset the counter 38 Button button = (Button) view.findViewById(R.id.btn); local 39 button.setOnClickListener(new View.OnClickListener() {
|
/external/autotest/server/cros/ap_configurators/ |
belkinF7D1301_ap_configurator.py | 27 button = '//input[@type="submit" and @value="Apply Changes"]' 28 self.click_button_by_xpath(button,
|
/external/python/cpython2/Demo/tkinter/matt/ |
canvas-w-widget-draw-el.py | 10 self.QUIT = Button(self, text='QUIT', foreground='red', 16 self.button = Button(self, text="this is a button", 23 # widget (in this case the button) gets mapped to the given x, y. 25 self.draw.create_window(300, 300, window=self.button)
|
entry-with-shared-variable.py | 14 self.button = Button(self, text="Uppercase The Entry", 16 self.button.pack()
|