/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/ |
D | IconLoader.java | 20 import com.android.resources.Density; 28 private final Density mDesiredDensity; 32 private Density mCurrentDensity; 35 public IconLoader(String iconName, Density density, int platformVersion, LayoutDirection in IconLoader() 61 public Density getDensity() { in getDensity() 85 for (Density density : Density.values()) { in getIcon() 103 private InputStream getIcon(String resourceDir, Density density) { in getIcon()
|
D | SysUiResources.java | 25 import com.android.resources.Density; 71 Density density, boolean in loadIcon()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | ConfigGenerator.java | 37 import com.android.resources.Density; 75 .setDensity(Density.XXHIGH) 90 .setDensity(Density.XHIGH) 105 .setDensity(Density.XHIGH) 120 .setDensity(Density.XXHIGH) 135 .setDensity(Density.TV) 156 private Density mDensity = Density.XHIGH; 282 public ConfigGenerator setDensity(Density density) { in setDensity()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | StatusBar.java | 26 import com.android.resources.Density; 60 Density.getEnum(((BridgeContext) context).getMetrics().densityDpi), in StatusBar() 68 public StatusBar(BridgeContext context, Density density, boolean isRtl, boolean rtlEnabled, in StatusBar() 110 protected ImageView loadIcon(ImageView imageView, String iconName, Density density) { in loadIcon() 116 IconLoader iconLoader = new IconLoader(iconName, Density.XHIGH, in loadIcon()
|
D | ThemePreviewNavigationBar.java | 20 import com.android.resources.Density; 43 Density.getEnum(((BridgeContext) context).getMetrics().densityDpi), in ThemePreviewNavigationBar()
|
D | NavigationBar.java | 20 import com.android.resources.Density; 44 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()
|
D | CustomBar.java | 29 import com.android.resources.Density; 91 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()
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/ |
D | RemoteHardwareConfig.java | 20 import com.android.resources.Density; 35 private Density mDensity; 52 private RemoteHardwareConfig(int screenWidth, int screenHeight, Density density, float xdpi, in RemoteHardwareConfig()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 22 import com.android.resources.Density; 56 Density density = Density.MEDIUM; in nativeDecodeStream() 59 density = Density.getEnum(opts.inDensity); in nativeDecodeStream()
|
D | Bitmap_Delegate.java | 27 import com.android.resources.Density; 107 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() 497 Density.DEFAULT_DENSITY /*density*/); in nativeExtractAlpha()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 35 import com.android.resources.Density; 322 Density density = Density.MEDIUM; in getDrawable() 325 if (density == Density.NODPI || density == Density.ANYDPI) { in getDrawable() 326 density = Density.getEnum(context.getConfiguration().densityDpi); in getDrawable() 441 private static Drawable getNinePatchDrawable(Density density, boolean isFramework, in getNinePatchDrawable()
|
D | RenderAction.java | 26 import com.android.resources.Density; 355 Density density = hardwareConfig.getDensity(); in getConfiguration() 357 density = Density.MEDIUM; in getConfiguration()
|
D | Layout.java | 35 import com.android.resources.Density; 156 Density density = hwConfig.getDensity(); in Layout() 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/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_ApplyNewSettings.cpp | 285 (pPrivate->NewParams.Density != pPrivate->CurrentParams.Density)) in LVREV_ApplyNewSettings() 481 if( (pPrivate->NewParams.Density != pPrivate->CurrentParams.Density) || in LVREV_ApplyNewSettings() 485 LVM_FLOAT b = (LVM_FLOAT)pPrivate->NewParams.Density * LVREV_B_8_on_1000; in LVREV_ApplyNewSettings()
|
D | LVREV_SetControlParameters.cpp | 104 if (pNewParams->Density > LVREV_MAX_DENSITY) in LVREV_SetControlParameters()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 21 import com.android.resources.Density; 106 Density.getEnum(canvas.getDensity())); in drawShadow()
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/ |
D | LVREV.h | 103 …LVM_UINT16 Density; /* Echo density, 0 to 100 for minimum to maxim… member
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 757 params.Density = 100; in Reverb_init() 773 pContext->SavedDiffusion = params.Density*10; in Reverb_init() 1284 ActiveParams.Density = (LVM_INT16)(level/10); in ReverbSetDiffusion() 1322 if(ActiveParams.Density != Temp){ in ReverbGetDiffusion() 1323 ALOGV("\tLVM_ERROR : ReverbGetDiffusion invalid value %d %d", Temp, ActiveParams.Density); in ReverbGetDiffusion()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTests.java | 37 import com.android.resources.Density; 304 .setDensity(Density.XHIGH) in testExpand() 320 .setDensity(Density.XHIGH) in testExpand()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 782 class Density { in getDisplayConfigs() class 814 float density = Density::getBuildDensity() / 160.0f; in getDisplayConfigs() 821 if (Density::getEmuDensity()) { in getDisplayConfigs() 823 xdpi = ydpi = density = Density::getEmuDensity(); in getDisplayConfigs()
|