Skip to content

Commit bdf73bf

Browse files
hunterstichdsn5ft
authored andcommitted
[Carousel] Minor javadoc working fixes
PiperOrigin-RevId: 509185650
1 parent 184be8a commit bdf73bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/java/com/google/android/material/carousel/MaskableFrameLayout.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected void onSizeChanged(int w, int h, int oldw, int oldh) {
7474
}
7575

7676
/**
77-
* Sets the percentage by which this view should mask itself along the x axis.
77+
* Sets the percentage by which this {@link View} masks by along the x axis.
7878
*
7979
* @param percentage 0 when this view is fully unmasked. 1 when this view is fully masked.
8080
*/
@@ -88,7 +88,7 @@ public void setMaskXPercentage(float percentage) {
8888
}
8989

9090
/**
91-
* Gets the percentage by which this {@link View} should mask itself along the x axis.
91+
* Gets the percentage by which this {@link View} is masked by along the x axis.
9292
*
9393
* @return a float between 0 and 1 where 0 is fully unmasked and 1 is fully masked.
9494
*/
@@ -97,7 +97,7 @@ public float getMaskXPercentage() {
9797
return maskXPercentage;
9898
}
9999

100-
/** Gets a {@link RectF} that this {@link View} is masking itself by. */
100+
/** Gets a {@link RectF} that this {@link View} is masked itself by. */
101101
@NonNull
102102
@Override
103103
public RectF getMaskRectF() {

lib/java/com/google/android/material/carousel/OnMaskChangedListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
public interface OnMaskChangedListener {
2626

2727
/**
28-
* Called when changes in a mask's {@link RectF} changes.
28+
* Called when changes in a mask's {@link RectF} occur.
2929
*
3030
* @param maskRect the bounds of the mask relative to the drawing bounds of the View
3131
*/

0 commit comments

Comments
 (0)