/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
D | ChangeTouchModeTest.java | 48 assertFalse("touch mode", getActivity().isInTouchMode()); in testPreconditions() 54 assertTrue("touch mode", getActivity().isInTouchMode()); in testTouchingScreenEntersTouchMode() 62 assertFalse("touch mode", getActivity().isInTouchMode()); in DISABLE_testDpadDirectionLeavesTouchMode() 79 assertFalse(otherActivity.isInTouchMode()); in testTouchModeFalseAcrossActivites() 95 assertTrue(otherActivity.isInTouchMode()); in testTouchModeTrueAcrossActivites() 106 assertFalse("touch mode", getActivity().isInTouchMode()); in testTouchModeChangedInOtherActivity() 113 assertFalse(otherActivity.isInTouchMode()); in testTouchModeChangedInOtherActivity() 115 assertTrue(otherActivity.isInTouchMode()); in testTouchModeChangedInOtherActivity() 125 assertTrue("touch mode", getActivity().isInTouchMode()); in testTouchModeChangedInOtherActivity()
|
D | TouchModeFocusChangeTest.java | 55 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 | 52 assertFalse("should not be in touch mode to start off", mButton.isInTouchMode()); in testPreconditions() 60 assertTrue("should be in touch mode", mButton.isInTouchMode()); in testClickButtonEditTextKeepsFocus() 72 assertTrue("clicking edit text should have entered touch mode", mButton.isInTouchMode()); in testClickEditTextGivesItFocus() 88 assertTrue("should be in touch mode", mButton.isInTouchMode()); in testEnterTouchModeGivesFocusBackToFocusableInTouchMode()
|
D | StartInTouchWithViewInFocusTest.java | 50 assertTrue("should start in touch mode", mEditText.isInTouchMode()); in testPreconditions() 57 assertFalse("should have left touch mode", mEditText.isInTouchMode()); in DISABLE_testKeyDownLeavesTouchModeAndGoesToNextView() 64 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 | 112 assertFalse(a.beforeDescendantsChild.isInTouchMode()); in testBeforeDescendantsEnterTouchMode() 115 assertTrue(a.beforeDescendantsChild.isInTouchMode()); in testBeforeDescendantsEnterTouchMode() 129 assertFalse(a.afterDescendantsChild.isInTouchMode()); in testAfterDescendantsEnterTouchMode() 132 assertTrue(a.afterDescendantsChild.isInTouchMode()); in testAfterDescendantsEnterTouchMode()
|
D | ScrollingThroughListOfFocusablesTest.java | 234 if (mListView.isInTouchMode()) { in ensureNotInTouchMode()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListManagedCursorTest.java | 67 assertTrue("List changed to touch mode", !mListView.isInTouchMode()); in testKeyScrolling() 86 assertTrue("List did not change to touch mode", mListView.isInTouchMode()); in testKeyScrollingToTouchMode() 101 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/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridPaddingTest.java | 42 assertTrue("Not in touch mode", mGridView.isInTouchMode()); in testPreconditions()
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
D | MenuWith1ItemTest.java | 42 assertFalse(mActivity.getButton().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 | 254 if (adapter == null || isInTouchMode()) { in lookForSelectablePosition() 1324 setSelectedPositionInt(mAdapter == null || isInTouchMode() ? in layoutChildren() 1329 setSelectedPositionInt(mAdapter == null || isInTouchMode() ? in layoutChildren() 1606 if (!isInTouchMode()) { in setSelection()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
D | ListWithFirstScreenUnSelectableTest.java | 45 assertTrue(mListView.isInTouchMode()); in testPreconditions()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
D | ListWithEditTextHeaderTest.java | 48 assertFalse("out of touch-mode", mListView.isInTouchMode()); in testPreconditions()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootImplTest.java | 89 sOriginalTouchMode = view.isInTouchMode(); in setUpClass() 294 assertThat(view.isInTouchMode()).isFalse(); in whenTouchModeChanges_viewRootIsNotified()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 302 msg->body.touchMode.isInTouchMode = body.touchMode.isInTouchMode; in getSanitizedCopy() 675 status_t InputPublisher::publishTouchModeEvent(uint32_t seq, int32_t eventId, bool isInTouchMode) { in publishTouchModeEvent() argument 679 mChannel->getName().c_str(), toString(isInTouchMode)); in publishTouchModeEvent() 687 msg.body.touchMode.isInTouchMode = isInTouchMode; in publishTouchModeEvent() 1405 event->initialize(msg->body.touchMode.eventId, msg->body.touchMode.isInTouchMode); in initializeTouchModeEvent() 1515 toString(msg.body.touchMode.isInTouchMode)); in dump()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 217 bool isInTouchMode; member 410 status_t publishTouchModeEvent(uint32_t seq, int32_t eventId, bool isInTouchMode);
|
D | Input.h | 915 inline bool isInTouchMode() const { return mIsInTouchMode; } in isInTouchMode() function 917 void initialize(int32_t id, bool isInTouchMode);
|
/frameworks/base/core/java/android/view/ |
D | WindowlessWindowManager.java | 192 return isInTouchMode() ? res | WindowManagerGlobal.ADD_FLAG_IN_TOUCH_MODE : res; in addToDisplay() 247 private boolean isInTouchMode() { in isInTouchMode() method in WindowlessWindowManager
|
/frameworks/base/core/jni/ |
D | android_view_InputEventReceiver.cpp | 430 getInputChannelName().c_str(), toString(touchModeEvent->isInTouchMode())); in consumeEvents() 434 jboolean(touchModeEvent->isInTouchMode())); in consumeEvents()
|
/frameworks/native/libs/input/tests/ |
D | StructLayout_test.cpp | 108 CHECK_OFFSET(InputMessage::Body::TouchMode, isInTouchMode, 4); in TestInputMessageAlignment()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 135 public void onTouchModeChanged(boolean isInTouchMode) { 136 if (!isInTouchMode && hasFocus() && isDescendantClipped(getFocusedChild())) { 773 if (!isInTouchMode() && isDescendantClipped(focused)) {
|