Home
last modified time | relevance | path

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

12

/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;
109 public static Bitmap createBitmap(File input, boolean isMutable, Density density) in createBitmap()
125 Density density) throws IOException { in createBitmap()
157 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) in createBitmap()
173 Density density) throws IOException { in createBitmap()
190 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { in createBitmap()
205 Density density) { in createBitmap()
515 Density.DEFAULT_DENSITY /*density*/); in nativeExtractAlpha()
/frameworks/base/docs/html-intl/intl/ko/training/multiscreen/
Dscreendensities.jd20 <li><a href="#TaskUseDP">DIP(Density Independent Pixel) 사용</a></li>
44 <h2 id="TaskUseDP">DIP(Density Independent Pixel) 사용</h2>
46 …de> 단위를 사용하시기 바랍니다. <code>dp</code>는 160dpi에서 픽셀의 물리적 크기에 대응하는 밀도 독립형 픽셀(Density Independent Pixel…
/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.java34 import com.android.resources.Density;
133 Density density = hwConfig.getDensity(); in Layout()
221 private StatusBar createStatusBar(BridgeContext context, Density density, boolean isRtl, in createStatusBar()
279 private NavigationBar createNavBar(BridgeContext context, Density density, boolean isRtl, in createNavBar()
DResourceHelper.java31 import com.android.resources.Density;
282 Density density = Density.MEDIUM; in getDrawable()
369 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/docs/html/training/multiscreen/
Dscreendensities.jd23 <li><a href="#TaskUseDP">Use Density-independent Pixels</a></li>
51 <h2 id="TaskUseDP">Use Density-independent Pixels</h2>
68 <p>DesignBytes: Density-independent Pixels</p>
/frameworks/base/docs/html/guide/webapps/
Dtargeting.jd15 <li><a href="#DensityCSS">Targeting Device Density with CSS</a></li>
16 <li><a href="#DensityJS">targeting Device Density with JavaScript</a></li>
122 <h2 id="DensityCSS">Targeting Device Density with CSS</h2>
167 <h2 id="DensityJS">Targeting Device Density with JavaScript</h2>
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DMain.java39 import com.android.resources.Density;
373 .setDensity(Density.XHIGH) in testExpand()
385 .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/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_list.jd46 Density-Specific Icon Sets</a>, you should create separate icon sets for low-,
Dicon_design_dialog.jd44 Density-Specific Icon Sets</a>, you should create separate icon sets for low-,
Dicon_design.jd22 <li><a href="#icon-sets">Providing Density-Specific Icon Sets</a></li>
140 <h2 id="icon-sets">Providing Density-Specific Icon Sets</h2>
Dicon_design_action_bar.jd46 href="{@docRoot}guide/practices/ui_guidelines/icon_design.html#icon-sets">Providing Density-Specific
/frameworks/base/docs/html/ndk/reference/
Dgroup___configuration.jd280 <p>Density: default density. </p>
283 <p>Density: value corresponding to the <a href="@dacRoot/guide/topics/resources/providing-resources…
286 <p>Density: value corresponding to the <a href="@dacRoot/guide/topics/resources/providing-resources…
289 <p>Density: value corresponding to the <a href="@dacRoot/guide/topics/resources/providing-resources…
292 <p>Density: value corresponding to the <a href="@dacRoot/guide/topics/resources/providing-resources…
295 <p>Density: value corresponding to the <a href="@dacRoot/guide/topics/resources/providing-resources…
298 <p>Density: value corresponding to the <a href="@dacRoot/guide/topics/resources/providing-resources…
301 <p>Density: value corresponding to the <a href="@dacRoot/guide/topics/resources/providing-resources…
304 <p>Density: any density. </p>
307 <p>Density: no density specified. </p>

12