/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
D | ChangeTouchModeTest.java | 47 assertFalse("touch mode", getActivity().isInTouchMode()); in testPreconditions() 53 assertTrue("touch mode", getActivity().isInTouchMode()); in testTouchingScreenEntersTouchMode() 61 assertFalse("touch mode", getActivity().isInTouchMode()); in DISABLE_testDpadDirectionLeavesTouchMode() 78 assertFalse(otherActivity.isInTouchMode()); in testTouchModeFalseAcrossActivites() 94 assertTrue(otherActivity.isInTouchMode()); in testTouchModeTrueAcrossActivites() 105 assertFalse("touch mode", getActivity().isInTouchMode()); in testTouchModeChangedInOtherActivity() 112 assertFalse(otherActivity.isInTouchMode()); in testTouchModeChangedInOtherActivity() 114 assertTrue(otherActivity.isInTouchMode()); in testTouchModeChangedInOtherActivity() 124 assertTrue("touch mode", getActivity().isInTouchMode()); in testTouchModeChangedInOtherActivity()
|
D | TouchModeFocusChangeTest.java | 54 assertFalse("we should not be in touch mode", mActivity.isInTouchMode()); in testPreconditions() 62 assertTrue("should be in touch mode", mActivity.isInTouchMode()); in testTouchButtonNotTakeFocus() 79 assertTrue("should be in touch mode", mActivity.isInTouchMode()); in DISABLE_testLeaveTouchModeWithDpadEvent() 84 assertFalse("should be out of touch mode", mActivity.isInTouchMode()); in DISABLE_testLeaveTouchModeWithDpadEvent()
|
D | TouchModeFocusableTest.java | 51 assertFalse("should not be in touch mode to start off", mButton.isInTouchMode()); in testPreconditions() 59 assertTrue("should be in touch mode", mButton.isInTouchMode()); in testClickButtonEditTextKeepsFocus() 71 assertTrue("clicking edit text should have entered touch mode", mButton.isInTouchMode()); in testClickEditTextGivesItFocus() 87 assertTrue("should be in touch mode", mButton.isInTouchMode()); in testEnterTouchModeGivesFocusBackToFocusableInTouchMode()
|
D | StartInTouchWithViewInFocusTest.java | 49 assertTrue("should start in touch mode", mEditText.isInTouchMode()); in testPreconditions() 56 assertFalse("should have left touch mode", mEditText.isInTouchMode()); in DISABLE_testKeyDownLeavesTouchModeAndGoesToNextView() 63 assertFalse("should have left touch mode", mEditText.isInTouchMode()); in DISABLE_testNonDirectionalKeyExitsTouchMode()
|
D | FocusableInTouchModeClickTest.java | 39 assertTrue("should start in touch mode", getActivity().getButton1().isInTouchMode()); in testPreconditions()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | TouchModeFlexibleAsserts.java | 39 !viewToTouch.isInTouchMode()) { in assertInTouchModeAfterClick() 44 + "touch mode", viewToTouch.isInTouchMode()); in assertInTouchModeAfterClick() 51 !viewToTouch.isInTouchMode()) { in assertInTouchModeAfterTap() 56 + "touch mode", viewToTouch.isInTouchMode()); in assertInTouchModeAfterTap() 64 while (checkForTouchMode.isInTouchMode() && amountLeft > 0) { in assertNotInTouchModeAfterKey() 73 + "pressing key event, still in touch mode", checkForTouchMode.isInTouchMode()); in assertNotInTouchModeAfterKey()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | DescendantFocusabilityTest.java | 113 assertFalse(a.beforeDescendantsChild.isInTouchMode()); in testBeforeDescendantsEnterTouchMode() 116 assertTrue(a.beforeDescendantsChild.isInTouchMode()); in testBeforeDescendantsEnterTouchMode() 130 assertFalse(a.afterDescendantsChild.isInTouchMode()); in testAfterDescendantsEnterTouchMode() 133 assertTrue(a.afterDescendantsChild.isInTouchMode()); in testAfterDescendantsEnterTouchMode()
|
D | ScrollingThroughListOfFocusablesTest.java | 230 if (mListView.isInTouchMode()) { in ensureNotInTouchMode()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListManagedCursorTest.java | 66 assertTrue("List changed to touch mode", !mListView.isInTouchMode()); in testKeyScrolling() 85 assertTrue("List did not change to touch mode", mListView.isInTouchMode()); in testKeyScrollingToTouchMode() 100 assertTrue("List still in touch mode", !mListView.isInTouchMode()); in arrowScroll()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | LLOfButtons1.java | 62 public boolean isInTouchMode() { in isInTouchMode() method in LLOfButtons1 63 return mFirstButton.isInTouchMode(); in isInTouchMode()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewRootImpl_Delegate.java | 31 /*package*/ static boolean isInTouchMode() { in isInTouchMode() method in ViewRootImpl_Delegate
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | DropDownListView.java | 242 public boolean isInTouchMode() { in isInTouchMode() method in DropDownListView 244 return (mHijackFocus && mListSelectionHidden) || super.isInTouchMode(); in isInTouchMode()
|
D | ListViewCompat.java | 162 if (adapter == null || isInTouchMode()) { in lookForSelectablePosition()
|
D | ListPopupWindow.java | 737 if (!mModal || mDropDownList.isInTouchMode()) { in show()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridPaddingTest.java | 41 assertTrue("Not in touch mode", mGridView.isInTouchMode()); in testPreconditions()
|
/frameworks/base/core/java/android/widget/ |
D | DropDownListView.java | 315 public boolean isInTouchMode() { in isInTouchMode() method in DropDownListView 317 return (mHijackFocus && mListSelectionHidden) || super.isInTouchMode(); in isInTouchMode()
|
D | GridView.java | 236 if (adapter == null || isInTouchMode()) { in lookForSelectablePosition() 1303 setSelectedPositionInt(mAdapter == null || isInTouchMode() ? in layoutChildren() 1308 setSelectedPositionInt(mAdapter == null || isInTouchMode() ? in layoutChildren() 1585 if (!isInTouchMode()) { in setSelection()
|
D | AbsListView.java | 1976 if (gainFocus && mSelectedPosition < 0 && !isInTouchMode()) { in onFocusChanged() 2743 return (isFocused() && !isInTouchMode()) || (touchModeDrawsInPressedState() && isPressed()); in shouldShowSelector() 2999 final int touchMode = isInTouchMode() ? TOUCH_MODE_ON : TOUCH_MODE_OFF; in onWindowFocusChanged() 3727 public void onTouchModeChanged(boolean isInTouchMode) { in onTouchModeChanged() argument 3728 if (isInTouchMode) { in onTouchModeChanged() 5148 final boolean inTouchMode = isInTouchMode(); 5562 if (isInTouchMode()) { in handleDataChanged() 5608 if (!isInTouchMode()) { in handleDataChanged() 7165 if (!isInTouchMode()) { in setSelectionFromTop()
|
D | TabHost.java | 206 public void onTouchModeChanged(boolean isInTouchMode) { in onTouchModeChanged() argument
|
D | ListPopupWindow.java | 699 if (!mModal || mDropDownList.isInTouchMode()) { in show()
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
D | MenuWith1ItemTest.java | 47 assertFalse(mActivity.getButton().isInTouchMode()); in testPreconditions()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
D | ListWithFirstScreenUnSelectableTest.java | 42 assertTrue(mListView.isInTouchMode()); in testPreconditions()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
D | ListWithEditTextHeaderTest.java | 47 assertFalse("out of touch-mode", mListView.isInTouchMode()); in testPreconditions()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 111 public void onTouchModeChanged(boolean isInTouchMode) { 112 if (!isInTouchMode && hasFocus() && isDescendantClipped(getFocusedChild())) { 606 if (!isInTouchMode() && isDescendantClipped(focused)) {
|
/frameworks/base/core/java/android/view/ |
D | ViewTreeObserver.java | 173 public void onTouchModeChanged(boolean isInTouchMode); in onTouchModeChanged() argument
|