Home
last modified time | relevance | path

Searched refs:horizontalDegrees (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
DFlipAction.java46 float horizontalDegrees; in prepare()
52 public void onAngleChanged(float horizontalDegrees, float verticalDegrees, in prepare()
55 this.horizontalDegrees = horizontalDegrees; in prepare()
57 transformPhotoView(horizontalDegrees, verticalDegrees); in prepare()
70 horizontalDegrees = roundTo180(horizontalDegrees); in prepare()
72 transformPhotoView(horizontalDegrees, verticalDegrees); in prepare()
73 flipView.setFlippedAngles(horizontalDegrees, verticalDegrees); in prepare()
76 filter.setFlip(((int) horizontalDegrees / 180) % 2 != 0, in prepare()
88 private void transformPhotoView(final float horizontalDegrees, in prepare()
98 photoView.flipPhoto(horizontalDegrees, verticalDegrees); in prepare()
DFlipView.java33 void onAngleChanged(float horizontalDegrees, float verticalDegrees, boolean fromUser); in onAngleChanged() argument
61 public void setFlippedAngles(float horizontalDegrees, float verticalDegrees) { in setFlippedAngles() argument
62 refreshAngle(horizontalDegrees, verticalDegrees, false); in setFlippedAngles()
140 private void refreshAngle(float horizontalDegrees, float verticalDegrees, boolean fromUser) { in refreshAngle() argument
141 currentHorizontalDegrees = horizontalDegrees; in refreshAngle()
144 listener.onAngleChanged(horizontalDegrees, verticalDegrees, fromUser); in refreshAngle()
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
DPhotoView.java93 public void flipPhoto(float horizontalDegrees, float verticalDegrees) { in flipPhoto() argument
94 renderer.flipPhoto(horizontalDegrees, verticalDegrees); in flipPhoto()
156 void flipPhoto(float horizontalDegrees, float verticalDegrees) { in flipPhoto() argument
159 viewWidth, viewHeight, horizontalDegrees, verticalDegrees); in flipPhoto()
160 flippedHorizontalDegrees = horizontalDegrees; in flipPhoto()
DRendererUtils.java186 int dstWidth, int dstHeight, float horizontalDegrees, float verticalDegrees) { in setRenderToFlip() argument
189 int horizontalRounds = (int) horizontalDegrees / 180; in setRenderToFlip()
207 if (horizontalDegrees % 180f != 0) { in setRenderToFlip()
208 float radian = (horizontalDegrees - horizontalRounds * 180) * DEGREE_TO_RADIAN; in setRenderToFlip()