Home
last modified time | relevance | path

Searched refs:layoutBounds (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java788 int[] layoutBounds = bm.getLayoutBounds(); in createFromResourceStream() local
790 if (layoutBounds != null) { in createFromResourceStream()
791 layoutBoundsRect = new Rect(layoutBounds[0], layoutBounds[1], in createFromResourceStream()
792 layoutBounds[2], layoutBounds[3]); in createFromResourceStream()
977 Rect pad, Rect layoutBounds, String srcName) { in drawableFromBitmap() argument
980 return new NinePatchDrawable(res, bm, np, pad, layoutBounds, srcName); in drawableFromBitmap()
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp300 jintArray layoutBounds = NULL; in doDecode() local
302 layoutBounds = env->NewIntArray(4); in doDecode()
303 if (layoutBounds == NULL) { in doDecode()
315 env->SetIntArrayRegion(layoutBounds, 0, 4, scaledBounds); in doDecode()
317 env->SetObjectField(javaBitmap, gBitmap_layoutBoundsFieldID, layoutBounds); in doDecode()
379 isMutable, ninePatchChunk, layoutBounds, -1); in doDecode()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java112 int[] layoutBounds, int density) { in Bitmap() argument
124 mLayoutBounds = layoutBounds; in Bitmap()