Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DSensitiveContentProtectionManagerServiceContentTest.java109 mPackageInfo.getWindowToken(), mPackageInfo.getPkg(), mPackageInfo.getUid(), true); in testExemptedRecorderPackageForScreenCapture()
117 mPackageInfo.getWindowToken(), mPackageInfo.getPkg(), mPackageInfo.getUid(), true); in testBlockAppWindowForScreenCapture()
127 mPackageInfo.getWindowToken(), mPackageInfo.getPkg(), mPackageInfo.getUid(), false); in testUnblockAppWindowForScreenCapture()
136 mPackageInfo.getWindowToken(), mPackageInfo.getPkg(), mPackageInfo.getUid(), true); in testAppWindowIsUnblockedBeforeScreenCapture()
144 mPackageInfo.getWindowToken(), mPackageInfo.getPkg(), mPackageInfo.getUid(), true); in testAppWindowsAreUnblockedOnScreenCaptureEnd()
159 mPackageInfo.getWindowToken(), mPackageInfo.getPkg(), mPackageInfo.getUid(), true); in testAutofillServicePackageExemption()
168 mPackageInfo.getWindowToken(), mPackageInfo.getPkg(), mPackageInfo.getUid(), true); in testDeveloperOptionDisableFeature()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTrustedOverlayTests.java116 tokens[0] = rootView.getWindowToken(); in setSpyWindowDoesntCrash()
123 tokens[0] = rootView.getWindowToken(); in setSpyWindowDoesntCrash()
161 tokens[0] = rootView.getWindowToken(); in testTrustedOverlayChildHelper()
168 tokens[0] = rootView.getWindowToken(); in testTrustedOverlayChildHelper()
189 tokens[1] = getWindowToken(); in testTrustedOverlayChildHelper()
DWindowTokenTests.java116 assertEquals(token, dc.getWindowToken(token.token)); in testChildRemoval()
123 assertEquals(token, dc.getWindowToken(token.token)); in testChildRemoval()
128 assertEquals(null, dc.getWindowToken(token.token)); in testChildRemoval()
141 assertNotNull(mDisplayContent.getWindowToken(token.token)); in testTokenRemovalProcess()
148 assertNull(mDisplayContent.getWindowToken(token.token)); in testTokenRemovalProcess()
/frameworks/base/services/core/java/com/android/server/wm/
DSensitiveContentPackages.java54 if ((sensitiveContentAppProtection() && windowToken == info.getWindowToken()) in shouldBlockScreenCaptureForApp()
55 || (sensitiveNotificationAppProtection() && info.getWindowToken() == null) in shouldBlockScreenCaptureForApp()
157 public IBinder getWindowToken() { in getWindowToken() method in SensitiveContentPackages.PackageInfo
DEmbeddedWindowController.java80 final IBinder windowToken = window.getWindowToken(); in add()
119 mWindowsByWindowToken.remove(ew.getWindowToken()); in remove()
131 mWindowsByWindowToken.remove(ew.getWindowToken()); in onWindowRemoved()
309 public IBinder getWindowToken() { in getWindowToken() method in EmbeddedWindowController.EmbeddedWindow
DInputTarget.java36 IBinder getWindowToken(); in getWindowToken() method
DAccessibilityWindowsPopulator.java204 final IBinder iWindow = inputWindowHandle.getWindowToken(); in getWindowsTransformMatrix()
337 final IBinder newWindowToken = newWindows.get(i).getWindowToken(); in hasWindowsChanged()
338 final IBinder oldWindowToken = oldWindows.get(i).getWindowToken(); in hasWindowsChanged()
399 final IBinder iBinder = windowHandle.getWindowToken(); in generateInverseMatrixBasedOnProperMagnificationSpecForDisplay()
678 final IBinder window = inputWindowHandle.getWindowToken(); in initializeData()
/frameworks/base/core/java/android/view/
DImeInsetsSourceConsumer.java161 return getImm().requestImeShow(mController.getHost().getWindowToken(), statsToken) in requestShow()
200 getImm().notifyImeHidden(mController.getHost().getWindowToken(), statsToken); in notifyHidden()
208 final IBinder window = mController.getHost().getWindowToken(); in removeSurface()
254 final IBinder window = mController.getHost().getWindowToken(); in onPerceptible()
DViewRootInsetsControllerHost.java249 public IBinder getWindowToken() { in getWindowToken() method in ViewRootInsetsControllerHost
257 return view.getWindowToken(); in getWindowToken()
DSurfaceControlViewHost.java498 public IWindow getWindowToken() { in getWindowToken() method in SurfaceControlViewHost
571 return mWm.getInputTransferToken(getWindowToken().asBinder()); in getInputTransferToken()
DInputWindowHandle.java267 public @Nullable IBinder getWindowToken() { in getWindowToken() method in InputWindowHandle
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListWithEditTextHeaderTest.java74 assertNotNull("header is not attached to a window (?!)", header.getWindowToken()); in testScrollingDoesNotDetachHeaderViewFromWindow()
86 assertNotNull("header has lost its window", header.getWindowToken()); in testScrollingDoesNotDetachHeaderViewFromWindow()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java185 if (mOwnerView.getWindowToken() == null) {
348 if (mOwnerView.getWindowToken() == null) { in setVisible()
370 mContainerLayoutParams.token = mOwnerView.getWindowToken(); in setVisible()
450 if (mOwnerView.getWindowToken() == null) return; in refreshPositioningVariables()
/frameworks/base/core/java/android/view/autofill/
DAutofillPopupWindow.java201 public IBinder getWindowToken() { in update()
202 return anchor.getWindowToken(); in update()
278 anchor.getWindowToken()); in showAsDropDown()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DMainActivity.java138 IBinder token = getWindow().getDecorView().getWindowToken(); in updateWallOff()
155 IBinder token = getWindow().getDecorView().getWindowToken(); in updateDispOff()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureContextTest.java54 assertThat(newCtx.getWindowToken()).isEqualTo(windowToken); in testConstructorAdditionalFlags()
/frameworks/base/core/java/android/webkit/
DFindActionModeCallback.java238 mInput.hideSoftInputFromWindow(mWebView.getWindowToken(), 0); in onDestroyActionMode()
252 mInput.hideSoftInputFromWindow(mWebView.getWindowToken(), 0); in onActionItemClicked()
/frameworks/layoutlib/bridge/src/android/view/
DView_Delegate.java43 /*package*/ static IBinder getWindowToken(View thisView) { in getWindowToken() method in View_Delegate
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/
DTestActivity.java110 boolean result = imm.hideSoftInputFromWindow(mEditText.getWindowToken(), flags); in hideImeWithInputMethodManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DEditTextActivity.java134 imm.hideSoftInputFromWindow(mEditText.getWindowToken(), 0); in hideIme()
/frameworks/base/core/java/android/window/
DWindowInfosListenerForTest.java225 windowInfos.add(new WindowInfo(handle.getWindowToken(), handle.name, handle.displayId, in buildWindowInfos()
/frameworks/base/core/java/android/view/accessibility/
DIAccessibilityManager.aidl85 IBinder getWindowToken(int windowId, int userId); in getWindowToken() method
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DSystemWindows.java272 view != null ? mViewRoots.get(view).getWindowToken() : null); in setShellRootAccessibilityWindow()
337 IBinder token = rootView.getWindowToken(); in setTouchableRegionForWindow()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerView.java156 manager.hideSoftInputFromWindow(mAutoCompleteTextView.getWindowToken(), 0); in onItemClick()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java893 viewForWindowFocus.getWindowToken(), startInputFlags, softInputMode, in onPostWindowGainedFocus()
1036 focusedView != null ? focusedView.getWindowToken() : null, startInputFlags, in startInputOnWindowFocusGainInternal()
2355 view.getWindowToken(), in showSoftInput()
2398 rootView.getWindowToken(), in showSoftInputUnchecked()
2489 if (servedView == null || servedView.getWindowToken() != windowToken) { in hideSoftInputFromWindow()
2546 return IInputMethodManagerGlobalInvoker.hideSoftInput(mClient, view.getWindowToken(), in hideSoftInputFromView()
3004 if (servedView == null || servedView.getWindowToken() != windowToken) { in toggleSoftInputFromWindow()
3033 hideSoftInputFromWindow(view.getWindowToken(), hideFlags, in toggleSoftInput()
3196 windowGainingFocus = view.getWindowToken(); in startInputInner()
3615 rootView.getWindowToken(), in closeCurrentInput()
[all …]

1234