Home
last modified time | relevance | path

Searched refs:createLayout (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DCompatUIWindowManagerTest.java135 assertTrue(mWindowManager.createLayout(/* canShow= */ false)); in testCreateSizeCompatButton()
141 assertTrue(mWindowManager.createLayout(/* canShow= */ true)); in testCreateSizeCompatButton()
152 assertTrue(mWindowManager.createLayout(/* canShow= */ true)); in testCreateSizeCompatButton()
164 assertFalse(mWindowManager.createLayout(/* canShow= */ true)); in testCreateSizeCompatButton()
171 assertFalse(mWindowManager.createLayout(/* canShow= */ true)); in testCreateSizeCompatButton()
180 assertTrue(mWindowManager.createLayout(/* canShow= */ false)); in testCreateCameraCompatControl()
186 assertTrue(mWindowManager.createLayout(/* canShow= */ true)); in testCreateCameraCompatControl()
197 assertTrue(mWindowManager.createLayout(/* canShow= */ true)); in testCreateCameraCompatControl()
209 assertFalse(mWindowManager.createLayout(/* canShow= */ true)); in testCreateCameraCompatControl()
217 mWindowManager.createLayout(/* canShow= */ true); in testRelease()
[all …]
DUserAspectRatioSettingsWindowManagerTest.java144 assertTrue(mWindowManager.createLayout(/* canShow= */ false)); in testCreateUserAspectRatioButton()
150 assertTrue(mWindowManager.createLayout(/* canShow= */ true)); in testCreateUserAspectRatioButton()
162 assertTrue(mWindowManager.createLayout(/* canShow= */ true)); in testCreateUserAspectRatioButton()
175 assertFalse(mWindowManager.createLayout(/* canShow= */ true)); in testCreateUserAspectRatioButton()
183 mWindowManager.createLayout(/* canShow= */ true); in testRelease()
195 mWindowManager.createLayout(/* canShow= */ true); in testUpdateCompatInfo()
205 verify(mWindowManager, never()).createLayout(anyBoolean()); in testUpdateCompatInfo()
215 verify(mWindowManager).createLayout(/* canShow= */ true); in testUpdateCompatInfo()
233 verify(mWindowManager).createLayout(/* canShow= */ true); in testUpdateCompatInfo()
247 mWindowManager.createLayout(/* canShow= */ false); in testUpdateCompatInfoLayoutNotInflatedYet()
[all …]
DLetterboxEduWindowManagerTest.java159 assertFalse(windowManager.createLayout(/* canShow= */ true)); in testCreateLayout_notEligible_doesNotCreateLayout()
169 assertFalse(windowManager.createLayout(/* canShow= */ true)); in testCreateLayout_eligibleAndDocked_doesNotCreateLayout()
179 assertFalse(windowManager.createLayout(/* canShow= */ true)); in testCreateLayout_taskBarEducationIsShowing_doesNotCreateLayout()
188 assertTrue(windowManager.createLayout(/* canShow= */ false)); in testCreateLayout_canShowFalse_returnsTrueButDoesNotCreateLayout()
198 assertTrue(windowManager.createLayout(/* canShow= */ true)); in testCreateLayout_canShowTrue_createsLayoutCorrectly()
245 assertTrue(windowManager.createLayout(/* canShow= */ true)); in testCreateLayout_alreadyShownToUser_createsLayoutForOtherUserOnly()
258 assertFalse(windowManager.createLayout(/* canShow= */ true)); in testCreateLayout_alreadyShownToUser_createsLayoutForOtherUserOnly()
266 assertTrue(windowManager.createLayout(/* canShow= */ true)); in testCreateLayout_alreadyShownToUser_createsLayoutForOtherUserOnly()
277 assertTrue(windowManager.createLayout(/* canShow= */ true)); in testCreateLayout_windowManagerReleasedBeforeTransitionsIsIdle_doesNotStartAnim()
294 assertTrue(windowManager.createLayout(/* canShow= */ true)); in testUpdateCompatInfo_updatesLayoutCorrectly()
[all …]
DCompatUILayoutTest.java132 mWindowManager.createLayout(/* canShow= */ true); in testOnClickForSizeCompatHint()
142 mWindowManager.createLayout(/* canShow= */ true); in testUpdateCameraTreatmentButton_treatmentAppliedByDefault()
160 mWindowManager.createLayout(/* canShow= */ true); in testUpdateCameraTreatmentButton_treatmentSuggestedByDefault()
178 mWindowManager.createLayout(/* canShow= */ true); in testOnCameraDismissButtonClicked()
213 mWindowManager.createLayout(/* canShow= */ true); in testOnClickForCameraCompatHint()
DCompatUIControllerTest.java131 doReturn(true).when(mMockCompatLayout).createLayout(anyBoolean()); in setUp()
135 doReturn(true).when(mMockLetterboxEduLayout).createLayout(anyBoolean()); in setUp()
140 doReturn(true).when(mMockRestartDialogLayout).createLayout(anyBoolean()); in setUp()
227 doReturn(false).when(mMockCompatLayout).createLayout(anyBoolean()); in testOnCompatInfoChanged_createLayoutReturnsFalse()
228 doReturn(false).when(mMockLetterboxEduLayout).createLayout(anyBoolean()); in testOnCompatInfoChanged_createLayoutReturnsFalse()
229 doReturn(false).when(mMockRestartDialogLayout).createLayout(anyBoolean()); in testOnCompatInfoChanged_createLayoutReturnsFalse()
509 .createLayout(anyBoolean()); in testRestartLayoutRecreatedIfNeeded()
524 .createLayout(anyBoolean()); in testRestartLayoutNotRecreatedIfNotNeeded()
DReachabilityEduWindowManagerTest.java84 assertFalse(mWindowManager.createLayout(/* canShow= */ true)); in testCreateLayout_notEligible_doesNotCreateLayout()
DUserAspectRatioSettingsLayoutTest.java138 mWindowManager.createLayout(/* canShow= */ true); in testOnClickForUserAspectRatioSettingsHint()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java54 View view = createLayout(); in testInitialState()
77 View view = createLayout(); in testExpanded()
96 View view = createLayout(); in testCollapsed()
117 View view = createLayout(); in testClick()
156 private ViewGroup createLayout() { in createLayout() method in ExpandableSwitchItemTest
DSwitchItemTest.java78 View view = createLayout(); in testChecked()
92 View view = createLayout(); in testNotChecked()
106 View view = createLayout(); in testListener()
139 View view = createLayout(); in testRebind()
165 View view = createLayout(); in testListenerSetChecked()
191 View view = createLayout(); in testToggle()
219 private ViewGroup createLayout() { in createLayout() method in SwitchItemTest
/frameworks/base/apct-tests/perftests/core/src/android/text/
DStaticLayoutCreateDrawPerfTest.java94 createLayout(text); in timeCreate()
102 createLayout(text); in timeCreate()
117 final Layout layout = createLayout(text); in timeDraw()
137 private Layout createLayout(CharSequence text) { in createLayout() method in StaticLayoutCreateDrawPerfTest
DBoringLayoutCreateDrawPerfTest.java94 if (mCached) createLayout(text, metrics); in timeCreate()
102 createLayout(text, metrics); in timeCreate()
118 final Layout layout = createLayout(text, metrics); in timeDraw()
146 private Layout createLayout(CharSequence text, in createLayout() method in BoringLayoutCreateDrawPerfTest
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DButtonBarItemTest.java76 final ViewGroup layout = createLayout(); in testBindEmpty()
94 final ViewGroup layout = createLayout(); in testBind()
126 private ViewGroup createLayout() { in createLayout() method in ButtonBarItemTest
DItemTest.java73 View view = createLayout(); in testOnBindView()
93 View view = createLayout(); in testSingleLineItem()
176 private ViewGroup createLayout() { in createLayout() method in ItemTest
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DCompatUIWindowManagerAbstract.java134 public boolean createLayout(boolean canShow) { in createLayout() method in CompatUIWindowManagerAbstract
150 mViewHost.setView(createLayout(), getWindowLayoutParams()); in createLayout()
158 protected abstract View createLayout(); in createLayout() method in CompatUIWindowManagerAbstract
234 return createLayout(canShow); in updateCompatInfo()
263 createLayout(canShow); in updateVisibility()
DCompatUIController.java459 if (layout.createLayout(showOnDisplay(taskInfo.displayId))) { in createOrUpdateCompatLayout()
510 if (newLayout.createLayout(showOnDisplay(taskInfo.displayId))) { in createOrUpdateLetterboxEduLayout()
560 if (layout.createLayout(showOnDisplay(taskInfo.displayId))) { in createOrUpdateRestartDialogLayout()
611 if (newLayout.createLayout(showOnDisplay(taskInfo.displayId))) { in createOrUpdateReachabilityEduLayout()
664 if (newLayout.createLayout(showOnDisplay(taskInfo.displayId))) { in createOrUpdateUserAspectRatioSettingsLayout()
DRestartDialogWindowManager.java127 protected View createLayout() { in createLayout() method in RestartDialogWindowManager
DLetterboxEduWindowManager.java139 protected View createLayout() { in createLayout() method in LetterboxEduWindowManager
DUserAspectRatioSettingsWindowManager.java120 protected View createLayout() { in createLayout() method in UserAspectRatioSettingsWindowManager
DCompatUIWindowManager.java118 protected View createLayout() { in createLayout() method in CompatUIWindowManager
DReachabilityEduWindowManager.java127 protected View createLayout() { in createLayout() method in ReachabilityEduWindowManager
/frameworks/base/services/core/java/com/android/server/display/
DDeviceStateToLayoutMap.java83 createLayout(STATE_DEFAULT); in DeviceStateToLayoutMap()
137 final Layout layout = createLayout(state); in loadLayoutsFromConfig()
192 private Layout createLayout(int state) { in createLayout() method in DeviceStateToLayoutMap
/frameworks/base/services/
Dart-wear-profile10071 HSPLcom/android/server/display/DeviceStateToLayoutMap;->createLayout(I)Lcom/android/server/display/…