Home
last modified time | relevance | path

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

/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java126 int imageHeight = imageView.getDrawable().getIntrinsicHeight(); in onLayout() local
128 if (imageWidth > imageHeight) { in onLayout()
129 imageWidth = minSize * imageWidth / imageHeight; in onLayout()
130 imageHeight = minSize; in onLayout()
132 imageHeight = minSize * imageHeight / imageWidth; in onLayout()
135 imageView.layout(left, top, left + imageWidth, top + imageHeight); in onLayout()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java48 public ImageResizer(Context context, int imageWidth, int imageHeight) { in ImageResizer() argument
50 setImageSize(imageWidth, imageHeight); in ImageResizer()
DImageFetcher.java62 public ImageFetcher(Context context, int imageWidth, int imageHeight) { in ImageFetcher() argument
63 super(context, imageWidth, imageHeight); in ImageFetcher()