Home
last modified time | relevance | path

Searched refs:mDensityDpi (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DVirtualDisplayConfig.java52 private final int mDensityDpi; field in VirtualDisplayConfig
78 mDensityDpi = densityDpi; in VirtualDisplayConfig()
115 return mDensityDpi; in getDensityDpi()
201 dest.writeInt(mDensityDpi); in writeToParcel()
227 && mDensityDpi == that.mDensityDpi in equals()
241 mName, mWidth, mHeight, mDensityDpi, mFlags, mSurface, mUniqueId, in hashCode()
254 + " mDensityDpi=" + mDensityDpi in toString()
270 mDensityDpi = in.readInt(); in VirtualDisplayConfig()
302 private final int mDensityDpi; field in VirtualDisplayConfig.Builder
340 mDensityDpi = densityDpi; in Builder()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java78 private int mDensityDpi; field in DisplayLayout
98 && mDensityDpi == other.mDensityDpi in isSameGeometry()
112 && mDensityDpi == other.mDensityDpi in equals()
127 return Objects.hash(mUiMode, mWidth, mHeight, mCutout, mRotation, mDensityDpi, in hashCode()
172 mDensityDpi = dl.mDensityDpi; in set()
191 mDensityDpi = info.logicalDensityDpi; in init()
270 return mDensityDpi; in densityDpi()
275 return mDensityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; in density()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java349 mInfo.densityDpi = rawMode.mDensityDpi; in getDisplayDeviceInfoLocked()
350 mInfo.xDpi = rawMode.mDensityDpi; in getDisplayDeviceInfoLocked()
351 mInfo.yDpi = rawMode.mDensityDpi; in getDisplayDeviceInfoLocked()
528 mName, mode.mWidth, mode.mHeight, mode.mDensityDpi, mGravity,
567 window.resize(mode.mWidth, mode.mHeight, mode.mDensityDpi);
578 final int mDensityDpi; field in OverlayDisplayAdapter.OverlayMode
583 mDensityDpi = densityDpi; in OverlayMode()
591 .append(", densityDpi=").append(mDensityDpi) in toString()
DVirtualDisplayAdapter.java263 private int mDensityDpi; field in VirtualDisplayAdapter.VirtualDisplayDevice
287 mDensityDpi = virtualDisplayConfig.getDensityDpi(); in VirtualDisplayDevice()
423 if (mWidth != width || mHeight != height || mDensityDpi != densityDpi) { in resizeLocked()
429 mDensityDpi = densityDpi; in resizeLocked()
472 mInfo.densityDpi = mDensityDpi; in getDisplayDeviceInfoLocked()
473 mInfo.xDpi = mDensityDpi; in getDisplayDeviceInfoLocked()
474 mInfo.yDpi = mDensityDpi; in getDisplayDeviceInfoLocked()
DOverlayDisplayWindow.java69 private int mDensityDpi; field in OverlayDisplayWindow
154 mDensityDpi = densityDpi; in resize()
157 mName, mWidth, mHeight, mDensityDpi); in resize()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DDisplaySinkService.java39 private final int mDensityDpi; field in DisplaySinkService
58 mDensityDpi = densityDpi; in DisplaySinkService()
236 mBuffer.putInt(mDensityDpi); in sendSinkStatus()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java177 private final int mDensityDpi; field in DisplaySourceService.VirtualDisplayThread
184 mDensityDpi = densityDpi; in VirtualDisplayThread()
207 DISPLAY_NAME, mWidth, mHeight, mDensityDpi, surface, 0); in run()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java247 private int mDensityDpi = Configuration.DENSITY_DPI_UNDEFINED; field in BubbleController
1115 if (newConfig.densityDpi != mDensityDpi in onConfigurationChanged()
1117 mDensityDpi = newConfig.densityDpi; in onConfigurationChanged()