HomeSort by relevance Sort by last modified time
    Searched refs:mCenterButton (Results 1 - 3 of 3) sorted by null

  /frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
ListButtonsDiagonalAcrossItemsTest.java 36 private Button mCenterButton;
49 mCenterButton = getActivity().getCenterButton();
65 < mCenterButton.getLeft());
68 mCenterButton.getRight()
72 mCenterButton,
76 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_RIGHT));
79 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_LEFT));
96 assertTrue("mCenterButton.isFocused()", mCenterButton.isFocused());
102 assertTrue("center should still be focused", mCenterButton.isFocused())
    [all...]
  /development/samples/ApiDemos/tests/src/com/example/android/apis/view/
Focus2ActivityTest.java 48 private Button mCenterButton;
65 mCenterButton = (Button) a.findViewById(R.id.centerButton);
78 mLeftButton.getRight() < mCenterButton.getLeft());
80 mCenterButton.getRight() < mRightButton.getLeft());
109 assertTrue("center button should be focused", mCenterButton.isFocused());
Focus2AndroidTest.java 62 private Button mCenterButton;
81 mCenterButton = (Button) mRoot.findViewById(R.id.centerButton);
95 mLeftButton.getRight() < mCenterButton.getLeft());
97 mCenterButton.getRight() < mRightButton.getLeft());
110 mCenterButton,

Completed in 264 milliseconds