/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayAdjustmentsTests.java | 24 import android.view.DisplayAdjustments.FixedRotationAdjustments; 42 DisplayAdjustments emptyAdjustments = new DisplayAdjustments(); in testDefaultConstructor_hasEmptyConfiguration() 49 DisplayAdjustments emptyAdjustments = new DisplayAdjustments((Configuration) null); in testConfigurationConstructor_nullConfigurationBecomesEmpty() 58 DisplayAdjustments adjustments = new DisplayAdjustments(configuration); in testConfigurationConstructor_copiesConfiguration() 67 DisplayAdjustments oldAdjustments = new DisplayAdjustments(configuration); in testDisplayAdjustmentsConstructor_copiesConfiguration() 69 DisplayAdjustments newAdjustments = new DisplayAdjustments(oldAdjustments); in testDisplayAdjustmentsConstructor_copiesConfiguration() 76 final DisplayAdjustments mDisplayAdjustments = new DisplayAdjustments(); in testFixedRotationAdjustments()
|
/frameworks/base/core/java/android/view/ |
D | DisplayAdjustments.java | 32 public class DisplayAdjustments { class 33 public static final DisplayAdjustments DEFAULT_DISPLAY_ADJUSTMENTS = new DisplayAdjustments(); 40 public DisplayAdjustments() { in DisplayAdjustments() method in DisplayAdjustments 43 public DisplayAdjustments(@Nullable Configuration configuration) { in DisplayAdjustments() method in DisplayAdjustments 49 public DisplayAdjustments(@NonNull DisplayAdjustments daj) { in DisplayAdjustments() method in DisplayAdjustments 189 if (!(o instanceof DisplayAdjustments)) { in equals() 192 DisplayAdjustments daj = (DisplayAdjustments)o; in equals()
|
D | Display.java | 98 private DisplayAdjustments mDisplayAdjustments; 504 DisplayAdjustments daj) { in Display() 521 /*@NotNull*/ DisplayInfo displayInfo, DisplayAdjustments daj, Resources res) { in Display() 527 ? new DisplayAdjustments(mResources.getConfiguration()) in Display() 528 : daj != null ? new DisplayAdjustments(daj) : new DisplayAdjustments(); in Display() 695 public DisplayAdjustments getDisplayAdjustments() { in getDisplayAdjustments() 697 final DisplayAdjustments currentAdjustments = mResources.getDisplayAdjustments(); in getDisplayAdjustments() 699 mDisplayAdjustments = new DisplayAdjustments(currentAdjustments); in getDisplayAdjustments() 1592 final DisplayAdjustments adjustments = getDisplayAdjustments(); in toString()
|
/frameworks/base/core/tests/mockingcoretests/src/android/view/ |
D | DisplayTest.java | 37 import android.view.DisplayAdjustments.FixedRotationAdjustments; 99 DisplayAdjustments displayAdjustments = in setupTests() 125 DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testConstructor_defaultDisplayAdjustments_matchesDisplayInfo() 127 DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testConstructor_defaultDisplayAdjustments_matchesDisplayInfo() 149 DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testGetRotation_defaultDisplayAdjustments_rotationNotAdjusted() 158 DisplayAdjustments displayAdjustments = DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS; in testGetRotation_displayAdjustmentsWithoutOverride_rotationNotAdjusted() 221 DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testGetRealSize_defaultDisplayAdjustmentsPortrait_matchesLogicalSize() 231 DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testGetRealSize_defaultDisplayAdjustmentsLandscape_matchesLogicalSize() 367 DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testGetRealMetrics_defaultDisplayAdjustmentsPortrait_matchesLogicalSize() 377 DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testGetRealMetrics_defaultDisplayAdjustmentsLandscape_matchesLogicalSize() [all …]
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouteInfoTest.java | 25 import android.view.DisplayAdjustments; 52 sWifiDisplay = new Display(global, 2, wifiInfo, new DisplayAdjustments()); in setUpOnce() 57 sExternalDisplay = new Display(global, 3, externalInfo, new DisplayAdjustments()); in setUpOnce() 62 sInternalDisplay = new Display(global, 4, internalInfo, new DisplayAdjustments()); in setUpOnce()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 33 import android.view.DisplayAdjustments; 72 new DisplayInfo(), DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testDecorContextWithDefaultDisplay() 87 new DisplayInfo(), DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testDecorContextWithExternalDisplay()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 48 import android.view.DisplayAdjustments; 326 return getDisplayMetrics(mResDisplayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in getDisplayMetrics() 333 protected @NonNull DisplayMetrics getDisplayMetrics(int displayId, DisplayAdjustments da) { in getDisplayMetrics() 617 final DisplayAdjustments daj = new DisplayAdjustments(key.mOverrideConfiguration); in createResourcesImpl() 920 DisplayAdjustments daj = new DisplayAdjustments(key.mOverrideConfiguration); in rebaseKeyForDisplay() 1245 DisplayAdjustments displayAdjustments = new DisplayAdjustments(rebasedOverrideConfig); in rebaseActivityOverrideConfig() 1320 @Nullable CompatibilityInfo compat, @Nullable DisplayAdjustments adjustments) { in applyConfigurationToResources() 1396 DisplayAdjustments daj = resourcesImpl.getDisplayAdjustments(); in applyConfigurationToResourcesLocked() 1398 daj = new DisplayAdjustments(daj); in applyConfigurationToResourcesLocked() 1604 @Nullable Consumer<DisplayAdjustments> override) { in overrideTokenDisplayAdjustments()
|
D | ClientTransactionHandler.java | 30 import android.view.DisplayAdjustments.FixedRotationAdjustments;
|
D | LoadedApk.java | 59 import android.view.DisplayAdjustments; 134 private final DisplayAdjustments mDisplayAdjustments = new DisplayAdjustments();
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 63 import android.view.DisplayAdjustments; 145 private DisplayAdjustments mOverrideDisplayAdjustments; 309 mResourcesImpl = new ResourcesImpl(assets, metrics, config, new DisplayAdjustments()); in Resources() 339 new DisplayAdjustments()); in Resources() 2107 public DisplayAdjustments getDisplayAdjustments() { in getDisplayAdjustments() 2108 final DisplayAdjustments overrideDisplayAdjustments = mOverrideDisplayAdjustments; in getDisplayAdjustments() 2124 public void overrideDisplayAdjustments(@Nullable Consumer<DisplayAdjustments> override) { in overrideDisplayAdjustments() 2126 mOverrideDisplayAdjustments = new DisplayAdjustments( in overrideDisplayAdjustments()
|
D | ResourcesImpl.java | 53 import android.view.DisplayAdjustments; 147 private final DisplayAdjustments mDisplayAdjustments; 173 @Nullable Configuration config, @NonNull DisplayAdjustments displayAdjustments) { in ResourcesImpl() 181 public DisplayAdjustments getDisplayAdjustments() { in getDisplayAdjustments()
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | FixedRotationAdjustmentsItem.java | 23 import android.view.DisplayAdjustments.FixedRotationAdjustments;
|
D | LaunchActivityItem.java | 41 import android.view.DisplayAdjustments.FixedRotationAdjustments;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | SidefpsControllerTest.kt | 30 import android.view.DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardDisplayManagerTest.java | 19 import static android.view.DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS;
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | WindowManagerImpl.java | 54 DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in WindowManagerImpl()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerGlobal.java | 46 import android.view.DisplayAdjustments; 251 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) { in getCompatibleDisplay() 285 return getCompatibleDisplay(displayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in getRealDisplay()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TestDisplayContent.java | 20 import static android.view.DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS;
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 26 import android.view.DisplayAdjustments; 84 protected DisplayMetrics getDisplayMetrics(int displayId, DisplayAdjustments daj) { in setUp()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TestUtils.java | 32 import android.view.DisplayAdjustments.FixedRotationAdjustments;
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 48 import android.view.DisplayAdjustments; 843 public DisplayAdjustments getDisplayAdjustments(int displayId) { in getDisplayAdjustments()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarTest.java | 24 import static android.view.DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInputFilterTest.java | 20 import static android.view.DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS;
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 46 import android.view.DisplayAdjustments; 1090 public DisplayAdjustments getDisplayAdjustments(int displayId) { in getDisplayAdjustments()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowToken.java | 51 import android.view.DisplayAdjustments.FixedRotationAdjustments;
|