Home
last modified time | relevance | path

Searched refs:Density (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DIconLoader.java19 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()
DStatusBar.java24 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()
DThemePreviewNavigationBar.java20 import com.android.resources.Density;
43 Density.getEnum(((BridgeContext) context).getMetrics().densityDpi), in ThemePreviewNavigationBar()
DNavigationBar.java20 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()
DCustomBar.java28 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/
DConfigGenerator.java37 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/
DBitmapFactory_Delegate.java22 import com.android.resources.Density;
55 Density density = Density.MEDIUM; in nativeDecodeStream()
58 density = Density.getEnum(opts.inDensity); in nativeDecodeStream()
DBitmap_Delegate.java26 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/
DLVREV_ApplyNewSettings.c288 (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()
DLVREV_SetControlParameters.c93 if (pNewParams->Density > LVREV_MAX_DENSITY) in LVREV_SetControlParameters()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java27 import com.android.resources.Density;
346 Density density = hardwareConfig.getDensity(); in getConfiguration()
348 density = Density.MEDIUM; in getConfiguration()
DLayout.java33 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()
DResourceHelper.java31 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/
DViewGroup_Delegate.java19 import com.android.resources.Density;
79 Density.getEnum(canvas.getDensity())); in drawShadow()
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/
DLVREV.h113 …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/
DRenderTests.java29 import com.android.resources.Density;
188 .setDensity(Density.XHIGH) in testExpand()
200 .setDensity(Density.XHIGH) in testExpand()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp836 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/
DSurfaceFlinger_hwc1.cpp672 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()
DSurfaceFlinger.cpp700 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()