Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/videoeditor/
DMediaImageItem.java939 final int nativeWidth = dbo.outWidth; in scaleImage() local
942 Log.d(TAG, "generateThumbnail: Input: " + nativeWidth + "x" + nativeHeight in scaleImage()
948 if (nativeWidth > width || nativeHeight > height) { in scaleImage()
949 float dx = ((float)nativeWidth) / ((float)width); in scaleImage()
962 if (((float)nativeWidth / dy) > (float)width) { in scaleImage()
963 bitmapWidth = (float)Math.floor(nativeWidth / dy); in scaleImage()
965 bitmapWidth = (float)Math.ceil(nativeWidth / dy); in scaleImage()
975 (float) nativeWidth / bitmapWidth, in scaleImage()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java785 return mWidth == -1 ? mWidth = nativeWidth(mNativeBitmap) : mWidth; in getWidth()
1229 private static native int nativeWidth(int nativeBitmap); in nativeWidth() method in Bitmap
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java284 /*package*/ static int nativeWidth(int nativeBitmap) { in nativeWidth() method in Bitmap_Delegate