HomeSort by relevance Sort by last modified time
    Searched refs:MipmapDrawable (Results 1 - 2 of 2) sorted by null

  /frameworks/base/graphics/java/android/graphics/drawable/
MipmapDrawable.java 39 * mipmap levels of this MipmapDrawable. The mipmap Drawable that will actually be used when this
40 * MipmapDrawable is drawn is the one which has the smallest intrinsic height greater or equal than
42 * draw this MipmapDrawable.
48 * not be changed after the Drawable has been added to this MipmapDrawable.
52 * be similar to ensure a continuous visual appearance when the MipmapDrawable is scaled. The aspect
56 * A typical example use of a MipmapDrawable would be for an image which is intended to be scaled at
61 * The intrinsic size of a MipmapDrawable are inferred from those of the largest mipmap (in terms of
84 public class MipmapDrawable extends DrawableContainer {
88 public MipmapDrawable() {
94 * this MipmapDrawable is drawn is determined from its bounds
    [all...]
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
MipmapDrawableTest.java 23 import android.graphics.drawable.MipmapDrawable;
40 new MipmapDrawable();
42 assertNotNull(new MipmapDrawable().getConstantState());
218 private class MockMipmapDrawable extends MipmapDrawable {

Completed in 43 milliseconds