HomeSort by relevance Sort by last modified time
    Searched refs:isInTouchMode (Results 1 - 25 of 73) sorted by null

1 2 3

  /frameworks/base/tools/layoutlib/bridge/src/android/view/
ViewRootImpl_Delegate.java 31 /*package*/ static boolean isInTouchMode() {
  /frameworks/base/core/tests/coretests/src/android/widget/touchmode/
ChangeTouchModeTest.java 47 assertFalse("touch mode", getActivity().isInTouchMode());
53 assertTrue("touch mode", getActivity().isInTouchMode());
61 assertFalse("touch mode", getActivity().isInTouchMode());
78 assertFalse(otherActivity.isInTouchMode());
94 assertTrue(otherActivity.isInTouchMode());
105 assertFalse("touch mode", getActivity().isInTouchMode());
112 assertFalse(otherActivity.isInTouchMode());
114 assertTrue(otherActivity.isInTouchMode());
124 assertTrue("touch mode", getActivity().isInTouchMode());
StartInTouchWithViewInFocusTest.java 49 assertTrue("should start in touch mode", mEditText.isInTouchMode());
56 assertFalse("should have left touch mode", mEditText.isInTouchMode());
63 assertFalse("should have left touch mode", mEditText.isInTouchMode());
TouchModeFocusChangeTest.java 54 assertFalse("we should not be in touch mode", mActivity.isInTouchMode());
62 assertTrue("should be in touch mode", mActivity.isInTouchMode());
79 assertTrue("should be in touch mode", mActivity.isInTouchMode());
84 assertFalse("should be out of touch mode", mActivity.isInTouchMode());
TouchModeFocusableTest.java 52 assertFalse("should not be in touch mode to start off", mButton.isInTouchMode());
60 assertTrue("should be in touch mode", mButton.isInTouchMode());
71 assertTrue("clicking edit text should have entered touch mode", mButton.isInTouchMode());
86 assertTrue("should be in touch mode", mButton.isInTouchMode());
FocusableInTouchModeClickTest.java 39 assertTrue("should start in touch mode", getActivity().getButton1().isInTouchMode());
  /frameworks/base/core/tests/coretests/src/android/util/
TouchModeFlexibleAsserts.java 39 !viewToTouch.isInTouchMode()) {
44 + "touch mode", viewToTouch.isInTouchMode());
51 !viewToTouch.isInTouchMode()) {
56 + "touch mode", viewToTouch.isInTouchMode());
64 while (checkForTouchMode.isInTouchMode() && amountLeft > 0) {
73 + "pressing key event, still in touch mode", checkForTouchMode.isInTouchMode());
  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
LLOfButtons1.java 62 public boolean isInTouchMode() {
63 return mFirstButton.isInTouchMode();
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListManagedCursorTest.java 66 assertTrue("List changed to touch mode", !mListView.isInTouchMode());
85 assertTrue("List did not change to touch mode", mListView.isInTouchMode());
100 assertTrue("List still in touch mode", !mListView.isInTouchMode());
  /frameworks/base/core/tests/coretests/src/android/widget/gridview/
GridPaddingTest.java 41 assertTrue("Not in touch mode", mGridView.isInTouchMode());
  /frameworks/base/core/tests/coretests/src/android/view/menu/
MenuWith1ItemTest.java 47 assertFalse(mActivity.getButton().isInTouchMode());
79 mActivity.getButton().isInTouchMode());
84 assertTrue("menuItem.isInTouchMode()", menuItem.isInTouchMode());
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
DescendantFocusabilityTest.java 113 assertFalse(a.beforeDescendantsChild.isInTouchMode());
116 assertTrue(a.beforeDescendantsChild.isInTouchMode());
130 assertFalse(a.afterDescendantsChild.isInTouchMode());
133 assertTrue(a.afterDescendantsChild.isInTouchMode());
ScrollingThroughListOfFocusablesTest.java 230 if (mListView.isInTouchMode()) {
  /frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
ListWithFirstScreenUnSelectableTest.java 42 assertTrue(mListView.isInTouchMode());
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
DropDownListView.java 61 * When this boolean is true, isInTouchMode() returns true, otherwise it
62 * returns super.isInTouchMode().
243 public boolean isInTouchMode() {
245 return (mHijackFocus && mListSelectionHidden) || super.isInTouchMode();
ListViewCompat.java 158 if (adapter == null || isInTouchMode()) {
  /frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
ListWithEditTextHeaderTest.java 47 assertFalse("out of touch-mode", mListView.isInTouchMode());
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewWithDraggableItems.java 104 if (!v.isInTouchMode()) return false;
  /frameworks/base/core/java/android/widget/
DropDownListView.java 61 * When this boolean is true, isInTouchMode() returns true, otherwise it
62 * returns super.isInTouchMode().
315 public boolean isInTouchMode() {
317 return (mHijackFocus && mListSelectionHidden) || super.isInTouchMode();
GridView.java 236 if (adapter == null || isInTouchMode()) {
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SwipeableListView.java 447 public void onTouchModeChanged(boolean isInTouchMode) {
448 super.onTouchModeChanged(isInTouchMode);
449 if (!isInTouchMode) {
  /packages/apps/Launcher3/src/com/android/launcher3/widget/
WidgetsContainerView.java 137 if (!v.isInTouchMode()) return false;
  /frameworks/base/core/java/com/android/internal/widget/
ResolverDrawerLayout.java 109 public void onTouchModeChanged(boolean isInTouchMode) {
110 if (!isInTouchMode && hasFocus() && isDescendantClipped(getFocusedChild())) {
596 if (!isInTouchMode() && isDescendantClipped(focused)) {
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTreeObserverTest.java 410 public void onTouchModeChanged(boolean isInTouchMode) {
  /frameworks/base/core/java/android/view/
ViewTreeObserver.java 166 * @param isInTouchMode True if the view hierarchy is now in touch mode, false otherwise.
168 public void onTouchModeChanged(boolean isInTouchMode);
    [all...]

Completed in 425 milliseconds

1 2 3