Home
last modified time | relevance | path

Searched refs:mWindowContext (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DWindowMetricsTest.java52 private Context mWindowContext; field in WindowMetricsTest
61 mWindowContext = instContext.createDisplayContext(display) in setUp()
63 mWm = mWindowContext.getSystemService(WindowManager.class); in setUp()
68 final View view = new View(mWindowContext); in testAddViewAndRemoveView_GetMetrics_DoNotCrash()
/frameworks/base/core/tests/coretests/src/android/window/
DWindowContextTest.java89 private final WindowContext mWindowContext = createWindowContext(); field in WindowContextTest
97 .createWindowContextWindowManager(mWindowContext); in testCreateWindowContextWindowManagerAttachClientToken()
101 final View view = new View(mWindowContext); in testCreateWindowContextWindowManagerAttachClientToken()
105 assertEquals(mWindowContext.getWindowContextToken(), params.mWindowContextToken); in testCreateWindowContextWindowManagerAttachClientToken()
118 final IBinder token = mWindowContext.getWindowContextToken(); in testCreateWindowContextNewTokenFromClient()
126 final View testView = new View(mWindowContext); in testCreateWindowContextNewTokenFromClient()
140 mWindowContext.getSystemService(WindowManager.class).addView(testView, params); in testCreateWindowContextNewTokenFromClient()
153 mWindowContext.release(); in testCreateWindowContextNewTokenFromClient()
262 assertNotNull(mWindowContext.getResources().getDrawable(R.drawable.custom_drawable, in testGetCustomDrawable()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInputMethodDialogWindowContextTest.java80 private InputMethodDialogWindowContext mWindowContext; field in InputMethodDialogWindowContextTest
95 mWindowContext = new InputMethodDialogWindowContext(); in setUp()
135 final Context contextOnDefaultDisplay = mWindowContext.get(DEFAULT_DISPLAY); in testGetSettingsContext()
142 mWindowContext.get(mSecondaryDisplay.getDisplayId()); in testGetSettingsContext()
149 final Context context = mWindowContext.get(mSecondaryDisplay.getDisplayId()); in testGetSettingsContextOnDualDisplayContent()
/frameworks/base/services/core/java/com/android/server/wm/
DImmersiveModeConfirmation.java99 private Context mWindowContext; field in ImmersiveModeConfirmation
223 mWindowContext = null; in handleHide()
442 mWindowContext = mContext.createWindowContext( in createWindowManager()
444 mWindowManager = mWindowContext.getSystemService(WindowManager.class); in createWindowManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DTaskbarDelegate.java129 private Context mWindowContext; field in TaskbarDelegate
243 mWindowContext = mContext.createWindowContext(display, TYPE_APPLICATION, null); in init()
244 mScreenPinningNotify = new ScreenPinningNotify(mWindowContext); in init()
267 mWindowContext = null; in destroy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DImmersiveModeConfirmation.java116 private Context mWindowContext; field in ImmersiveModeConfirmation
250 mWindowContext = null; in handleHide()
517 mWindowContext = mDisplayContext.createWindowContext( in createWindowManager()
519 mWindowManager = mWindowContext.getSystemService(WindowManager.class); in createWindowManager()