Home
last modified time | relevance | path

Searched refs:isInTouchMode (Results 1 – 13 of 13) sorted by relevance

/cts/tests/input/src/android/input/cts/
DTouchModeTest.kt114 fun isInTouchMode(): Boolean { in <lambda>() method
115 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>() variable in android.input.cts.TouchModeTest.OnTouchModeChangeListenerImpl
157 isInTouchMode = mode in <lambda>()
175 assertThat(isInTouchMode()).isFalse() in <lambda>()
188 assertThat(detachedView.isInTouchMode()).isEqualTo(defaultInTouchMode) in <lambda>()
[all …]
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DTestFocusActivity.java65 contentView.getViewTreeObserver().addOnTouchModeChangeListener(isInTouchMode -> Log.d( in onCreate()
66 getClass().getSimpleName(), "onTouchModeChanged isInTouchMode=" + isInTouchMode)); in onCreate()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTestBase.java73 () -> !listView.isInTouchMode()); in reAttachListViewAdapter()
DExpandableListActivitySelectTest.java59 () -> !mActivity.getWindow().getDecorView().isInTouchMode()); in setUp()
DAlertDialog_BuilderTest.java398 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()
DAlertDialog_BuilderCursorTest.java177 if (mListView.isInTouchMode()) { in testSetCursor()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingFocusTests.java193 primaryActivity.getWindow().getDecorView().isInTouchMode()); in setupActivities()
195 secondaryActivity.getWindow().getDecorView().isInTouchMode()); in setupActivities()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp190 outMsg->body.touchMode.isInTouchMode = msg.body.touchMode.isInTouchMode; in sanitizeMessage()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java1368 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 …]
DViewGroupTest.java1994 PollingCheck.waitFor(5_000L, () -> !h.top.isInTouchMode()); in testTouchscreenBlocksFocus()
2034 () -> !h2.top.isInTouchMode()); in testTouchscreenBlocksFocus()
3306 public boolean isInTouchMode() { in isInTouchMode() method in ViewGroupTest.MockViewGroup
3307 super.isInTouchMode(); in isInTouchMode()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowTest.java789 assertFalse(mPresentation.button1.isInTouchMode()); in testSetLocalFocus()
797 PollingCheck.waitFor(() -> mPresentation.button1.isInTouchMode()); in testSetLocalFocus()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java7569 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()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt52834 method public boolean isInTouchMode();