Home
last modified time | relevance | path

Searched defs:density (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DStatusBar.java68 public StatusBar(BridgeContext context, Density density, boolean isRtl, boolean rtlEnabled, in StatusBar()
103 + Config.getWifiIconType(simulatedPlatformVersion), density); in StatusBar() local
110 protected ImageView loadIcon(ImageView imageView, String iconName, Density density) { in loadIcon()
DCustomBar.java91 protected ImageView loadIcon(ImageView imageView, String iconName, Density density) { in loadIcon()
96 protected ImageView loadIcon(int index, String iconName, Density density, boolean isRtl) { in loadIcon()
107 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, in loadIcon()
DNavigationBar.java44 public NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, in NavigationBar()
50 protected NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, in NavigationBar()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/
DIconLoader.java35 public IconLoader(String iconName, Density density, int platformVersion, LayoutDirection in IconLoader()
103 private InputStream getIcon(String resourceDir, Density density) { in getIcon()
DSysUiResources.java71 Density density, boolean in loadIcon()
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java104 public Drawable getIcon(int density) { in getIcon()
173 public Drawable getBadgedIcon(int density) { in getBadgedIcon()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java123 final int density = ((int) (defaultDensity * (1 - (i + 1) * interval))) & ~1; in DisplayDensityUtils() local
144 final int density = ((int) (defaultDensity * (1 + (i + 1) * interval))) & ~1; in DisplayDensityUtils() local
237 public static void setForcedDisplayDensity(final int displayId, final int density) { in setForcedDisplayDensity()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java335 public final Drawable loadIcon(@NonNull Context context, int density) { in loadIcon()
355 public final Drawable loadPreviewImage(@NonNull Context context, int density) { in loadPreviewImage()
418 private Drawable loadDrawable(Context context, int density, int resourceId, in loadDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt29 private var density: Int = 0 variable
63 val density = newConfig.densityDpi in onConfigurationChanged() constant
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java56 Density density = Density.MEDIUM; in nativeDecodeStream() local
143 final int density = opts.inDensity; in setDensityFromOptions() local
DBitmap_Delegate.java107 Density density) throws IOException { in createBitmap()
122 Density density) throws IOException { in createBitmap()
159 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { in createBitmap()
174 Density density) { in createBitmap()
462 int density, Parcel p) { in nativeWriteToParcel()
692 Set<BitmapCreateFlags> createFlags, int density) { in createBitmap()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPixelCopyWindow.java49 final float density = getResources().getDisplayMetrics().density; in onCreate() local
DMovingSurfaceViewActivity.java88 final float density = getResources().getDisplayMetrics().density; in onCreate() local
/frameworks/base/core/java/android/content/res/
DCompatResources.java50 public Drawable getDrawableForDensity(@DrawableRes int id, int density) in getDrawableForDensity()
DResourcesImpl.java240 void getValueForDensity(@AnyRes int id, int density, TypedValue outValue, in getValueForDensity()
514 int density = config.densityDpi; in calcConfigChanges() local
577 int density, @Nullable Resources.Theme theme) in loadDrawable()
811 int id, int density) { in loadDrawableForCookie()
917 int id, int density, String file) { in loadColorOrXmlDrawable()
933 int id, int density, String file) in loadXmlDrawable()
/frameworks/base/core/java/android/text/
DTextPaint.java37 public float density = 1.0f; field in TextPaint
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DConfigurableTexts.java48 final float density = res.getDisplayMetrics().density; in add() local
/frameworks/base/libs/hwui/
DFrameInfoVisualizer.cpp66 static int dpToPx(int dp, float density) { in dpToPx()
80 void FrameInfoVisualizer::setDensity(float density) { in setDensity()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteHardwareConfig.java52 private RemoteHardwareConfig(int screenWidth, int screenHeight, Density density, float xdpi, in RemoteHardwareConfig()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java178 int density; in runDisplayDensity() local
295 int density; in parseDimension() local
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java156 Density density = hwConfig.getDensity(); in Layout() local
264 private StatusBar createStatusBar(BridgeContext context, Density density, boolean isRtl, in createStatusBar()
343 private NavigationBar createNavBar(BridgeContext context, Density density, boolean isRtl, in createNavBar()
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp348 for (const auto& density : artifact.screen_densities) { in UpdateManifest() local
385 xml::Attribute* density = screen->FindOrCreateAttribute(kSchemaAndroid, "screenDensity"); in AddScreens() local
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java409 public void setDensity(short density) in setDensity()
511 public short density; field in EnvironmentalReverb.Settings
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java126 @NonNull AttributeSet attrs, int density, @Nullable Theme theme) in inflateFromXmlForDensity()
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java58 final float density = metrics.density; in IconUtilities() local

12345