Home
last modified time | relevance | path

Searched defs:dm (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DDisplayUtils.java36 DisplayMetrics dm = new DisplayMetrics(); in convertDpToPx() local
51 DisplayMetrics dm = new DisplayMetrics(); in getWidth() local
71 DisplayMetrics dm = new DisplayMetrics(); in getHeight() local
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java239 DisplayManager dm = mService.getContext().getSystemService(DisplayManager.class); in getDisplays() local
329 final DisplayManager dm = context.getSystemService(DisplayManager.class); in setBrightness() local
502 final DisplayManager dm = context.getSystemService(DisplayManager.class); in setMatchContentFrameRateUserPreference() local
512 final DisplayManager dm = context.getSystemService(DisplayManager.class); in getMatchContentFrameRateUserPreference() local
536 final DisplayManager dm = context.getSystemService(DisplayManager.class); in setUserDisabledHdrTypes() local
543 final DisplayManager dm = context.getSystemService(DisplayManager.class); in getUserDisabledHdrTypes() local
/frameworks/base/core/java/com/android/internal/display/
DRefreshRateSettingsUtils.java44 final DisplayManager dm = context.getSystemService(DisplayManager.class); in findHighestRefreshRateForDefaultDisplay() local
69 final DisplayManager dm = context.getSystemService(DisplayManager.class); in findHighestRefreshRateAmongAllDisplays() local
/frameworks/base/services/core/java/com/android/server/input/debug/
DRotaryInputValueView.java60 DisplayMetrics dm = mContext.getResources().getDisplayMetrics(); in RotaryInputValueView() local
100 private static int applyDimensionSp(int dimensionSp, DisplayMetrics dm) { in applyDimensionSp()
DFocusEventDebugView.java389 final var dm = c.getResources().getDisplayMetrics(); in PressedKeyView() local
431 final var dm = c.getResources().getDisplayMetrics(); in PressedKeyContainer() local
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DInputMethodManagerTest.java48 final DisplayManager dm = testContext.getSystemService(DisplayManager.class); in testPrivateApiGetInstance() local
/frameworks/base/core/tests/coretests/src/android/os/
DBrightnessLimit.java44 DisplayManager dm = getSystemService(DisplayManager.class); in onClick() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedTestCase.java58 final DisplayManager dm = getTestContext().getSystemService(DisplayManager.class); in setUpContext() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DShellTestCase.java51 final DisplayManager dm = context.getSystemService(DisplayManager.class); in shellSetup() local
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeBackgroundService.java76 final DisplayManager dm = getSystemService(DisplayManager.class); in onCreate() local
DFakeApp.java104 final DisplayManager dm = getSystemService(DisplayManager.class); in onCreate() local
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestReceiver.java72 DisplayManager dm = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in onReceive() local
/frameworks/base/services/tests/powerstatstests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/
DTestService.java61 final DisplayManager dm = getSystemService(DisplayManager.class); in onCreate() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexMetadataHelperTest.java398 final File dm = createDexMetadataFile("install_split_base.apk"); in testPackageSizeWithDmFile() local
413 final File dm = createDexMetadataFile("install_split_base.apk"); in testPackageSizeWithPartialPackageLite() local
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java51 final DisplayMetrics dm = new DisplayMetrics(); in createResourcesWithApk() local
/frameworks/base/core/java/android/app/
DResourcesManager.java431 final DisplayMetrics dm = new DisplayMetrics(); in getDisplayMetrics() local
449 final DisplayMetrics dm = new DisplayMetrics(); in getDisplayMetrics() local
461 private static void applyDisplayMetricsToConfiguration(@NonNull DisplayMetrics dm, in applyDisplayMetricsToConfiguration()
502 final DisplayManagerGlobal dm = DisplayManagerGlobal.getInstance(); in getAdjustedDisplay() local
1045 final DisplayMetrics dm = getDisplayMetrics(overrideDisplay, daj); in rebaseKeyForDisplay() local
1371 DisplayMetrics dm = getDisplayMetrics(overrideDisplayId, displayAdjustments); in rebaseActivityOverrideConfig() local
1513 DisplayMetrics dm = getDisplayMetrics(generateDisplayId(key), daj); in applyConfigurationToResourcesLocked() local
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java115 DisplayMetrics dm = res.getDisplayMetrics(); in onAttachedToWindow() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxConfigurationTest.java355 final DisplayMetrics dm = mock(DisplayMetrics.class); in test_evaluateThinLetterboxWhenDensityChanges() local
DTaskPositionerTests.java72 final DisplayMetrics dm = mDisplayContent.getDisplayMetrics(); in setUp() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java281 DisplayManager dm = (DisplayManager) phone.getContext().getSystemService( in DeviceStateMonitor() local
733 final DisplayManager dm = (DisplayManager) mPhone.getContext().getSystemService( in isScreenOn() local
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java57 Watermark(DisplayContent dc, DisplayMetrics dm, String[] tokens, SurfaceControl.Transaction t) { in Watermark()
/frameworks/base/core/java/com/android/internal/policy/
DGestureNavigationSettingsObserver.java168 final DisplayMetrics dm = userRes.getDisplayMetrics(); in getUnscaledInset() local
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt305 val dm = DisplayMetrics() in setupBitmaps() constant
/frameworks/native/cmds/installd/
Dotapreopt_chroot.cpp121 auto& dm = dm::DeviceMapper::Instance(); in TryExtraMount() local
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java108 final DisplayManager dm = testContext.getSystemService(DisplayManager.class); in testDisplayIdForDefaultDisplayContext() local

12