Home
last modified time | relevance | path

Searched defs:density (Results 1 – 25 of 113) 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()
102 + Config.getWifiIconType(simulatedPlatformVersion), density); in StatusBar() local
109 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()
461 /*package*/ static boolean nativeWriteToParcel(long nativeBitmap, int density, Parcel p) { in nativeWriteToParcel()
698 Set<BitmapCreateFlags> createFlags, int density) { in createBitmap()
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayInfo.h31 float density = 0.f; member
/frameworks/native/libs/ui/include/ui/
DDisplayInfo.h31 float density = 0.f; member
/frameworks/native/include/ui/
DDisplayInfo.h31 float density = 0.f; member
/frameworks/base/packages/SettingsLib/DisplayDensityUtils/src/com/android/settingslib/display/
DDisplayDensityConfiguration.java76 public static void setForcedDisplayDensity(final int displayId, final int density) { in setForcedDisplayDensity()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPixelCopyWindow.java49 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()
/frameworks/base/core/java/android/text/
DTextPaint.java37 public float density = 1.0f; field in TextPaint
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java189 int density; in runDisplayDensity() local
282 int density; in parseDimension() 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/packages/SystemUI/src/com/android/systemui/volume/
DConfigurableTexts.java51 final float density = res.getDisplayMetrics().density; in add() local
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java157 Density density = hwConfig.getDensity(); in Layout() local
266 private StatusBar createStatusBar(BridgeContext context, Density density, boolean isRtl, in createStatusBar()
345 private NavigationBar createNavBar(BridgeContext context, Density density, boolean isRtl, in createNavBar()
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp352 for (const auto& density : artifact.screen_densities) { in UpdateManifest() local
389 xml::Attribute* density = screen->FindOrCreateAttribute(kSchemaAndroid, "screenDensity"); in AddScreens() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleIconFactory.java61 int density = context.getResources().getConfiguration().densityDpi; in getBubbleDrawable() local

12345