Searched refs:isInTouchMode (Results 1 – 13 of 13) sorted by relevance
114 fun isInTouchMode(): Boolean { in <lambda>() method115 return activity.window.decorView.isInTouchMode in <lambda>()127 PollingCheck.waitFor { isInTouchMode() } in <lambda>()128 assertThat(isInTouchMode()).isTrue() in <lambda>()136 val newTouchMode = !isInTouchMode() in <lambda>()149 assertThat(touchModeChangeListener.isInTouchMode).isEqualTo(newTouchMode) in <lambda>()154 var isInTouchMode = false in <lambda>() variable157 isInTouchMode = mode in <lambda>()175 assertThat(isInTouchMode()).isFalse() in <lambda>()188 assertThat(detachedView.isInTouchMode()).isEqualTo(defaultInTouchMode) in <lambda>()[all …]
65 contentView.getViewTreeObserver().addOnTouchModeChangeListener(isInTouchMode -> Log.d( in onCreate()66 getClass().getSimpleName(), "onTouchModeChanged isInTouchMode=" + isInTouchMode)); in onCreate()
73 () -> !listView.isInTouchMode()); in reAttachListViewAdapter()
59 () -> !mActivity.getWindow().getDecorView().isInTouchMode()); in setUp()
398 if (mListView.isInTouchMode()) { in testSetMultiChoiceItemsWithParamInt()425 if (mListView.isInTouchMode()) { in testSetMultiChoiceItemsWithParamCharSequence()453 if (mListView.isInTouchMode()) { in testSetSingleChoiceItemsWithParamInt()480 if (mListView.isInTouchMode()) { in testSetSingleChoiceItemsWithParamCharSequence()508 if (mListView.isInTouchMode()) { in testSetSingleChoiceItems()
177 if (mListView.isInTouchMode()) { in testSetCursor()
193 primaryActivity.getWindow().getDecorView().isInTouchMode()); in setupActivities()195 secondaryActivity.getWindow().getDecorView().isInTouchMode()); in setupActivities()
190 outMsg->body.touchMode.isInTouchMode = msg.body.touchMode.isInTouchMode; in sanitizeMessage()
1368 assertFalse("test sanity", view.isInTouchMode()); in testAddFocusablesWithoutTouchMode()1375 when(view.isInTouchMode()).thenReturn(true); in testAddFocusablesInTouchMode()2601 assertEquals(defaultInTouchMode, detachedView.isInTouchMode()); in testIsInTouchMode()2605 assertFalse(attachedView.isInTouchMode()); in testIsInTouchMode()4101 assertFalse(mockView.isInTouchMode()); in testTouchMode()4102 assertFalse(fitWindowsView.isInTouchMode()); in testTouchMode()4113 assertTrue(mockView.isInTouchMode()); in testTouchMode()4114 assertTrue(fitWindowsView.isInTouchMode()); in testTouchMode()4124 assertFalse(mockView.isInTouchMode()); in testTouchMode()4125 assertFalse(fitWindowsView.isInTouchMode()); in testTouchMode()[all …]
1994 PollingCheck.waitFor(5_000L, () -> !h.top.isInTouchMode()); in testTouchscreenBlocksFocus()2034 () -> !h2.top.isInTouchMode()); in testTouchscreenBlocksFocus()3306 public boolean isInTouchMode() { in isInTouchMode() method in ViewGroupTest.MockViewGroup3307 super.isInTouchMode(); in isInTouchMode()
789 assertFalse(mPresentation.button1.isInTouchMode()); in testSetLocalFocus()797 PollingCheck.waitFor(() -> mPresentation.button1.isInTouchMode()); in testSetLocalFocus()
7569 assertFalse(mTextView.isInTouchMode()); in testTextIsSelectableFocusAndOnClick()7574 assertTrue(mTextView.isInTouchMode()); in testTextIsSelectableFocusAndOnClick()7581 assertTrue(mTextView.isInTouchMode()); in testTextIsSelectableFocusAndOnClick()7596 assertTrue(mTextView.isInTouchMode()); in testTextIsSelectableFocusAndOnClick()7603 assertTrue(mTextView.isInTouchMode()); in testTextIsSelectableFocusAndOnClick()
52834 method public boolean isInTouchMode();