Home
last modified time | relevance | path

Searched refs:getWindowToken (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DTrustedPresentationListenerTest.java130 mActivity.getWindow().getDecorView().getWindowToken(), mThresholds, Runnable::run, in testAddTrustedPresentationListenerOnWindow()
140 mActivity.getWindow().getDecorView().getWindowToken(), mThresholds, Runnable::run, in testRemoveTrustedPresentationListenerOnWindow()
178 mActivity.getWindow().getDecorView().getWindowToken(), mThresholds, in testAddDuplicateListenerUpdatesThresholds()
190 mActivity.getWindow().getDecorView().getWindowToken(), mThresholds, in testAddDuplicateThresholds()
196 mActivity.getWindow().getDecorView().getWindowToken(), mThresholds, in testAddDuplicateThresholds()
243 windowManager.registerTrustedPresentationListener(embeddedView.getWindowToken(), in testAddListenerToScvh()
DSurfaceControlViewHostTests.java672 globalTapOnWindowCenter(mEmbeddedView::getWindowToken); in testFocusWithTouch()
679 globalTapOnWindowCenter(mViewParent::getWindowToken); in testFocusWithTouch()
699 embeddedViewChildParams.token = mEmbeddedView.getWindowToken(); in testChildWindowFocusable()
706 globalTapOnWindowCenter(embeddedViewChild::getWindowToken); in testChildWindowFocusable()
714 globalTapOnWindowCorner(mEmbeddedView::getWindowToken); in testChildWindowFocusable()
735 return mTestService.getWindowToken(); in testFocusWithTouchCrossProcess()
746 globalTapOnWindowCenter(mViewParent::getWindowToken); in testFocusWithTouchCrossProcess()
917 globalTapOnWindowCenter(mEmbeddedView::getWindowToken); in testCanCopySurfacePackage()
1047 globalTapOnWindowCenter(mEmbeddedView::getWindowToken); in testCanReplaceSurfacePackage()
1308 waitForWindowVisible(mTestService.getWindowToken())); in testHostInputTokenAllowsObscuredTouches()
[all …]
/cts/tests/surfacecontrol/scvhapp/src/android/server/wm/scvh/
DICrossProcessSurfaceControlViewHostTestService.aidl26 IBinder getWindowToken(); in getWindowToken() method
DCrossProcessSurfaceControlViewHostTestService.java131 public IBinder getWindowToken() { in getWindowToken() method in CrossProcessSurfaceControlViewHostTestService.ServiceImpl
132 return mView.getWindowToken(); in getWindowToken()
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DWindowManagerUtil.java157 final WindowTokenProto windowToken = activity.getWindowToken(); in collectWindowStates()
161 final WindowTokenProto windowToken = child.getWindowToken(); in collectWindowStates()
201 final WindowTokenProto windowToken = activity.getWindowToken(); in collectActivityRecords()
205 final WindowTokenProto windowToken = child.getWindowToken(); in collectActivityRecords()
/cts/hostsidetests/testharness/app/src/android/testharness/app/
DTestHarnessActivity.java55 textView.getWindowToken(), in onResume()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperOverlayTestActivity.java53 IBinder windowToken = window.getDecorView().getWindowToken(); in sendWallpaperCommand()
DWallpaperManagerTest.java943 IBinder windowToken = window.getDecorView().getWindowToken(); in wallpaperCallbackMainThreadTest()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DWindowCreationUtils.java108 params.token = activity.getWindow().getDecorView().getWindowToken(); in layoutParamsForTestWindow()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DLoginActivity.java172 imm.hideSoftInputFromWindow(mUsernameEditText.getWindowToken(), 0); in save()
408 imm.hideSoftInputFromWindow(mUsernameEditText.getWindowToken(), 0); in hideSoftInput()
DMultipleStepsSignInActivity.java108 imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(), 0); in hideSoftInput()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCtsWindowInfoUtils.java198 view::getWindowToken, view.getDisplay().getDisplayId()); in waitForWindowVisible()
217 () -> window.getDecorView().getWindowToken()); in waitForWindowOnTop()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowInputTests.java228 getWindowBoundsInDisplaySpace(mView::getWindowToken)); in testMoveWindowAndTap()
256 TimeUnit.SECONDS, mView::getWindowToken, mView.getDisplay().getDisplayId())); in testMoveWindowAndTap()
583 TimeUnit.SECONDS, overlapView::getWindowToken, in testWindowBecomesUnTouchable()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java278 getOnMainSync(() -> imm.hideSoftInputFromWindow(editText.getWindowToken(), 0))); in testBasicShowHideSoftInput()
466 nonFocusedEditText.getWindowToken(), 0)); in testShowHideSoftInputShouldBeIgnoredOnNonFocusedView()
492 runOnMainSync(() -> imm.toggleSoftInputFromWindow(editText.getWindowToken(), 0, 0)); in testToggleSoftInput()
499 runOnMainSync(() -> imm.toggleSoftInputFromWindow(editText.getWindowToken(), 0, 0)); in testToggleSoftInput()
560 runOnMainSync(() -> imm.hideSoftInputFromWindow(editText.getWindowToken(), 0)); in testShowHideKeyboardWithInterval()
603 imm.hideSoftInputFromWindow(editText.getWindowToken(), 0 /* flags */)); in testShowHideKeyboardImmediately()
DInputMethodStatsTest.java354 .hideSoftInputFromWindow(textView.getWindowToken(), 0 /* flags */); in testFromUser_withImm_hideImeRequestFinished()
DImeInsetsVisibilityTest.java375 lp.token = testActivity.getWindow().getDecorView().getWindowToken(); in testEditorWontCoveredByImeWhenInputWindowBehindPanel()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java118 .that(session.context.getWindowToken()).isNotNull(); in assertMainSessionContext()
138 .that(session.context.getWindowToken()).isNull(); in assertChildSessionContext()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DCapturedActivity.java212 Rect bounds = getWindowBoundsInWindowSpace(mParentLayout::getWindowToken); in runTest()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DHideOverlayWindowsTest.java332 params.token = mTextView.getWindowToken(); in onNewIntent()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionMirroringTest.java385 activity.getWindow().getDecorView()::getWindowToken; in validateMirroredHierarchy()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java732 params.token = mActivity.getWindow().getDecorView().getWindowToken(); in testChangeWindowSize_transitionTimeIsChanged()
910 params.token = activity.getWindow().getDecorView().getWindowToken();
DAccessibilityMagnificationTest.java1466 params.token = activity.getWindow().getDecorView().getWindowToken(); in addMagnifiableWindowInActivity()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java2313 assertNull(view.getWindowToken()); in testGetWindowToken()
2317 assertNotNull(view.getWindowToken()); in testGetWindowToken()
4081 () -> imm.hideSoftInputFromInputMethod(mockView.getWindowToken(), 0)); in testSetScrollContainer()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt2556 name: "getWindowToken"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt18106 method @Nullable public android.os.IBinder getWindowToken();

12