Skip to content

Commit f42d34b

Browse files
sganovAndroid (Google) Code Review
authored andcommitted
Merge "Add AccessibilityRecord#getMaxScrollX and #getMaxScrollY to the pubic API"
2 parents 1eb08f0 + 8b6c7dd commit f42d34b

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

api/current.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24082,6 +24082,8 @@ package android.view.accessibility {
2408224082
method public int getCurrentItemIndex();
2408324083
method public int getFromIndex();
2408424084
method public int getItemCount();
24085+
method public int getMaxScrollX();
24086+
method public int getMaxScrollY();
2408524087
method public android.os.Parcelable getParcelableData();
2408624088
method public int getRemovedCount();
2408724089
method public int getScrollX();
@@ -24108,6 +24110,8 @@ package android.view.accessibility {
2410824110
method public void setFromIndex(int);
2410924111
method public void setFullScreen(boolean);
2411024112
method public void setItemCount(int);
24113+
method public void setMaxScrollX(int);
24114+
method public void setMaxScrollY(int);
2411124115
method public void setParcelableData(android.os.Parcelable);
2411224116
method public void setPassword(boolean);
2411324117
method public void setRemovedCount(int);

core/java/android/view/accessibility/AccessibilityRecord.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,6 @@ public void setScrollY(int scrollY) {
391391
* Gets the max scroll offset of the source left edge in pixels.
392392
*
393393
* @return The max scroll.
394-
*
395-
* @hide
396394
*/
397395
public int getMaxScrollX() {
398396
return mMaxScrollX;
@@ -401,8 +399,6 @@ public int getMaxScrollX() {
401399
* Sets the max scroll offset of the source left edge in pixels.
402400
*
403401
* @param maxScrollX The max scroll.
404-
*
405-
* @hide
406402
*/
407403
public void setMaxScrollX(int maxScrollX) {
408404
enforceNotSealed();
@@ -413,8 +409,6 @@ public void setMaxScrollX(int maxScrollX) {
413409
* Gets the max scroll offset of the source top edge in pixels.
414410
*
415411
* @return The max scroll.
416-
*
417-
* @hide
418412
*/
419413
public int getMaxScrollY() {
420414
return mMaxScrollY;
@@ -424,8 +418,6 @@ public int getMaxScrollY() {
424418
* Sets the max scroll offset of the source top edge in pixels.
425419
*
426420
* @param maxScrollY The max scroll.
427-
*
428-
* @hide
429421
*/
430422
public void setMaxScrollY(int maxScrollY) {
431423
enforceNotSealed();

0 commit comments

Comments
 (0)