HomeSort by relevance Sort by last modified time
    Searched full:button (Results 26 - 50 of 1669) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/widget/focus/
FocusAfterRemoval.java 24 import android.widget.Button;
41 Button topLeftButton = (Button) findViewById(R.id.topLeftButton);
51 Button bottomLeftButton = (Button) findViewById(R.id.bottomLeftButton);
59 // top right button makes top right button GONE
60 final Button topRightButton = (Button) findViewById(R.id.topRightButton);
68 // bottom right button makes bottom right button INVISIBL
    [all...]
DescendantFocusability.java 24 import android.widget.Button;
29 public Button beforeDescendantsChild;
32 public Button afterDescendantsChild;
35 public Button blocksDescendantsChild;
44 beforeDescendantsChild = (Button) beforeDescendants.getChildAt(0);
47 afterDescendantsChild = (Button) afterDescendants.getChildAt(0);
50 blocksDescendantsChild = (Button) blocksDescendants.getChildAt(0);
FocusAfterRemovalTest.java 24 import android.widget.Button;
36 private Button mTopLeftButton;
37 private Button mBottomLeftButton;
38 private Button mTopRightButton;
39 private Button mBottomRightButton;
51 mTopLeftButton = (Button) a.findViewById(R.id.topLeftButton);
52 mBottomLeftButton = (Button) a.findViewById(R.id.bottomLeftButton);
53 mTopRightButton = (Button) a.findViewById(R.id.topRightButton);
54 mBottomRightButton = (Button) a.findViewById(R.id.bottomRightButton);
75 // clicking on this button makes its parent linear layout GON
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/scroll/
ScrollViewButtonsAndLabelsTest.java 24 import android.widget.Button;
68 Button firstButtonOffScreen = getActivity().getButton(offScreenIndex);
76 assertTrue("the button we've moved to off screen must not be the last "
77 + "button in the scroll view for this test to work (since we "
81 // now we are at the first button off screen
88 assertEquals("bottom of button should be verticalFadingEdgeLength "
99 Button lastButton = getActivity().getButton(numGroups - 1);
101 assertEquals("button needs to be at the very bottom of the layout for "
105 // move down to last button
110 assertTrue("last button should have focus", lastButton.hasFocus())
185 Button button = getActivity().getButton(i); local
203 Button button = getActivity().getButton(i); local
    [all...]
  /cts/tests/src/android/widget/cts/util/
ListItemFactory.java 24 import android.widget.Button;
34 * Create a view with a button at the top and bottom, with filler in between.
56 final Button topButton = new Button(context);
69 final Button bottomButton = new Button(context);
119 final Button button = new Button(context); local
120 button.setText("left")
127 final Button button = new Button(context); local
135 final Button button = new Button(context); local
154 public static View button(int position, Context context, String text, int desiredHeight) { method in class:ListItemFactory
    [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
ListItemFactory.java 24 import android.widget.Button;
34 * Create a view with a button at the top and bottom, with filler in between.
56 final Button topButton = new Button(context);
69 final Button bottomButton = new Button(context);
119 final Button button = new Button(context); local
120 button.setText("left")
127 final Button button = new Button(context); local
135 final Button button = new Button(context); local
155 public static View button(int position, Context context, String text, int desiredHeight) { method in class:ListItemFactory
    [all...]
  /cts/tests/res/layout/
dialog_stub_layout.xml 23 <Button android:id="@+id/dialog_test_button_1"
26 <Button android:id="@+id/dialog_test_button_2"
29 <Button android:id="@+id/dialog_test_button_3"
32 <Button android:id="@+id/dialog_test_button_4"
35 <Button android:id="@+id/dialog_test_button_5"
38 <Button android:id="@+id/dialog_test_button_6"
41 <Button android:id="@+id/dialog_test_button_7"
44 <Button android:id="@+id/dialog_test_button_8"
47 <Button android:id="@+id/dialog_test_button_9"
50 <Button android:id="@+id/dialog_test_button_10
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Focus3.java 21 import android.widget.Button;
25 private Button mTopButton;
26 private Button mBottomButton;
34 mTopButton = (Button) findViewById(R.id.top);
35 mBottomButton = (Button) findViewById(R.id.bottom);
38 public Button getTopButton() {
42 public Button getBottomButton() {
Visibility1.java 27 import android.widget.Button;
47 Button visibleButton = (Button) findViewById(R.id.vis);
48 Button invisibleButton = (Button) findViewById(R.id.invis);
49 Button goneButton = (Button) findViewById(R.id.gone);
51 // Wire each button to a click listener
  /frameworks/base/core/tests/coretests/src/android/view/
Disabled.java 22 import android.widget.Button;
37 Button disabledButton = (Button) findViewById(R.id.disabledButton);
41 Button disabledButtonA = (Button) findViewById(R.id.disabledButtonA);
46 Button disabledButtonB = (Button) findViewById(R.id.disabledButtonB);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListButtonsDiagonalAcrossItems.java 25 import android.widget.Button;
37 public Button getLeftButton() {
38 return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(0);
41 public Button getCenterButton() {
42 return (Button) ((ViewGroup) getListView().getChildAt(1)).getChildAt(1);
45 public Button getRightButton() {
46 return (Button) ((ViewGroup) getListView().getChildAt(2)).getChildAt(2);
  /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
OneEditTextActivityNotSelected.java 29 import android.widget.Button;
53 Button button = new Button(this); local
54 button.setText("The focus is here.");
55 button.setFocusableInTouchMode(true);
56 button.requestFocus();
57 mDefaultFocusedView = button;
58 layout.addView(button);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
NotifyWithText.java 22 import android.widget.Button;
28 * When you push the button on this Activity, it creates a {@link Toast} object and
43 Button button; local
46 button = (Button) findViewById(R.id.short_notify);
47 button.setOnClickListener(new Button.OnClickListener() {
67 button = (Button) findViewById(R.id.long_notify)
    [all...]
NotifyingController.java 29 import android.widget.Button;
43 Button button = (Button) findViewById(R.id.notifyStart); local
44 button.setOnClickListener(mStartListener);
45 button = (Button) findViewById(R.id.notifyStop);
46 button.setOnClickListener(mStopListener);
  /external/webkit/WebCore/manual-tests/inspector/
errors-with-space in-url.html 5 panel. Clicking the button below should change the "1" to a "2".</p>
7 <button onclick="console.error('hi')">click me</button>
returnEvent-crash.html 16 <p>To test, open and attach the Inspector's debugger, then click the button below. If you don't crash, you have passed the test.</p>
17 <button onclick="test()">click me</button>
  /external/webkit/WebCore/manual-tests/
modal-dialog-arguments.html 14 This tests that modal dialog arguments get passed around correctly. Click the button below to test. The text "SUCCESS" will be shown below if the test was successful.
16 <button onclick="runTest()">Click Me!</button>
submit-form-with-target-twice.html 13 <p>To test this, click the button below. A new window should open up and Safari should not assert.</p>
14 <button onclick="runTest()">Click Here</button>
modal-dialog.html 23 <p>Then, push this button: <input type="button" value="Close" onClick="closeModal()"></p>
24 <p>Push this button to test timer: <input type="button" value="Test Timer" onClick="setTimeout(timerFired, 0)"></p>
  /development/samples/ApiDemos/res/layout/
mediaplayer_1.xml 7 <Button android:id="@+id/localvideo"
13 <Button android:id="@+id/streamvideo"
19 <Button android:id="@+id/localaudio"
25 <Button android:id="@+id/resourcesaudio"
  /development/simulator/app/assets/chimera-2000/
layout.xml 38 <button keyCode="soft-left" src="::/samsung-flip-2005/soft-left.png" x="24" y="388"/>
39 <button keyCode="soft-right" src="::/samsung-flip-2005/soft-right.png" x="182" y="388"/>
40 <button keyCode="home" src="::/samsung-flip-2005/home.png" x="22" y="426"/>
41 <button keyCode="back" src="::/samsung-flip-2005/back.png" x="179" y="426"/>
42 <button keyCode="dpad-up" src="::/samsung-flip-2005/arrow-up.png" x="99" y="399"/>
43 <button keyCode="dpad-down" src="::/samsung-flip-2005/arrow-down.png" x="99" y="461"/>
44 <button keyCode="dpad-left" src="::/samsung-flip-2005/arrow-left.png" x="82" y="411"/>
45 <button keyCode="dpad-right" src="::/samsung-flip-2005/arrow-right.png" x="147" y="411"/>
46 <button keyCode="dpad-center" src="::/samsung-flip-2005/select.png" x="115" y="431"/>
48 <button keyCode="1" src="::/samsung-flip-2005/1.png" x="24" y="533"/
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/menu/
MenuWith1Item.java 20 import android.widget.Button;
24 private Button mButton;
33 public Button getButton() {
41 mButton = new Button(this);
  /development/apps/Development/res/layout/
bad_behavior.xml 26 <Button android:id="@+id/bad_behavior_crash_main"
31 <Button android:id="@+id/bad_behavior_crash_thread"
36 <Button android:id="@+id/bad_behavior_crash_native"
41 <Button android:id="@+id/bad_behavior_crash_system"
46 <Button android:id="@+id/bad_behavior_wtf"
51 <Button android:id="@+id/bad_behavior_anr"
56 <Button android:id="@+id/bad_behavior_anr_activity"
61 <Button android:id="@+id/bad_behavior_anr_broadcast"
66 <Button android:id="@+id/bad_behavior_anr_service"
71 <Button android:id="@+id/bad_behavior_anr_system
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/media/
MediaPlayerDemo.java 25 import android.widget.Button;
28 private Button mlocalvideo;
29 private Button mresourcesvideo;
30 private Button mstreamvideo;
31 private Button mlocalaudio;
32 private Button mresourcesaudio;
33 private Button mstreamaudio;
47 mlocalaudio = (Button) findViewById(R.id.localaudio);
49 mresourcesaudio = (Button) findViewById(R.id.resourcesaudio);
52 mlocalvideo = (Button) findViewById(R.id.localvideo)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
ListButtonsDiagonalAcrossItemsTest.java 26 import android.widget.Button;
35 private Button mLeftButton;
36 private Button mCenterButton;
37 private Button mRightButton;
61 assertTrue("left button focused", mLeftButton.isFocused());
71 assertEquals("focus search right from left button should be center button",
74 assertEquals("focus search right from center button should be right button",
77 assertEquals("focus search left from centr button should be left button"
    [all...]

Completed in 67 milliseconds

12 3 4 5 6 7 8 91011>>