/external/skia/src/effects/ |
SkPictureImageFilter.cpp | 24 SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, 29 , fCropRect(cropRect) 40 SkRect cropRect; 49 buffer.readRect(&cropRect); 65 return CreateForLocalSpace(picture, cropRect, filterQuality); 67 return Create(picture, cropRect);
|
/external/skia/gm/ |
offsetimagefilter.cpp | 51 SkIRect cropRect = SkIRect::MakeXYWH(i * 12, 55 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); 62 DrawClippedImage(canvas, image, paint, 1, cropRect); 66 SkIRect cropRect = SkIRect::MakeXYWH(0, 0, 100, 100); 67 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); 70 DrawClippedImage(canvas, fBitmap, paint, 2, cropRect); 74 SkScalar scale, const SkIRect& cropRect) { 85 SkMatrix::MakeScale(scale, scale).mapRect(&cropRectFloat, SkRect::Make(cropRect)); [all...] |
xfermodeimagefilter.cpp | 156 SkIRect cropRect = SkIRect::MakeXYWH(offsets[i][0], 160 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); 174 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(10, 10, 60, 60)); 176 SkOffsetImageFilter::Create(0, 0, foreground, &cropRect));
|
/frameworks/base/media/java/android/media/ |
Image.java | 236 public void setCropRect(Rect cropRect) { 239 if (cropRect != null) { 240 cropRect = new Rect(cropRect); // make a copy 241 if (!cropRect.intersect(0, 0, getWidth(), getHeight())) { 242 cropRect.setEmpty(); 245 mCropRect = cropRect;
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
WallpaperTileInfo.java | 63 RectF cropRect = Utils.getMaxCropRect( 65 return streamProvider.readCroppedBitmap(cropRect, width, height, rotation);
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/ |
Utils.java | 110 RectF cropRect = new RectF(); 113 cropRect.top = 0; 114 cropRect.bottom = inHeight; 115 cropRect.left = (inWidth - (outWidth / (float) outHeight) * inHeight) / 2; 116 cropRect.right = inWidth - cropRect.left; 118 cropRect.right -= cropRect.left; 119 cropRect.left = 0; 122 cropRect.left = 0 [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
CircleFramedDrawable.java | 69 final Rect cropRect = new Rect((width - square) / 2, (height - square) / 2, square, square); 86 canvas.drawBitmap(icon, cropRect, circleRect, mPaint);
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
InputStreamProvider.java | 187 RectF cropRect = new RectF(0, 0, dimsAfter[0], dimsAfter[1]); 192 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); 201 m4.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
AndroidCamera2Settings.java | 573 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropWidth, cropHeight); 577 translateMatrix.postTranslate(-cropRect.centerX(), -cropRect.centerY()); 579 translateMatrix.mapRect(/*inout*/cropRect); 583 cropRect.roundOut(result);
|
/cts/tests/tests/media/libmediandkjni/ |
codec-utils-jni.cpp | 175 jobject cropRect = NULL; 177 cropRect = env->CallObjectMethod(image, gFields.methodCrop); 178 area = cropRect; 190 if (cropRect != NULL) { 191 env->DeleteLocalRef(cropRect); 192 cropRect = NULL;
|
/frameworks/base/media/jni/ |
android_media_ImageWriter.cpp | 452 android_native_rect_t cropRect; 453 cropRect.left = left; 454 cropRect.top = top; 455 cropRect.right = right; 456 cropRect.bottom = bottom; 457 res = native_window_set_crop(anw.get(), &cropRect); 544 android_native_rect_t cropRect; 545 cropRect.left = left; 546 cropRect.top = top; 547 cropRect.right = right [all...] |
android_media_MediaCodec.cpp | 557 jobject cropRect = NULL; 567 cropRect = env->NewObject( 582 (jint)0 /* xOffset */, (jint)0 /* yOffset */, cropRect); 591 if (cropRect != NULL) { 592 env->DeleteLocalRef(cropRect); 593 cropRect = NULL; [all...] |
/frameworks/base/cmds/bootanimation/ |
BootAnimation.cpp | 499 int cropRect[4] = { 0, DIGIT_HEIGHT, DIGIT_WIDTH, -DIGIT_HEIGHT }; 514 cropRect[0] = left; 515 cropRect[2] = width; 516 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, cropRect); [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
ParameterUtils.java | 517 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropW, cropH); 521 translateMatrix.postTranslate(-cropRect.centerX(), -cropRect.centerY()); 523 translateMatrix.mapRect(/*inout*/cropRect); 526 return ParamsUtils.createRect(cropRect); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 371 RectF cropRect = mCropView.getCrop(); 376 float cropScale = mCropView.getWidth() / (float) cropRect.width(); 387 cropRect.left = Math.max(0, cropRect.left); 388 cropRect.right = Math.min(rotatedInSize[0], cropRect.right); 389 cropRect.top = Math.max(0, cropRect.top); 390 cropRect.bottom = Math.min(rotatedInSize[1], cropRect.bottom) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropActivity.java | 518 RectF cropRect = new RectF(0, 0, crop.getWidth(), crop.getHeight()); 521 m.mapRect(cropRect); 524 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL);
|
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 613 RectF cropRect = new RectF(0, 0, crop.getWidth(), crop.getHeight()); 615 m.setRectToRect(cropRect, returnRect, Matrix.ScaleToFit.FILL); 634 RectF cropRect = new RectF(); 637 cropRect.top = 0; 638 cropRect.bottom = inHeight; 640 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; 641 cropRect.right = cropRect.left + cropWidth; 643 cropRect.left = 0; 644 cropRect.right = inWidth [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
WindowStateAnimator.java | [all...] |
/prebuilts/sdk/21/ |
android.jar | |
/prebuilts/sdk/22/ |
android.jar | |
/prebuilts/sdk/24/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/system_23/ |
android.jar | |
/prebuilts/sdk/system_current/ |
android.jar | |