/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | IconLoader.java | 19 import com.android.resources.Density; 27 private final Density mDesiredDensity; 31 private Density mCurrentDensity; 34 IconLoader(String iconName, Density density, int platformVersion, LayoutDirection direction) { in IconLoader() 59 public Density getDensity() { in getDensity() 83 for (Density density : Density.values()) { in getIcon() 101 private InputStream getIcon(String resourceDir, Density density) { in getIcon()
|
D | StatusBar.java | 24 import com.android.resources.Density; 56 Density.getEnum(((BridgeContext) context).getMetrics().densityDpi), in StatusBar() 64 public StatusBar(BridgeContext context, Density density, boolean isRtl, boolean rtlEnabled, in StatusBar() 89 protected void loadIcon(int index, String iconName, Density density) { in loadIcon() 98 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 | 28 import com.android.resources.Density; 101 protected void loadIcon(int index, String iconName, Density density) { in loadIcon() 105 protected void loadIcon(int index, String iconName, Density density, boolean isRtl) { in loadIcon()
|
/frameworks/base/tools/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; 283 public ConfigGenerator setDensity(Density density) { in setDensity()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 22 import com.android.resources.Density; 55 Density density = Density.MEDIUM; in nativeDecodeStream() 58 density = Density.getEnum(opts.inDensity); in nativeDecodeStream()
|
D | Bitmap_Delegate.java | 26 import com.android.resources.Density; 108 public static Bitmap createBitmap(File input, boolean isMutable, Density density) in createBitmap() 124 Density density) throws IOException { in createBitmap() 156 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) in createBitmap() 172 Density density) throws IOException { in createBitmap() 189 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { in createBitmap() 204 Density density) { in createBitmap() 514 Density.DEFAULT_DENSITY /*density*/); in nativeExtractAlpha()
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_ApplyNewSettings.c | 288 (pPrivate->NewParams.Density != pPrivate->CurrentParams.Density)) in LVREV_ApplyNewSettings() 481 if( (pPrivate->NewParams.Density != pPrivate->CurrentParams.Density) || in LVREV_ApplyNewSettings() 485 LVM_INT32 b = pPrivate->NewParams.Density * LVREV_B_8_on_1000; in LVREV_ApplyNewSettings()
|
D | LVREV_SetControlParameters.c | 93 if (pNewParams->Density > LVREV_MAX_DENSITY) in LVREV_SetControlParameters()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 27 import com.android.resources.Density; 346 Density density = hardwareConfig.getDensity(); in getConfiguration() 348 density = Density.MEDIUM; in getConfiguration()
|
D | Layout.java | 33 import com.android.resources.Density; 134 Density density = hwConfig.getDensity(); in Layout() 222 private StatusBar createStatusBar(BridgeContext context, Density density, boolean isRtl, in createStatusBar() 280 private NavigationBar createNavBar(BridgeContext context, Density density, boolean isRtl, in createNavBar()
|
D | ResourceHelper.java | 31 import com.android.resources.Density; 289 Density density = Density.MEDIUM; in getDrawable() 454 private static Drawable getNinePatchDrawable(InputStream inputStream, Density density, in getNinePatchDrawable()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 19 import com.android.resources.Density; 79 Density.getEnum(canvas.getDensity())); in drawShadow()
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/ |
D | LVREV.h | 113 …LVM_UINT16 Density; /* Echo density, 0 to 100 for minimum to maxim… member
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTests.java | 29 import com.android.resources.Density; 188 .setDensity(Density.XHIGH) in testExpand() 200 .setDensity(Density.XHIGH) in testExpand()
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 836 params.Density = 100; in Reverb_init() 852 pContext->SavedDiffusion = params.Density*10; in Reverb_init() 1363 ActiveParams.Density = (LVM_INT16)(level/10); in ReverbSetDiffusion() 1401 if(ActiveParams.Density != Temp){ in ReverbGetDiffusion() 1402 ALOGV("\tLVM_ERROR : ReverbGetDiffusion invalid value %d %d", Temp, ActiveParams.Density); in ReverbGetDiffusion()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger_hwc1.cpp | 672 class Density { in getDisplayConfigs() class 701 float density = Density::getBuildDensity() / 160.0f; in getDisplayConfigs() 708 if (Density::getEmuDensity()) { in getDisplayConfigs() 710 xdpi = ydpi = density = Density::getEmuDensity(); in getDisplayConfigs()
|
D | SurfaceFlinger.cpp | 700 class Density { in getDisplayConfigs() class 726 float density = Density::getBuildDensity() / 160.0f; in getDisplayConfigs() 733 if (Density::getEmuDensity()) { in getDisplayConfigs() 735 xdpi = ydpi = density = Density::getEmuDensity(); in getDisplayConfigs()
|