/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | NavigationBar.java | 29 public NavigationBar(Context context, Density density, int orientation) throws XmlPullParserException { argument 30 super(context, density, orientation, "/bars/navigation_bar.xml", "navigation_bar.xml"); 45 loadIcon(back, "ic_sysbar_back.png", density); 46 loadIcon(2, "ic_sysbar_home.png", density); 47 loadIcon(recent, "ic_sysbar_recent.png", density);
|
H A D | StatusBar.java | 33 public StatusBar(Context context, Density density) throws XmlPullParserException { argument 34 super(context, density, LinearLayout.HORIZONTAL, "/bars/status_bar.xml", "status_bar.xml"); 44 loadIcon(1, "stat_sys_wifi_signal_4_fully.png", density);
|
H A D | FakeActionBar.java | 31 public FakeActionBar(Context context, Density density, String label, String icon) argument 33 super(context, density, LinearLayout.HORIZONTAL, "/bars/action_bar.xml", "action_bar.xml");
|
H A D | TitleBar.java | 31 public TitleBar(Context context, Density density, String label) argument 33 super(context, density, LinearLayout.HORIZONTAL, "/bars/title_bar.xml", "title_bar.xml");
|
H A D | CustomBar.java | 63 protected CustomBar(Context context, Density density, int orientation, String layoutPath, argument 91 // current density 92 Density density = densityInOut[0]; 95 pathOut[0] = "/bars/" + density.getResourceValue() + "/" + iconName; 100 if (d != density) { 113 protected void loadIcon(int index, String iconName, Density density) { argument 119 Density[] densityInOut = new Density[] { density }; 122 density = densityInOut[0]; 129 bitmap = Bitmap_Delegate.createBitmap(stream, false /*isMutable*/, density);
|
/frameworks/base/core/java/android/text/ |
H A D | TextPaint.java | 32 public float density = 1.0f; field in class:TextPaint 67 density = tp.density;
|
/frameworks/base/core/tests/coretests/src/android/webkit/ |
H A D | ZoomManagerTest.java | 40 private void testInit(float density) { argument 41 zoomManager.init(density); 42 actualScaleTest(density); 43 defaultScaleTest(density); 46 assertEquals(density, zoomManager.getTextWrapScale()); 56 private void testUpdateDefaultZoomDensity(float density) { argument 57 zoomManager.updateDefaultZoomDensity(density); 58 defaultScaleTest(density);
|
/frameworks/native/include/ui/ |
H A D | DisplayInfo.h | 33 float density; member in struct:android::DisplayInfo
|
/frameworks/base/core/java/android/util/ |
H A D | DisplayMetrics.java | 24 * size, density, and font scaling. 31 * Standard quantized DPI for low-density screens. 36 * Standard quantized DPI for medium-density screens. 41 * This is a secondary density, added for some common screen configurations. 43 * class density -- that is, don't supply specific graphics for this 44 * density, instead allow the platform to scale from other densities 51 * <p>This density was original introduced to correspond with a 52 * 720p TV screen: the density for 1080p televisions is 60 * Standard quantized DPI for high-density screens. 65 * Standard quantized DPI for extra-high-density screen 122 public float density; field in class:DisplayMetrics [all...] |
H A D | TypedValue.java | 142 * If {@link #density} is equal to this value, then the density should be 143 * treated as the system's default density value: {@link DisplayMetrics#DENSITY_DEFAULT}. 148 * If {@link #density} is equal to this value, then there is no density 177 * If the Value came from a resource, this holds the corresponding pixel density. 179 public int density; field in class:TypedValue 222 * supplies display density and scaling information. 246 * supplies display density and scaling information. 273 * supplies display density an [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 175 Density density = Density.MEDIUM; 177 density = 187 new FileInputStream(file), density, value.isFramework(), 234 density); 262 private static Drawable getNinePatchDrawable(InputStream inputStream, Density density, argument 286 density);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | NinePatchDrawable.java | 65 // These are scaled to match the target density. 73 * Create drawable from raw nine-patch data, not dealing with density. 75 * to ensure that the drawable has correctly set its target density. 83 * Create drawable from raw nine-patch data, setting initial target density 93 * Create drawable from raw nine-patch data, setting initial target density 105 * Create drawable from existing nine-patch, not dealing with density. 107 * to ensure that the drawable has correctly set its target density. 115 * Create drawable from existing nine-patch, setting initial target density 141 * Set the density scale at which this drawable will be rendered. This 142 * method assumes the drawable will be rendered at the same density a 174 setTargetDensity(int density) argument [all...] |
H A D | BitmapDrawable.java | 71 // These are scaled to match the target density. 76 * Create an empty drawable, not dealing with density. 78 * that the drawable has correctly set its target density. 86 * Create an empty drawable, setting initial target density based on 96 * Create drawable from a bitmap, not dealing with density. 98 * that the drawable has correctly set its target density. 106 * Create drawable from a bitmap, setting initial target density based on 117 * that the drawable has correctly set its target density. 142 * that the drawable has correctly set its target density. 196 * Set the density scal 229 setTargetDensity(int density) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IEnvironmentalReverb.c | 580 SLpermille density) 584 if (!(0 <= density && density <= 1000)) { 589 thiz->mProperties.density = density; 597 REVERB_PARAM_DENSITY, &density); 625 REVERB_PARAM_DENSITY, &thiz->mProperties.density); 629 *pDensity = thiz->mProperties.density; 669 if (!(0 <= properties.density && properties.density < 579 IEnvironmentalReverb_SetDensity(SLEnvironmentalReverbItf self, SLpermille density) argument [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | EnvironmentalReverb.java | 375 * Sets the echo density in the late reverberation decay. 406 * Controls the modal density of the late reverberation decay. 408 * A lower density creates a hollow sound that is useful for simulating small reverberation 410 * @param density density specified using a permille scale. The valid range is [0, 1000]. 417 public void setDensity(short density) argument 419 byte[] param = shortToByteArray(density); 424 * Gets the density level. 425 * @return the density level. See {@link #setDiffusion(short)} for units. 519 public short density; field in class:EnvironmentalReverb.Settings [all...] |
/frameworks/base/native/android/ |
H A D | configuration.cpp | 71 return config->density; 159 void AConfiguration_setDensity(AConfiguration* config, int32_t density) { argument 160 config->density = density;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 88 * @param density the density associated with the bitmap 93 public static Bitmap createBitmap(File input, boolean isMutable, Density density) argument 98 return createBitmap(delegate, isMutable, density.getDpiValue()); 106 * @param density the density associated with the bitmap 111 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density) argument 116 return createBitmap(delegate, isMutable, density.getDpiValue()); 124 * @param density the density associate 129 createBitmap(BufferedImage image, boolean isMutable, Density density) argument 417 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument 522 createBitmap(Bitmap_Delegate delegate, boolean isMutable, int density) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 380 const int density = p->readInt32();
local 429 return GraphicsJNI::createBitmap(env, bitmap, buffer, isMutable, NULL, NULL, density);
434 jboolean isMutable, jint density,
448 p->writeInt32(density);
432 Bitmap_writeToParcel(JNIEnv* env, jobject, const SkBitmap* bitmap, jboolean isMutable, jint density, jobject parcel) argument
|
H A D | Graphics.cpp | 349 int density) 355 buffer, isMutable, ninepatch, layoutbounds, density); 361 jbyteArray ninepatch, int density) 363 return createBitmap(env, bitmap, NULL, isMutable, ninepatch, NULL, density); 347 createBitmap(JNIEnv* env, SkBitmap* bitmap, jbyteArray buffer, bool isMutable, jbyteArray ninepatch, jintArray layoutbounds, int density) argument 360 createBitmap(JNIEnv* env, SkBitmap* bitmap, bool isMutable, jbyteArray ninepatch, int density) argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 637 * would not correctly retrieve the final configuration density when 639 * This means that if the density configuration of the alias resource 640 * is different than the actual resource, the density of the returned 666 * given screen density in DPI. This will set the drawable's density to be 667 * the device's density multiplied by the ratio of actual drawable density 668 * to requested density. This allows the drawable to be scaled up to the 677 * @param density the desired screen density indicate 683 getDrawableForDensity(int id, int density) argument 1031 getValueForDensity(int id, int density, TypedValue outValue, boolean resolveRefs) argument [all...] |
H A D | AssetManager.java | 192 int density, 196 int block = loadResourceValue(ident, (short) density, outValue, resolveRefs); 653 int orientation, int touchscreen, int density, int keyboard, 686 private native final int loadResourceValue(int ident, short density, TypedValue outValue, argument 191 getResourceValue(int ident, int density, TypedValue outValue, boolean resolveRefs) argument 652 setConfiguration(int mcc, int mnc, String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int majorVersion) argument
|
/frameworks/base/core/java/android/view/ |
H A D | Surface.java | 220 // The Translator for density compatibility mode. This is used for scaling 221 // the canvas to perform the appropriate density transformation. 775 public float density; field in class:Surface.PhysicalDisplayInfo 797 && density == other.density 812 density = other.density; 822 + "density " + density + ", " + xDpi + " x " + yDpi + " dpi, secure " + secure 833 * in WVGA high density [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 89 jfieldID density; member in struct:android::__anon1000 715 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.density, info.density); 909 gPhysicalDisplayInfoClassInfo.density = env->GetFieldID(clazz, "density", "F");
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 31 * Indicates that the bitmap was created for an unknown pixel density. 74 * density when running old apps. 77 public static void setDefaultDensity(int density) { argument 78 sDefaultDensity = density; 98 int density) { 99 this(nativeBitmap, buffer, isMutable, ninePatchChunk, null, density); 111 int[] layoutBounds, int density) { 124 if (density >= 0) { 125 mDensity = density; 130 * <p>Returns the density fo 97 Bitmap(int nativeBitmap, byte[] buffer, boolean isMutable, byte[] ninePatchChunk, int density) argument 110 Bitmap(int nativeBitmap, byte[] buffer, boolean isMutable, byte[] ninePatchChunk, int[] layoutBounds, int density) argument 166 setDensity(int density) argument 1427 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 351 public void setForcedDisplayDensity(int displayId, int density) throws RemoteException { argument
|