Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DDisplayAdjustments.java26 public class DisplayAdjustments { class
27 public static final DisplayAdjustments DEFAULT_DISPLAY_ADJUSTMENTS = new DisplayAdjustments();
33 public DisplayAdjustments() { in DisplayAdjustments() method in DisplayAdjustments
36 public DisplayAdjustments(Configuration configuration) { in DisplayAdjustments() method in DisplayAdjustments
41 public DisplayAdjustments(DisplayAdjustments daj) { in DisplayAdjustments() method in DisplayAdjustments
88 if (!(o instanceof DisplayAdjustments)) { in equals()
91 DisplayAdjustments daj = (DisplayAdjustments)o; in equals()
DDisplay.java84 private DisplayAdjustments mDisplayAdjustments;
412 DisplayAdjustments daj) { in Display()
429 /*@NotNull*/ DisplayInfo displayInfo, DisplayAdjustments daj, Resources res) { in Display()
435 ? new DisplayAdjustments(mResources.getConfiguration()) in Display()
436 : daj != null ? new DisplayAdjustments(daj) : null; in Display()
598 public DisplayAdjustments getDisplayAdjustments() { in getDisplayAdjustments()
600 final DisplayAdjustments currentAdjustements = mResources.getDisplayAdjustments(); in getDisplayAdjustments()
602 mDisplayAdjustments = new DisplayAdjustments(currentAdjustements); in getDisplayAdjustments()
DDisplayInfo.java548 public void getAppMetrics(DisplayMetrics outMetrics, DisplayAdjustments displayAdjustments) { in getAppMetrics()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java27 import android.view.DisplayAdjustments;
65 new DisplayInfo(), DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in testDecorContextWithExternalDisplay()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java22 import android.view.DisplayAdjustments;
42 DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in WindowManagerImpl()
/frameworks/base/core/java/android/app/
DResourcesManager.java45 import android.view.DisplayAdjustments;
163 private final ArrayMap<Pair<Integer, DisplayAdjustments>, WeakReference<Display>>
205 DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in getDisplayMetrics()
212 protected @NonNull DisplayMetrics getDisplayMetrics(int displayId, DisplayAdjustments da) { in getDisplayMetrics()
264 @Nullable DisplayAdjustments displayAdjustments) { in getAdjustedDisplay()
265 final DisplayAdjustments displayAdjustmentsCopy = (displayAdjustments != null) in getAdjustedDisplay()
266 ? new DisplayAdjustments(displayAdjustments) : new DisplayAdjustments(); in getAdjustedDisplay()
267 final Pair<Integer, DisplayAdjustments> key = in getAdjustedDisplay()
513 final DisplayAdjustments daj = new DisplayAdjustments(key.mOverrideConfiguration); in createResourcesImpl()
1056 DisplayAdjustments daj = r.getDisplayAdjustments(); in applyConfigurationToResourcesLocked()
[all …]
DLoadedApk.java56 import android.view.DisplayAdjustments;
130 private final DisplayAdjustments mDisplayAdjustments = new DisplayAdjustments();
DContextImpl.java80 import android.view.DisplayAdjustments;
2323 public DisplayAdjustments getDisplayAdjustments(int displayId) { in getDisplayAdjustments()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java41 import android.view.DisplayAdjustments;
212 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) { in getCompatibleDisplay()
246 return getCompatibleDisplay(displayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in getRealDisplay()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java26 import android.view.DisplayAdjustments;
65 protected DisplayMetrics getDisplayMetrics(int displayId, DisplayAdjustments daj) { in setUp()
/frameworks/base/core/java/android/content/res/
DResources.java59 import android.view.DisplayAdjustments;
242 mResourcesImpl = new ResourcesImpl(assets, metrics, config, new DisplayAdjustments()); in Resources()
272 new DisplayAdjustments()); in Resources()
1973 public DisplayAdjustments getDisplayAdjustments() { in getDisplayAdjustments()
DResourcesImpl.java56 import android.view.DisplayAdjustments;
159 private final DisplayAdjustments mDisplayAdjustments;
185 @Nullable Configuration config, @NonNull DisplayAdjustments displayAdjustments) { in ResourcesImpl()
193 public DisplayAdjustments getDisplayAdjustments() { in getDisplayAdjustments()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java47 import android.view.DisplayAdjustments;
782 public DisplayAdjustments getDisplayAdjustments(int displayId) { in getDisplayAdjustments()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterTest.java20 import static android.view.DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarFragmentTest.java22 import static android.view.DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS;
/frameworks/base/core/java/android/content/
DContextWrapper.java41 import android.view.DisplayAdjustments;
924 public DisplayAdjustments getDisplayAdjustments(int displayId) { in getDisplayAdjustments()
DContext.java68 import android.view.DisplayAdjustments;
5337 public abstract DisplayAdjustments getDisplayAdjustments(int displayId); in getDisplayAdjustments()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestsBase.java24 import static android.view.DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS;
DActivityTestsBase.java25 import static android.view.DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS;
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java62 import android.view.DisplayAdjustments;
92 resources.setImpl(new ResourcesImpl(assets, metrics, config, new DisplayAdjustments())); in initSystem()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java88 import android.view.DisplayAdjustments;
1933 public DisplayAdjustments getDisplayAdjustments(int displayId) { in getDisplayAdjustments()
/frameworks/base/config/
Dpreloaded-classes3740 android.view.DisplayAdjustments