Searched refs:Density (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DFakeActionBar.java19 import com.android.resources.Density;
31 public FakeActionBar(Context context, Density density, String label, String icon)
H A DNavigationBar.java19 import com.android.resources.Density;
29 public NavigationBar(Context context, Density density, int orientation) throws XmlPullParserException {
H A DTitleBar.java19 import com.android.resources.Density;
31 public TitleBar(Context context, Density density, String label)
H A DStatusBar.java19 import com.android.resources.Density;
33 public StatusBar(Context context, Density density) throws XmlPullParserException {
H A DCustomBar.java27 import com.android.resources.Density;
63 protected CustomBar(Context context, Density density, int orientation, String layoutPath,
89 private InputStream getIcon(String iconName, Density[] densityInOut, String[] pathOut,
92 Density density = densityInOut[0];
99 for (Density d : Density.values()) {
113 protected void loadIcon(int index, String iconName, Density density) {
119 Density[] densityInOut = new Density[] { density };
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java22 import com.android.resources.Density;
100 Density density = Density.MEDIUM;
102 density = Density.getEnum(opts.inDensity);
H A DBitmap_Delegate.java22 import com.android.resources.Density;
93 public static Bitmap createBitmap(File input, boolean isMutable, Density density)
111 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density)
130 Density density) throws IOException {
452 Density.DEFAULT_DENSITY /*density*/);
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/
H A DLVREV.h113 LVM_UINT16 Density; /* Echo density, 0 to 100 for minimum to maximum density */ member in struct:__anon423
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
H A DLVREV_SetControlParameters.c93 if (pNewParams->Density > LVREV_MAX_DENSITY)
H A DLVREV_ApplyNewSettings.c288 (pPrivate->NewParams.Density != pPrivate->CurrentParams.Density))
481 if( (pPrivate->NewParams.Density != pPrivate->CurrentParams.Density) ||
485 LVM_INT32 b = pPrivate->NewParams.Density * LVREV_B_8_on_1000;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java31 import com.android.resources.Density;
332 Density density = hardwareConfig.getDensity();
334 density = Density.MEDIUM;
H A DResourceHelper.java28 import com.android.resources.Density;
175 Density density = Density.MEDIUM;
262 private static Drawable getNinePatchDrawable(InputStream inputStream, Density density,
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp857 params.Density = 100;
873 pContext->SavedDiffusion = params.Density*10;
1382 //ALOGV("\tReverbSetDiffusion() just Got -> %d\n", ActiveParams.Density);
1384 ActiveParams.Density = (LVM_INT16)(level/10);
1389 //ALOGV("\tReverbSetDiffusion() just Set -> %d\n", ActiveParams.Density);
1418 //ALOGV("\tReverbGetDiffusion just Got -> %d\n", ActiveParams.Density);
1422 if(ActiveParams.Density != Temp){
1423 ALOGV("\tLVM_ERROR : ReverbGetDiffusion invalid value %d %d", Temp, ActiveParams.Density);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp625 class Density { class
643 float density = Density::getBuildDensity() / 160.0f;
650 if (Density::getEmuDensity()) {
652 xdpi = ydpi = density = Density::getEmuDensity();

Completed in 769 milliseconds