Home
last modified time | relevance | path

Searched refs:Density (Results 1 – 25 of 38) 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;
44 public StatusBar(Context context, Density density, int direction, boolean RtlEnabled, in StatusBar()
68 protected void loadIcon(int index, String iconName, Density density) { in loadIcon()
77 IconLoader iconLoader = new IconLoader(iconName, Density.XHIGH, in loadIcon()
DNavigationBar.java19 import com.android.resources.Density;
29 public NavigationBar(Context context, Density density, int orientation, boolean isRtl, in NavigationBar()
DCustomBar.java27 import com.android.resources.Density;
93 protected void loadIcon(int index, String iconName, Density density) { in loadIcon()
97 protected void loadIcon(int index, String iconName, Density density, boolean isRtl) { in loadIcon()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java23 import com.android.resources.Density;
55 Density density = Density.MEDIUM; in nativeDecodeStream()
58 density = Density.getEnum(opts.inDensity); in nativeDecodeStream()
DBitmap_Delegate.java22 import com.android.resources.Density;
102 public static Bitmap createBitmap(File input, boolean isMutable, Density density) in createBitmap()
118 Density density) throws IOException { in createBitmap()
135 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) in createBitmap()
151 Density density) throws IOException { in createBitmap()
168 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, Density density) { in createBitmap()
183 Density density) { in createBitmap()
508 Density.DEFAULT_DENSITY /*density*/); in nativeExtractAlpha()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java38 import com.android.resources.Density;
76 .setDensity(Density.XXHIGH)
91 .setDensity(Density.XHIGH)
106 .setDensity(Density.XHIGH)
127 private Density mDensity = Density.XHIGH;
255 public ConfigGenerator setDensity(Density density) { in setDensity()
/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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java31 import com.android.resources.Density;
342 Density density = hardwareConfig.getDensity(); in getConfiguration()
344 density = Density.MEDIUM; in getConfiguration()
DResourceHelper.java29 import com.android.resources.Density;
191 Density density = Density.MEDIUM; in getDrawable()
278 private static Drawable getNinePatchDrawable(InputStream inputStream, Density density, in getNinePatchDrawable()
DRenderSessionImpl.java63 import com.android.resources.Density;
1621 private StatusBar createStatusBar(BridgeContext context, Density density, int direction, in createStatusBar()
1638 private NavigationBar createNavigationBar(BridgeContext context, Density density, in createNavigationBar()
/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/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>
50 <h2 id="TaskUseDP">Use Density-independent Pixels</h2>
67 <p>DesignBytes: Density-independent Pixels</p>
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java21 import com.android.resources.Density;
83 Density.getEnum(canvas.getDensity())); in drawShadow()
/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/docs/html/design/style/
Dmetrics-grids.jd13 600<acronym title="Density-independent pixels: One dp is one pixel on a 160 dpi (mdpi)
29 refer to layout dimensions with <acronym title="Density-independent pixels: One dp is one pixel
Diconography.jd73 …<p>Launcher icons on a mobile device must be <strong>48x48 <acronym title="Density-independent pix…
172 …<p>Action bar icons for phones should be <strong>32x32 <acronym title="Density-independent pixels.…
253 …<p>Small icons should be <strong>16x16 <acronym title="Density-independent pixels. One dp is one p…
332 …<p>Notification icons must be <strong>24x24 <acronym title="Density-independent pixels. One dp is …
/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_dialog.jd44 Density-Specific Icon Sets</a>, you should create separate icon sets for low-,
Dicon_design_list.jd46 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/design/wear/
Dstyle.jd55 <h2 id="InfoDensity" style="margin-top:0" >Low Information Density</h2>

12