Searched refs:mPhoneWindow (Results 1 – 3 of 3) sorted by relevance
65 private PhoneWindow mPhoneWindow; field in PhoneWindowTest84 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_unset()93 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_default()102 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_shortEdges()111 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_never()120 assertThat(mPhoneWindow.getAttributes().layoutInDisplayCutoutMode, in layoutInDisplayCutoutMode_always()129 Drawable backgroundDrawable = mPhoneWindow.getDecorView().getBackground(); in testWindowBackground_colorLiteral()141 DecorView decorView = (DecorView) mPhoneWindow.getDecorView(); in testWindowBackgroundFallback_colorLiteral()154 mPhoneWindow.setBackgroundDrawable(new ColorDrawable(Color.CYAN)); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()157 mPhoneWindow.setBackgroundDrawable(null); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()[all …]
43 private PhoneWindow mPhoneWindow; field in PhoneWindowActionModeTest54 mPhoneWindow = (PhoneWindow) getActivity().getWindow(); in setUp()56 mPhoneWindow.setCallback(mWindowCallback); in setUp()63 ActionMode mode = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeWithCallback()73 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePrimaryFinishesPreviousMode()75 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePrimaryFinishesPreviousMode()87 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeFloatingFinishesPreviousMode()89 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModeFloatingFinishesPreviousMode()101 ActionMode mode1 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType1()103 ActionMode mode2 = mPhoneWindow.getDecorView().startActionMode( in testStartActionModePreservesPreviousModeOfDifferentType1()[all …]
42 private PhoneWindow mPhoneWindow; field in DecorContext67 mPhoneWindow = phoneWindow; in setPhoneWindow()76 return mPhoneWindow.getWindowManager(); in getSystemService()