Searched refs:imageWidth (Results 1 – 3 of 3) sorted by relevance
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
D | AnimatedNotificationDisplayActivity.java | 125 int imageWidth = imageView.getDrawable().getIntrinsicWidth(); in onLayout() local 128 if (imageWidth > imageHeight) { in onLayout() 129 imageWidth = minSize * imageWidth / imageHeight; in onLayout() 132 imageHeight = minSize * imageHeight / imageWidth; in onLayout() 133 imageWidth = minSize; in onLayout() 135 imageView.layout(left, top, left + imageWidth, top + imageHeight); in onLayout()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | ImageResizer.java | 48 public ImageResizer(Context context, int imageWidth, int imageHeight) { in ImageResizer() argument 50 setImageSize(imageWidth, imageHeight); in ImageResizer()
|
D | ImageFetcher.java | 62 public ImageFetcher(Context context, int imageWidth, int imageHeight) { in ImageFetcher() argument 63 super(context, imageWidth, imageHeight); in ImageFetcher()
|