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 {
221221 */
222222 void setZoomable (boolean zoomable );
223223
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-
233224 /**
234225 * Extracts currently visible area to Bitmap object, if there is no image loaded yet or the
235226 * ImageView is already destroyed, returns {@code null}
Original file line number Diff line number Diff line change @@ -60,14 +60,6 @@ protected void init() {
6060 }
6161 }
6262
63- /**
64- * @deprecated use {@link #setRotationTo(float)}
65- */
66- @ Override
67- public void setPhotoViewRotation (float rotationDegree ) {
68- mAttacher .setRotationTo (rotationDegree );
69- }
70-
7163 @ Override
7264 public void setRotationTo (float rotationDegree ) {
7365 mAttacher .setRotationTo (rotationDegree );
Original file line number Diff line number Diff line change @@ -315,15 +315,6 @@ public void setBaseRotation(final float degrees) {
315315 checkAndDisplayMatrix ();
316316 }
317317
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-
327318 @ Override
328319 public void setRotationTo (float degrees ) {
329320 mSuppMatrix .setRotate (degrees % 360 );
@@ -692,7 +683,7 @@ public void update() {
692683 }
693684
694685 /**
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
696687 * @param matrix target matrix to copy to
697688 */
698689 @ Override
You can’t perform that action at this time.
0 commit comments