/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
D | CompatUIWindowManagerTest.java | 135 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 …]
|
D | UserAspectRatioSettingsWindowManagerTest.java | 144 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 …]
|
D | LetterboxEduWindowManagerTest.java | 159 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 …]
|
D | CompatUILayoutTest.java | 132 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()
|
D | CompatUIControllerTest.java | 131 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()
|
D | ReachabilityEduWindowManagerTest.java | 84 assertFalse(mWindowManager.createLayout(/* canShow= */ true)); in testCreateLayout_notEligible_doesNotCreateLayout()
|
D | UserAspectRatioSettingsLayoutTest.java | 138 mWindowManager.createLayout(/* canShow= */ true); in testOnClickForUserAspectRatioSettingsHint()
|
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/ |
D | ExpandableSwitchItemTest.java | 54 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
|
D | SwitchItemTest.java | 78 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/ |
D | StaticLayoutCreateDrawPerfTest.java | 94 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
|
D | BoringLayoutCreateDrawPerfTest.java | 94 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/ |
D | ButtonBarItemTest.java | 76 final ViewGroup layout = createLayout(); in testBindEmpty() 94 final ViewGroup layout = createLayout(); in testBind() 126 private ViewGroup createLayout() { in createLayout() method in ButtonBarItemTest
|
D | ItemTest.java | 73 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/ |
D | CompatUIWindowManagerAbstract.java | 134 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()
|
D | CompatUIController.java | 459 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()
|
D | RestartDialogWindowManager.java | 127 protected View createLayout() { in createLayout() method in RestartDialogWindowManager
|
D | LetterboxEduWindowManager.java | 139 protected View createLayout() { in createLayout() method in LetterboxEduWindowManager
|
D | UserAspectRatioSettingsWindowManager.java | 120 protected View createLayout() { in createLayout() method in UserAspectRatioSettingsWindowManager
|
D | CompatUIWindowManager.java | 118 protected View createLayout() { in createLayout() method in CompatUIWindowManager
|
D | ReachabilityEduWindowManager.java | 127 protected View createLayout() { in createLayout() method in ReachabilityEduWindowManager
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DeviceStateToLayoutMap.java | 83 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/ |
D | art-wear-profile | 10071 HSPLcom/android/server/display/DeviceStateToLayoutMap;->createLayout(I)Lcom/android/server/display/…
|