/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 4085 public void setSurface(Surface surface, int width, int height, int density) { argument 4141 public void setSurface(Surface surface, int width, int height, int density) { argument 4142 super.setSurface(surface, width, height, density); 4147 setSurfaceLocked(surface, width, height, density); 4154 private void setSurfaceLocked(Surface surface, int width, int height, int density) { argument 4162 new VirtualActivityDisplay(width, height, density); 4285 VirtualActivityDisplay(int width, int height, int density) { argument 4288 VIRTUAL_DISPLAY_BASE_NAME, width, height, density, null,
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 550 // TODO: Not sure if display density should handled by SF any longer 554 int density = 0; local 556 density = atoi(property); 558 return density; 576 // The density of the device is provided by a build property 577 float density = Density::getBuildDensity() / 160.0f; local 578 if (density == 0) { 579 // the build doesn't provide a density -- this is wrong! 582 density = xdpi / 160.0f; 586 xdpi = ydpi = density [all...] |
H A D | SurfaceFlinger_hwc1.cpp | 583 // TODO: Not sure if display density should handled by SF any longer 587 int density = 0; local 589 density = atoi(property); 591 return density; 612 // The density of the device is provided by a build property 613 float density = Density::getBuildDensity() / 160.0f; local 614 if (density == 0) { 615 // the build doesn't provide a density -- this is wrong! 618 density = xdpi / 160.0f; 622 xdpi = ydpi = density [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageManager.java | 4487 * badged where the badge should be applied as well as the density of the 4499 * @param badgeDensity The optional desired density for the badge as per 4501 * the density of the display is used. 4532 * badged where the badge should be applied as well as the density of the 4545 * @param badgeDensity The optional desired density for the badge as per 4547 * the density of the display is used. 4560 * @param density The optional desired density for the badge as per 4562 * the density of the current display is used. 4566 public abstract Drawable getUserBadgeForDensity(UserHandle user, int density); argument 4582 getUserBadgeForDensityNoBackground(UserHandle user, int density) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1840 density = dtohs(density); 1854 density = htods(density); 1946 if (density != o.density) { 1947 return density < o.density ? -1 : 1; 1978 if (density != o.density) diff 3989 getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density, uint32_t* outSpecFlags, ResTable_config* outConfig) const argument [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 1805 public void setInitialDisplaySize(Display display, int width, int height, int density) { argument 1842 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / density; 1843 int longSizeDp = longSize * DisplayMetrics.DENSITY_DEFAULT / density;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 5691 // If the display is already prepared, update the density. 7241 private int reduceConfigLayout(int curLayout, int rotation, float density, argument 7256 longSize = (int)(longSize/density); 7257 shortSize = (int)(shortSize/density); 7262 int uiMode, int dw, int dh, float density, Configuration outConfig) { 7286 sl = reduceConfigLayout(sl, Surface.ROTATION_0, density, unrotDw, unrotDh, uiMode); 7287 sl = reduceConfigLayout(sl, Surface.ROTATION_90, density, unrotDh, unrotDw, uiMode); 7288 sl = reduceConfigLayout(sl, Surface.ROTATION_180, density, unrotDw, unrotDh, uiMode); 7289 sl = reduceConfigLayout(sl, Surface.ROTATION_270, density, unrotDh, unrotDw, uiMode); 7290 outConfig.smallestScreenWidthDp = (int)(displayInfo.smallestNominalAppWidth / density); 7261 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, int uiMode, int dw, int dh, float density, Configuration outConfig) argument 8925 setForcedDisplayDensity(int displayId, int density) argument 9004 setForcedDisplayDensityLocked(@onNull DisplayContent displayContent, int density) argument [all...] |
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 1513 SLpermille density; member in struct:SLEnvironmentalReverbSettings_ 1600 SLpermille density
|