Searched refs:newDisplayContext (Results 1 – 2 of 2) sorted by relevance
214 final Context newDisplayContext = mContext.createDisplayContext(display); in testInputMethodManagerDisplayId() local216 newDisplayContext.getSystemService(InputMethodManager.class); in testInputMethodManagerDisplayId()
490 final Context newDisplayContext = mContext.createDisplayContext(display); in testDisplayHasAccess_ExceptionWhenAddViewWithoutPresentOnPrivateDisplay() local491 newDisplayContext.getSystemService(WindowManager.class).addView(new View(mContext), in testDisplayHasAccess_ExceptionWhenAddViewWithoutPresentOnPrivateDisplay()