@@ -49,6 +49,7 @@ public interface IPhotoView {
4949 * Sets the Display Matrix of the currently displayed Drawable. The Rectangle is considered
5050 * relative to this View and includes all scaling and translations.
5151 *
52+ * @param finalMatrix target matrix to set PhotoView to
5253 * @return - true if rectangle was applied successfully
5354 */
5455 boolean setDisplayMatrix (Matrix finalMatrix );
@@ -115,59 +116,75 @@ public interface IPhotoView {
115116
116117 /**
117118 * Return the current scale type in use by the ImageView.
119+ *
120+ * @return current ImageView.ScaleType
118121 */
119122 ImageView .ScaleType getScaleType ();
120123
121124 /**
122125 * Whether to allow the ImageView's parent to intercept the touch event when the photo is scroll
123126 * to it's horizontal edge.
127+ *
128+ * @param allow whether to allow intercepting by parent element or not
124129 */
125130 void setAllowParentInterceptOnEdge (boolean allow );
126131
127132 /**
128133 * Use {@link #setMinimumScale(float minimumScale)} instead, this will be removed in future
129134 * release
130- * <p/ >
135+ * <p> </p >
131136 * Sets the minimum scale level. What this value represents depends on the current {@link
132137 * android.widget.ImageView.ScaleType}.
138+ *
139+ * @param minScale minimum allowed scale
133140 */
134141 @ Deprecated
135142 void setMinScale (float minScale );
136143
137144 /**
138145 * Sets the minimum scale level. What this value represents depends on the current {@link
139146 * android.widget.ImageView.ScaleType}.
147+ *
148+ * @param minimumScale minimum allowed scale
140149 */
141150 void setMinimumScale (float minimumScale );
142151
143152 /**
144153 * Use {@link #setMediumScale(float mediumScale)} instead, this will be removed in future
145154 * release
146- * <p/ >
155+ * <p> </p >
147156 * Sets the middle scale level. What this value represents depends on the current {@link
148157 * android.widget.ImageView.ScaleType}.
158+ *
159+ * @param midScale medium scale preset
149160 */
150161 @ Deprecated
151162 void setMidScale (float midScale );
152163
153164 /*
154165 * Sets the medium scale level. What this value represents depends on the current {@link android.widget.ImageView.ScaleType}.
166+ *
167+ * @param mediumScale medium scale preset
155168 */
156169 void setMediumScale (float mediumScale );
157170
158171 /**
159172 * Use {@link #setMaximumScale(float maximumScale)} instead, this will be removed in future
160173 * release
161- * <p/ >
174+ * <p> </p >
162175 * Sets the maximum scale level. What this value represents depends on the current {@link
163176 * android.widget.ImageView.ScaleType}.
177+ *
178+ * @param maxScale maximum allowed scale preset
164179 */
165180 @ Deprecated
166181 void setMaxScale (float maxScale );
167182
168183 /**
169184 * Sets the maximum scale level. What this value represents depends on the current {@link
170185 * android.widget.ImageView.ScaleType}.
186+ *
187+ * @param maximumScale maximum allowed scale preset
171188 */
172189 void setMaximumScale (float maximumScale );
173190
0 commit comments