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

  /frameworks/base/core/java/android/service/wallpaper/
IWallpaperService.aidl 28 int reqWidth, int reqHeight, in Rect padding);
WallpaperService.java     [all...]
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 110 * @param reqHeight The requested height of the resulting bitmap
116 int reqWidth, int reqHeight, ImageCache cache) {
125 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
143 * @param reqHeight The requested height of the resulting bitmap
149 int reqWidth, int reqHeight, ImageCache cache) {
157 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
174 * @param reqHeight The requested height of the resulting bitmap
180 FileDescriptor fileDescriptor, int reqWidth, int reqHeight, ImageCache cache) {
188 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
228 * @param reqHeight The requested height of the resulting bitma
    [all...]
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 110 * @param reqHeight The requested height of the resulting bitmap
116 int reqWidth, int reqHeight, ImageCache cache) {
125 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
143 * @param reqHeight The requested height of the resulting bitmap
149 int reqWidth, int reqHeight, ImageCache cache) {
157 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
174 * @param reqHeight The requested height of the resulting bitmap
180 FileDescriptor fileDescriptor, int reqWidth, int reqHeight, ImageCache cache) {
188 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
228 * @param reqHeight The requested height of the resulting bitma
    [all...]
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageResizer.java 110 * @param reqHeight The requested height of the resulting bitmap
116 int reqWidth, int reqHeight, ImageCache cache) {
125 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
143 * @param reqHeight The requested height of the resulting bitmap
149 int reqWidth, int reqHeight, ImageCache cache) {
157 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
174 * @param reqHeight The requested height of the resulting bitmap
180 FileDescriptor fileDescriptor, int reqWidth, int reqHeight, ImageCache cache) {
188 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
228 * @param reqHeight The requested height of the resulting bitma
    [all...]
  /packages/apps/TV/tests/unit/src/com/android/tv/util/
ScaledBitmapInfoTest.java 42 int reqWidth, int reqHeight) {
43 assertEquals(scaledBitmap.id + " needToReload(" + reqWidth + "," + reqHeight + ")",
44 expected, scaledBitmap.needToReload(reqWidth, reqHeight));
  /packages/apps/TV/src/com/android/tv/util/
BitmapUtils.java 82 String uriString, int reqWidth, int reqHeight) {
113 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
134 int reqHeight) {
135 return calculateInSampleSize(options.outWidth, options.outHeight, reqWidth, reqHeight);
138 private static int calculateInSampleSize(int width, int height, int reqWidth, int reqHeight) {
141 int ratio = Math.max(width / reqWidth, height / reqHeight);
221 public boolean needToReload(int reqWidth, int reqHeight) {
226 Rect size = calculateNewSize(this.bitmap, reqWidth, reqHeight);
230 Log.d(TAG, "needToReload(" + reqWidth + ", " + reqHeight + ")=" + reload
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageLoader.java 354 * @param reqHeight The requested height of the resulting bitmap
359 FileDescriptor fileDescriptor, int reqWidth, int reqHeight) {
367 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
385 * @param reqHeight The requested height of the resulting bitmap
389 int reqWidth, int reqHeight) {
395 if (height > reqHeight || width > reqWidth) {
398 final int heightRatio = Math.round((float) height / (float) reqHeight);
414 final float totalReqPixelsCap = reqWidth * reqHeight * 2;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
ByodPresentMediaDialog.java 91 private int calculateInSampleSize(BitmapFactory.Options options, int reqWidth, int reqHeight){
95 if(reqWidth <= 0 || reqHeight <= 0) {
98 return Math.max(height/reqHeight, width/reqWidth) + 1;
155 int reqHeight = size.y;
156 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
  /frameworks/native/include/gui/
SurfaceComposerClient.h 210 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
230 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
233 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
237 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
ISurfaceComposer.h 151 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
  /frameworks/native/libs/gui/
SurfaceComposerClient.cpp 826 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
831 reqWidth, reqHeight, minLayerZ, maxLayerZ, useIdentityTransform);
854 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
868 reqWidth, reqHeight, minLayerZ, maxLayerZ, useIdentityTransform,
881 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
885 return ScreenshotClient::update(display, sourceCrop, reqWidth, reqHeight,
896 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform) {
897 return ScreenshotClient::update(display, sourceCrop, reqWidth, reqHeight,
Surface.cpp 106 uint32_t reqHeight = mReqHeight ? mReqHeight : mUserHeight;
107 mGraphicBufferProducer->allocateBuffers(reqWidth, reqHeight,
271 uint32_t reqHeight;
279 reqHeight = mReqHeight ? mReqHeight : mUserHeight;
299 reqWidth, reqHeight, reqFormat, reqUsage);
304 "(%d, %d, %d, %d) failed: %d", reqWidth, reqHeight, reqFormat,
    [all...]
ISurfaceComposer.cpp 106 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
117 data.writeUint32(reqHeight);
460 uint32_t reqHeight = data.readUint32();
467 sourceCrop, reqWidth, reqHeight, minLayerZ, maxLayerZ,
  /frameworks/native/services/surfaceflinger/
SurfaceFlinger.h 219 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
343 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
350 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
SurfaceFlinger.cpp     [all...]
SurfaceFlinger_hwc1.cpp     [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
ImageUtils.java 189 * @param reqHeight the desired height of the bitmap. Can be ImageRequest.UNSPECIFIED_SIZE.
193 final BitmapFactory.Options options, final int reqWidth, final int reqHeight) {
199 final boolean checkHeight = reqHeight != ImageRequest.UNSPECIFIED_SIZE;
201 if ((checkHeight && height > reqHeight) ||
209 while ((!checkHeight || (halfHeight / inSampleSize) > reqHeight)
    [all...]
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteControllerDialog.java     [all...]
  /frameworks/support/samples/SupportLeanbackShowcase/libs/
picasso-2.5.2.jar 
  /prebuilts/sdk/current/support/v7/mediarouter/libs/
android-support-v7-mediarouter.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 

Completed in 9545 milliseconds