Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowTokenTests.java82 assertEquals(token, dc.getWindowToken(token.token)); in testChildRemoval()
89 assertEquals(token, dc.getWindowToken(token.token)); in testChildRemoval()
94 assertEquals(null, dc.getWindowToken(token.token)); in testChildRemoval()
145 assertNotNull(mDisplayContent.getWindowToken(token.token)); in testTokenRemovalProcess()
152 assertNull(mDisplayContent.getWindowToken(token.token)); in testTokenRemovalProcess()
DAppWindowContainerControllerTests.java57 assertNotNull(mDisplayContent.getWindowToken(controller.mToken.asBinder())); in testRemoveContainer()
64 assertNull(mDisplayContent.getWindowToken(controller.mToken.asBinder())); in testRemoveContainer()
DWindowTestUtils.java269 return (AppWindowToken) dc.getWindowToken(mToken.asBinder()); in getAppWindowToken()
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
DImfBaseTestCase.java84 mImm.hideSoftInputFromWindow(editText.getWindowToken(), 0); in verifyEditTextAdjustment()
110 mImm.hideSoftInputFromWindow(editText.getWindowToken(), 0); in verifyEditTextAdjustment()
130 mImm.hideSoftInputFromWindow(servedView.getWindowToken(), 0); in destructiveCheckImeUp()
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListWithEditTextHeaderTest.java73 assertNotNull("header is not attached to a window (?!)", header.getWindowToken()); in testScrollingDoesNotDetachHeaderViewFromWindow()
85 assertNotNull("header has lost its window", header.getWindowToken()); in testScrollingDoesNotDetachHeaderViewFromWindow()
/frameworks/base/core/java/android/view/autofill/
DAutofillPopupWindow.java158 public IBinder getWindowToken() { in update()
159 return anchor.getWindowToken(); in update()
203 anchor.getWindowToken()); in showAsDropDown()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DView_Delegate.java40 /*package*/ static IBinder getWindowToken(View thisView) { in getWindowToken() method in View_Delegate
/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()
DTimePickerSpinnerDelegate.java462 inputMethodManager.hideSoftInputFromWindow(mDelegator.getWindowToken(), 0); in updateInputState()
465 inputMethodManager.hideSoftInputFromWindow(mDelegator.getWindowToken(), 0); in updateInputState()
468 inputMethodManager.hideSoftInputFromWindow(mDelegator.getWindowToken(), 0); in updateInputState()
DDatePickerSpinnerDelegate.java639 inputMethodManager.hideSoftInputFromWindow(mDelegator.getWindowToken(), 0); in updateInputState()
642 inputMethodManager.hideSoftInputFromWindow(mDelegator.getWindowToken(), 0); in updateInputState()
645 inputMethodManager.hideSoftInputFromWindow(mDelegator.getWindowToken(), 0); in updateInputState()
/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/tests/ImfTest/src/com/android/imftest/samples/
DButtonActivity.java53 imm.hideSoftInputFromInputMethod(v.getWindowToken(), 0); in onCreate()
/frameworks/base/core/java/android/view/accessibility/
DIAccessibilityManager.aidl63 IBinder getWindowToken(int windowId, int userId); in getWindowToken() method
/frameworks/base/core/java/android/webkit/
DFindActionModeCallback.java224 mInput.hideSoftInputFromWindow(mWebView.getWindowToken(), 0); in onDestroyActionMode()
238 mInput.hideSoftInputFromWindow(mWebView.getWindowToken(), 0); in onActionItemClicked()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java176 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId); in clearWindowContentFrameStats()
196 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId); in getWindowContentFrameStats()
DListFragment.java244 setListShown(true, getView().getWindowToken() != null); in setListAdapter()
DSearchDialog.java511 getWindow().getDecorView().getWindowToken(), 0); in hide()
647 imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(), 0)) { in onBackPressed()
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java237 if (params.token == viewj.getWindowToken() in getRootViews()
259 if (view.getWindowToken() == windowToken) { in getWindowView()
455 imm.windowDismissed(mViews.get(index).getWindowToken()); in removeViewLocked()
/frameworks/base/services/core/java/com/android/server/policy/
DImmersiveModeConfirmation.java202 lp.token = getWindowToken(); in getClingWindowLayoutParams()
217 public IBinder getWindowToken() { in getWindowToken() method in ImmersiveModeConfirmation
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java1099 if (mServedView == null || mServedView.getWindowToken() != windowToken) { in hideSoftInputFromWindow()
1127 if (mServedView == null || mServedView.getWindowToken() != windowToken) { in toggleSoftInputFromWindow()
1363 mServedView.getWindowToken() == appWindowToken) { in windowDismissed()
1539 rootView.getWindowToken(), controlFlags, softInputMode, windowFlags)) { in onPostWindowFocus()
1551 rootView.getWindowToken(), controlFlags, softInputMode, windowFlags, null, in onPostWindowFocus()
2451 sb.append(",window=" + view.getWindowToken()); in dumpViewInfo()
/frameworks/support/transition/api14/android/support/transition/
DViewUtilsApi14.java37 return new WindowIdApi14(view.getWindowToken()); in getWindowId()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerView.java156 manager.hideSoftInputFromWindow(mAutoCompleteTextView.getWindowToken(), 0); in onItemClick()
/frameworks/base/core/java/com/android/internal/view/
DTooltipPopup.java96 outParams.token = anchorView.getWindowToken(); in computePosition()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGuidedActionAdapterGroup.java145 mgr.hideSoftInputFromWindow(v.getWindowToken(), 0); in closeIme()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordView.java140 mImm.hideSoftInputFromWindow(getWindowToken(), 0); in onPause()

123