/packages/apps/Dialer/java/com/android/dialer/callcomposer/util/ |
H A D | BitmapResizer.java | 34 * @param rotation degrees to rotate the image clockwise 37 public static Bitmap resizeForEnrichedCalling(Bitmap image, int rotation) { argument 44 matrix.postRotate(rotation);
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
H A D | ImageToProcess.java | 32 public final OrientationManager.DeviceOrientation rotation; field in class:ImageToProcess 42 * be performed *before* any rotation, and a crop rectangle of 48 this.rotation = imageRotation;
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | WidgetUtils.java | 57 public static Bitmap createWidgetBitmap(Bitmap bitmap, int rotation) { argument 62 if (((rotation / 90) & 1) == 0) { 74 canvas.rotate(rotation);
|
/packages/apps/Settings/tests/app/src/com/android/settings/bluetooth/ |
H A D | BluetoothDeviceDetailsRotationTest.java | 83 public void rotation() { method in class:BluetoothDeviceDetailsRotationTest
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | RotateBitmap.java | 32 public RotateBitmap(Bitmap bitmap, int rotation) { argument 34 mRotation = rotation % 360; 37 public void setRotation(int rotation) { argument 38 mRotation = rotation; 57 // We want to do the rotation at origin, but since the bounding 58 // rectangle will be changed after rotation, so the delta values
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
H A D | InputStreamProvider.java | 66 public Bitmap readCroppedBitmap(RectF cropBounds, int outWidth, int outHeight, int rotation) { argument 76 if (rotation > 0) { 77 rotateMatrix.setRotate(rotation); 80 inverseRotateMatrix.setRotate(-rotation); 176 if (outWidth > 0 && outHeight > 0 || rotation > 0) { 191 if (rotation == 0) { 197 m2.setRotate(rotation);
|
H A D | CropAndSetWallpaperTask.java | 55 RectF cropBounds, int rotation, int outWidth, int outHeight, 61 mRotation = rotation; 54 CropAndSetWallpaperTask(InputStreamProvider streamProvider, Context context, RectF cropBounds, int rotation, int outWidth, int outHeight, OnEndCropHandler onEndCropHandler) argument
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
H A D | WallpaperTileInfo.java | 47 int rotation, boolean leftAligned) { 57 rotateMatrix.setRotate(rotation); 65 return streamProvider.readCroppedBitmap(cropRect, width, height, rotation); 46 createThumbnail(InputStreamProvider streamProvider, Context context, int rotation, boolean leftAligned) argument
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestManagedVideoProvider.java | 90 public void onSetDeviceOrientation(int rotation) { argument 91 mRemoteVideoProvider.setDeviceOrientation(rotation);
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | CaptureLayoutHelper.java | 224 public void onNonDecorWindowSizeChanged(int width, int height, int rotation) { argument 227 mRotation = rotation; 240 * @param rotation rotation from the natural orientation 245 float previewAspectRatio, int rotation) { 349 if (rotation >= 180) { 244 getPositionConfiguration(int width, int height, float previewAspectRatio, int rotation) argument
|
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | InCallOrientationEventListener.java | 60 * our threshold is x degrees. We will only notify UI when our current rotation is within x 66 // Rotation threshold is 10 degrees. So if the rotation angle is within 10 degrees of any of 70 /** Cache the current rotation of the device. */ 103 * <p>Note that this API receives sensor rotation in degrees as a param and we convert that to one 107 * @param rotation The new device sensor rotation in degrees 110 public void onOrientationChanged(int rotation) { argument 111 if (rotation == OrientationEventListener.ORIENTATION_UNKNOWN) { 115 final int orientation = toScreenOrientation(rotation); 171 * Converts sensor rotation i 178 toScreenOrientation(int rotation) argument [all...] |
/packages/apps/Dialer/java/com/android/incallui/videotech/ |
H A D | VideoTech.java | 70 void setDeviceOrientation(int rotation); argument
|
/packages/apps/Dialer/java/com/android/incallui/videotech/empty/ |
H A D | EmptyVideoTech.java | 100 public void setDeviceOrientation(int rotation) {} argument
|
/packages/apps/Dialer/java/com/android/incallui/videotech/lightbringer/ |
H A D | LightbringerTech.java | 150 public void setDeviceOrientation(int rotation) { argument
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | Image.java | 48 int rotation) { 51 mRotation = rotation; 45 Image(BaseImageList container, ContentResolver cr, long id, int index, Uri uri, String dataPath, String mimeType, long dateTaken, String title, int rotation) argument
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 178 public static Bitmap rotateBitmap(Bitmap source, int rotation, boolean recycle) { argument 179 if (rotation == 0) return source; 183 m.postRotate(rotation);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | BoundedRect.java | 36 public BoundedRect(float rotation, Rect outerRect, Rect innerRect) { argument 37 rot = rotation; 46 public BoundedRect(float rotation, RectF outerRect, RectF innerRect) { argument 47 rot = rotation; 56 public void resetTo(float rotation, RectF outerRect, RectF innerRect) { argument 57 rot = rotation; 80 * Sets rotation, and re-constrains inner to fit within the rotated bounding rect. 82 public void setRotation(float rotation) { argument 83 if (rotation == rot) 85 rot = rotation; [all...] |
H A D | CropDrawingUtils.java | 174 RectF screen, int rotation) { 176 dst.setRotate(rotation, image.centerX(), image.centerY()); 182 boolean rot = dst.preRotate(rotation, image.centerX(), image.centerY()); 173 setImageToScreenMatrix(Matrix dst, RectF image, RectF screen, int rotation) argument
|
H A D | CropMath.java | 137 * @param rot angle of rotation about rectangle center 238 * Constrains rotation to be in [0, 90, 180, 270] rounding down. 239 * @param rotation any rotation value, in degrees 240 * @return integer rotation in [0, 90, 180, 270] 242 public static int constrainedRotation(float rotation) { argument 243 int r = (int) ((rotation % 360) / 90);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterRotateRepresentation.java | 64 public FilterRotateRepresentation(Rotation rotation) { argument 73 setRotation(rotation); 110 public void setRotation(Rotation rotation) { argument 111 if (rotation == null) { 114 mRotation = rotation;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AbstractSlotRenderer.java | 47 Texture content, int width, int height, int rotation) { 53 if (rotation != 0) { 55 canvas.rotate(rotation, 0, 0, 1); 46 drawContent(GLCanvas canvas, Texture content, int width, int height, int rotation) argument
|
H A D | SlideshowView.java | 52 public void next(Bitmap bitmap, int rotation) { argument 65 mCurrentRotation = rotation; 67 if (((rotation / 90) & 0x01) == 0) {
|
/packages/apps/Gallery2/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 67 public BitmapRegionTileSource(Context context, String path, int previewSize, int rotation) { argument 69 mRotation = rotation;
|
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/ |
H A D | ImsVideoTech.java | 284 public void setDeviceOrientation(int rotation) { argument 285 call.getVideoCall().setDeviceOrientation(rotation);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocalImage.java | 103 public int rotation; field in class:LocalImage 143 rotation = cursor.getInt(INDEX_ORIENTATION); 165 rotation = uh.update(rotation, cursor.getInt(INDEX_ORIENTATION)); 280 int rotation = (this.rotation + degrees) % 360; 281 if (rotation < 0) rotation += 360; 286 ExifInterface.getOrientationValueForRotation(rotation)); 303 values.put(Images.Media.ORIENTATION, rotation); [all...] |