File tree Expand file tree Collapse file tree 3 files changed +1
-27
lines changed
library/src/main/java/uk/co/senab/photoview Expand file tree Collapse file tree 3 files changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -221,15 +221,6 @@ public interface IPhotoView {
221
221
*/
222
222
void setZoomable (boolean zoomable );
223
223
224
- /**
225
- * Enables rotation via PhotoView internal functions. Name is chosen so it won't collide with
226
- * View.setRotation(float) in API since 11
227
- *
228
- * @param rotationDegree - Degree to rotate PhotoView to, should be in range 0 to 360
229
- * @deprecated use {@link #setRotationTo(float)}
230
- */
231
- void setPhotoViewRotation (float rotationDegree );
232
-
233
224
/**
234
225
* Extracts currently visible area to Bitmap object, if there is no image loaded yet or the
235
226
* ImageView is already destroyed, returns {@code null}
Original file line number Diff line number Diff line change @@ -60,14 +60,6 @@ protected void init() {
60
60
}
61
61
}
62
62
63
- /**
64
- * @deprecated use {@link #setRotationTo(float)}
65
- */
66
- @ Override
67
- public void setPhotoViewRotation (float rotationDegree ) {
68
- mAttacher .setRotationTo (rotationDegree );
69
- }
70
-
71
63
@ Override
72
64
public void setRotationTo (float rotationDegree ) {
73
65
mAttacher .setRotationTo (rotationDegree );
Original file line number Diff line number Diff line change @@ -315,15 +315,6 @@ public void setBaseRotation(final float degrees) {
315
315
checkAndDisplayMatrix ();
316
316
}
317
317
318
- /**
319
- * @deprecated use {@link #setRotationTo(float)}
320
- */
321
- @ Override
322
- public void setPhotoViewRotation (float degrees ) {
323
- mSuppMatrix .setRotate (degrees % 360 );
324
- checkAndDisplayMatrix ();
325
- }
326
-
327
318
@ Override
328
319
public void setRotationTo (float degrees ) {
329
320
mSuppMatrix .setRotate (degrees % 360 );
@@ -692,7 +683,7 @@ public void update() {
692
683
}
693
684
694
685
/**
695
- * Like {@link #getDisplayMatrix()}, but allows the user to provide a matrix to copy the values into to reduce object allocation
686
+ * Get the display matrix
696
687
* @param matrix target matrix to copy to
697
688
*/
698
689
@ Override
You can’t perform that action at this time.
0 commit comments