/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | ResourceTypes.h | 991 uint16_t density; member in struct:android::ResTable_config::__anon1183::__anon1184 1691 uint16_t density = 0,
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockPackageManager.java | 590 public Drawable getUserBadgeForDensity(UserHandle user, int density) { argument 596 public Drawable getUserBadgeForDensityNoBackground(UserHandle user, int density) { argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 221 mTextPaint.density = res.getDisplayMetrics().density;
|
H A D | ActionMenuPresenter.java | 129 mMinCellSize = (int) (ActionMenuView.MIN_CELL_SIZE * res.getDisplayMetrics().density);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | VectorDrawable.java | 250 /** The density of the display on which this drawable will be rendered. */ 287 final int density = Drawable.resolveDensity(res, mVectorState.mDensity); 288 if (mTargetDensity != density) { 289 mTargetDensity = density; 477 * Update local dimensions to adjust for a target density that may differ 478 * from the source density against which the constant state was loaded.
|
H A D | GradientDrawable.java | 1887 * Sets the constant state density. 1889 * If the density has been previously set, dispatches the change to 1890 * subclasses so that density-dependent properties may be scaled as 1893 * @param targetDensity the new constant state density 1990 // If this drawable is being created for a different density, 1993 final int density = Drawable.resolveDensity(res, mDensity); 1994 if (density != mDensity) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | MLand.java | 220 dp = getResources().getDisplayMetrics().density; 287 dp = getResources().getDisplayMetrics().density; 975 pt.setStrokeWidth(getResources().getDisplayMetrics().density);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogImpl.java | 1017 final int density = newConfig.densityDpi; 1018 if (density != mDensity) { 1022 mDensity = density;
|
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerPolicy.java | 669 public void setInitialDisplaySize(Display display, int width, int height, int density); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AppSecurityPermissions.java | 473 int spacing = (int)(8*mContext.getResources().getDisplayMetrics().density);
|
H A D | OverScroller.java | 643 final float ppi = context.getResources().getDisplayMetrics().density * 160.0f;
|
/frameworks/base/libs/androidfw/tests/ |
H A D | ResTable_test.cpp | 66 table.getResource(resid, &val, false /*mayBeBag*/, 0u /*density*/, &flags, &selected_config), 214 param.density = 320;
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 152 mProfiler.setDensity(mRenderThread.mainDisplayInfo().density);
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/ |
H A D | OctopusDrawable.java | 67 float dp = context.getResources().getDisplayMetrics().density;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SwipeHelper.java | 104 mDensityScale = context.getResources().getDisplayMetrics().density;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskRecord.java | 2119 final float density = parentConfig.densityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; 2124 mTmpNonDecorBounds, mTmpStableBounds, overrideWidth, overrideHeight, density, 2137 final int compatScreenWidthDp = (int) (mTmpNonDecorBounds.width() / density); 2138 final int compatScreenHeightDp = (int) (mTmpNonDecorBounds.height() / density);
|
H A D | ActivityStackSupervisor.java | 4818 public void setSurface(Surface surface, int width, int height, int density) { argument 4874 public void setSurface(Surface surface, int width, int height, int density) { argument 4875 super.setSurface(surface, width, height, density); 4880 setSurfaceLocked(surface, width, height, density); 4887 private void setSurfaceLocked(Surface surface, int width, int height, int density) { argument 4895 new VirtualActivityDisplay(width, height, density); 5055 VirtualActivityDisplay(int width, int height, int density) { argument 5058 VIRTUAL_DISPLAY_BASE_NAME, width, height, density, null /* surface */,
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | LocalDisplayAdapter.java | 399 mInfo.densityDpi = (int)(phys.density * 160 + 0.5f);
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 258 GLfixed density; member in struct:android::gl::fog_t
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | MaterialProgressDrawable.java | 133 final float screenDensity = metrics.density;
|
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 778 // version if they are using newer config types like density. 786 config.density = ResTable_config::DENSITY_MEDIUM; 978 int dens = configs[i].density; 1329 tmpConfig.density = densities[i]; 2254 printf("supports-any-density: '%s'\n", anyDensity ? "true" : "false");
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Link.cpp | 1894 .OptionalFlag("--preferred-density", 1895 "Selects the closest matching density and strips out all others.", 2074 Maybe<uint16_t> density = local 2076 if (!density) { 2079 options.table_splitter_options.preferred_densities.push_back(density.value());
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CoordinatorLayout.java | 214 final float density = res.getDisplayMetrics().density; 217 mKeylines[i] = (int) (mKeylines[i] * density);
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.c | 987 pValue16 = &pProperties->density; 1400 value16 = pProperties->density;
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageManager.java | 4413 * badged where the badge should be applied as well as the density of the 4426 * @param badgeDensity The optional desired density for the badge as per 4428 * the density of the display is used. 4441 * @param density The optional desired density for the badge as per 4443 * the density of the current display is used. 4447 public abstract Drawable getUserBadgeForDensity(UserHandle user, int density); argument 4457 * @param density The optional desired density for the badge as per 4459 * the density o 4463 getUserBadgeForDensityNoBackground(UserHandle user, int density) argument [all...] |