/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 49 public Rotation rotation = FilterRotateRepresentation.getNil(); field in GeometryMathUtils.GeometryHolder 55 rotation = h.rotation; in set() 62 rotation = FilterRotateRepresentation.getNil(); in wipe() 69 return rotation == FilterRotateRepresentation.getNil() && in isNil() 84 return rotation == h.rotation && straighten == h.straighten && in equals() 91 return getClass().getSimpleName() + "[" + "rotation:" + rotation.value() in toString() 220 if (holder.rotation.value() == 90 in concatMirrorMatrix() 221 || holder.rotation.value() == 270) { in concatMirrorMatrix() 225 if (holder.rotation.value() == 90 in concatMirrorMatrix() 226 || holder.rotation.value() == 270) { in concatMirrorMatrix() [all …]
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
D | clouds.rs | 95 static float rotation[5]; 135 rotate(gVSConstants->layer0, rotation[0]); 136 rotate(gVSConstants->layer1, rotation[1]); 137 rotate(gVSConstants->layer2, rotation[2]); 138 rotate(gVSConstants->layer3, rotation[3]); 139 rotate(gVSConstants->layer4, rotation[4]); 181 rotation[0] += 0.100f * timedelta; 182 rotation[1] += 0.102f * timedelta; 183 rotation[2] += 0.106f * timedelta; 184 rotation[3] += 0.114f * timedelta; [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 206 private void layoutTiles(int centerX, int centerY, float scale, int rotation) { in layoutTiles() argument 224 getRange(range, centerX, centerY, mLevel, scale, rotation); in layoutTiles() 240 getRange(range[i - fromLevel], centerX, centerY, i, rotation); in layoutTiles() 244 if (rotation % 90 != 0) return; in layoutTiles() 292 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument 293 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange() 303 int cX, int cY, int level, float scale, int rotation) { in getRange() argument 305 double radians = Math.toRadians(-rotation); in getRange() 355 public boolean setPosition(int centerX, int centerY, float scale, int rotation) { in setPosition() argument 357 && mScale == scale && mRotation == rotation) return false; in setPosition() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalImage.java | 103 public int rotation; field in LocalImage 143 rotation = cursor.getInt(INDEX_ORIENTATION); in loadFromCursor() 165 rotation = uh.update(rotation, cursor.getInt(INDEX_ORIENTATION)); in updateFromCursor() 280 int rotation = (this.rotation + degrees) % 360; in rotate() local 281 if (rotation < 0) rotation += 360; in rotate() 286 ExifInterface.getOrientationValueForRotation(rotation)); in rotate() 303 values.put(Images.Media.ORIENTATION, rotation); in rotate() 322 details.addDetail(MediaDetails.INDEX_ORIENTATION, Integer.valueOf(rotation)); in getDetails() 333 return rotation; in getRotation()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageView.java | 66 public int rotation; field in TiledImageView.ImageRendererWrapper 173 mRenderer.rotation = source != null ? source.getRotation() : 0; in setTileSource() 262 final int rotation = mRenderer.source.getRotation(); in positionFromMatrix() local 263 final boolean swap = !(rotation % 180 == 0); in positionFromMatrix() 276 if (rotation == 90 || rotation == 180) { in positionFromMatrix() 281 if (rotation == 180 || rotation == 270) { in positionFromMatrix() 301 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation); in onSurfaceCreated() 316 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation); in onDrawFrame()
|
D | TiledImageRenderer.java | 191 public void setModel(TileSource model, int rotation) { in setModel() argument 196 if (mRotation != rotation) { in setModel() 197 mRotation = rotation; in setModel() 349 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument 350 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange() 360 int cX, int cY, int level, float scale, int rotation) { in getRange() argument 362 double radians = Math.toRadians(-rotation); in getRange() 421 int rotation = mRotation; in draw() local 423 if (rotation != 0) { in draw() 429 if (rotation != 0) { in draw() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageView.java | 66 int rotation; field in TiledImageView.ImageRendererWrapper 161 mRenderer.rotation = source != null ? source.getRotation() : 0; in setTileSource() 250 final int rotation = mRenderer.source.getRotation(); in positionFromMatrix() local 251 final boolean swap = !(rotation % 180 == 0); in positionFromMatrix() 264 if (rotation == 90 || rotation == 180) { in positionFromMatrix() 269 if (rotation == 180 || rotation == 270) { in positionFromMatrix() 289 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation); in onSurfaceCreated() 304 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation); in onDrawFrame()
|
D | TiledImageRenderer.java | 191 public void setModel(TileSource model, int rotation) { in setModel() argument 196 if (mRotation != rotation) { in setModel() 197 mRotation = rotation; in setModel() 349 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument 350 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange() 360 int cX, int cY, int level, float scale, int rotation) { in getRange() argument 362 double radians = Math.toRadians(-rotation); in getRange() 421 int rotation = mRotation; in draw() local 423 if (rotation != 0) { in draw() 429 if (rotation != 0) { in draw() [all …]
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | WallpaperCropActivity.java | 312 int rotation = getRotationFromExif(this, uri); in setWallpaper() local 314 this, uri, null, rotation, 0, 0, true, false, null); in setWallpaper() 334 int rotation = getRotationFromExif(res, resId); in cropImageAndSetWallpaper() local 352 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop); in cropImageAndSetWallpaper() 478 RectF cropBounds, int rotation, int outWidth, int outHeight, 482 init(cropBounds, rotation, 487 RectF cropBounds, int rotation, int outWidth, int outHeight, 490 init(cropBounds, rotation, 495 RectF cropBounds, int rotation, int outWidth, int outHeight, 499 init(cropBounds, rotation, [all …]
|
D | WallpaperPickerActivity.java | 788 Resources res, int resId, int rotation, boolean leftAligned) { in createThumbnail() argument 795 context, uri, null, rotation, width, height, false, true, null); in createThumbnail() 798 imageBytes, null, rotation, width, height, false, true, null); in createThumbnail() 801 context, res, resId, null, rotation, width, height, false, true, null); in createThumbnail() 809 rotateMatrix.setRotate(rotation); in createThumbnail() 842 int rotation = WallpaperCropActivity.getRotationFromExif(context, uri); in addTemporaryWallpaperTile() local 843 … return createThumbnail(defaultSize, context, uri, null, null, 0, rotation, false); in addTemporaryWallpaperTile() 1027 int rotation = WallpaperCropActivity.getRotationFromExif(res, resId); in getPreKKDefaultWallpaperInfo() local 1029 defaultThumbSize, this, null, null, sysRes, resId, rotation, false); in getPreKKDefaultWallpaperInfo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | BoundedRect.java | 36 public BoundedRect(float rotation, Rect outerRect, Rect innerRect) { in BoundedRect() argument 37 rot = rotation; in BoundedRect() 46 public BoundedRect(float rotation, RectF outerRect, RectF innerRect) { in BoundedRect() argument 47 rot = rotation; in BoundedRect() 56 public void resetTo(float rotation, RectF outerRect, RectF innerRect) { in resetTo() argument 57 rot = rotation; in resetTo() 82 public void setRotation(float rotation) { in setRotation() argument 83 if (rotation == rot) in setRotation() 85 rot = rotation; in setRotation()
|
D | CropView.java | 113 public void initialize(Bitmap image, RectF newCropBounds, RectF newPhotoBounds, int rotation) { in initialize() argument 119 || mRotation != rotation) { in initialize() 120 mRotation = rotation; in initialize() 125 mRotation = rotation; in initialize() 274 private int decode(int movingEdges, float rotation) { in decode() argument 275 int rot = CropMath.constrainedRotation(rotation); in decode()
|
D | CropActivity.java | 323 int rotation) { in startBitmapIO() argument 340 photoBounds, currentBitmapBounds, rotation, mOutputX, mOutputY); in startBitmapIO() 385 RectF cropBounds, RectF photoBounds, RectF originalBitmapBounds, int rotation, in BitmapIOTask() argument 397 mRotation = (rotation < 0) ? -rotation : rotation; in BitmapIOTask()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | VideoRotationMetadataLoader.java | 17 final String rotation = localData.getMetadata().getString(ROTATION_KEY); in isRotated() local 18 return ROTATE_90.equals(rotation) || ROTATE_270.equals(rotation); in isRotated() 35 String rotation = retriever.extractMetadata( in loadRotationMetdata() local 37 data.getMetadata().putString(ROTATION_KEY, rotation); in loadRotationMetdata()
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
D | VideoChatTestActivity.java | 117 int rotation = getWindowManager().getDefaultDisplay().getRotation(); in getDisplayOrientation() local 119 switch (rotation) { in getDisplayOrientation() 401 int rotation = setDisplayOrentationAngles.get(i); in TestCamera() local 402 if (rotation == -1) { in TestCamera() 403 rotation = getAutoDisplayOrientation(mDisplayOrientation, in TestCamera() 406 publishProgress("setDisplayOrientation to " + rotation); in TestCamera() 408 camera.setDisplayOrientation(rotation); in TestCamera()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CaptureModuleUtil.java | 38 int rotation = CameraUtil.getDisplayRotation(context); in getDeviceNaturalOrientation() local 40 if (((rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180) && in getDeviceNaturalOrientation() 42 ((rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270) && in getDeviceNaturalOrientation()
|
D | CaptureLayoutHelper.java | 224 public void onNonDecorWindowSizeChanged(int width, int height, int rotation) { in onNonDecorWindowSizeChanged() argument 227 mRotation = rotation; in onNonDecorWindowSizeChanged() 245 float previewAspectRatio, int rotation) { in getPositionConfiguration() argument 349 if (rotation >= 180) { in getPositionConfiguration()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterRotateRepresentation.java | 64 public FilterRotateRepresentation(Rotation rotation) { in FilterRotateRepresentation() argument 73 setRotation(rotation); in FilterRotateRepresentation() 110 public void setRotation(Rotation rotation) { in setRotation() argument 111 if (rotation == null) { in setRotation() 114 mRotation = rotation; in setRotation()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | RotateBitmap.java | 32 public RotateBitmap(Bitmap bitmap, int rotation) { in RotateBitmap() argument 34 mRotation = rotation % 360; in RotateBitmap() 37 public void setRotation(int rotation) { in setRotation() argument 38 mRotation = rotation; in setRotation()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 327 int rotation = activity.getWindowManager().getDefaultDisplay() in getDisplayRotation() local 329 switch (rotation) { in getDisplayRotation() 621 int rotation = 0; in setRotationParameter() local 625 rotation = (info.orientation - orientation + 360) % 360; in setRotationParameter() 627 rotation = (info.orientation + orientation) % 360; in setRotationParameter() 630 parameters.setRotation(rotation); in setRotationParameter()
|
/packages/apps/Camera/res/raw/ |
D | goofy_face.graph | 87 // Orientation rotation filter 89 rotation = 0; 92 // Orientation rotation filter for facemeta data 94 rotation = 0;
|
/packages/apps/LegacyCamera/res/raw/ |
D | goofy_face.graph | 86 // Orientation rotation filter 88 rotation = 0; 91 // Orientation rotation filter for facemeta data 93 rotation = 0;
|
/packages/apps/Camera2/res/raw/ |
D | goofy_face.graph | 87 // Orientation rotation filter 89 rotation = 0; 92 // Orientation rotation filter for facemeta data 94 rotation = 0;
|
/packages/apps/Gallery2/res/raw/ |
D | goofy_face.graph | 87 // Orientation rotation filter 89 rotation = 0; 92 // Orientation rotation filter for facemeta data 94 rotation = 0;
|
/packages/apps/Camera/src/com/android/camera/ |
D | Util.java | 378 int rotation = activity.getWindowManager().getDefaultDisplay() in getDisplayRotation() local 380 switch (rotation) { in getDisplayRotation() 696 int rotation = 0; in getJpegRotation() local 700 rotation = (info.orientation - orientation + 360) % 360; in getJpegRotation() 702 rotation = (info.orientation + orientation) % 360; in getJpegRotation() 705 return rotation; in getJpegRotation()
|