Searched refs:newDisplayContext (Results 1 – 2 of 2) sorted by relevance
206 final Context newDisplayContext = mContext.createDisplayContext(display); in testInputMethodManagerDisplayId() local207 final InputMethodManager imm = newDisplayContext.getSystemService(InputMethodManager.class); in testInputMethodManagerDisplayId()
446 final Context newDisplayContext = mContext.createDisplayContext(display); in testDisplayHasAccess_ExceptionWhenAddViewWithoutPresentOnPrivateDisplay() local447 newDisplayContext.getSystemService(WindowManager.class).addView(new View(mContext), in testDisplayHasAccess_ExceptionWhenAddViewWithoutPresentOnPrivateDisplay()