Merge "Add AccessibilityRecord#getMaxScrollX and #getMaxScrollY to the pubic API"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f42d34bdd1
@@ -24082,6 +24082,8 @@ package android.view.accessibility {
|
|||||||
method public int getCurrentItemIndex();
|
method public int getCurrentItemIndex();
|
||||||
method public int getFromIndex();
|
method public int getFromIndex();
|
||||||
method public int getItemCount();
|
method public int getItemCount();
|
||||||
|
method public int getMaxScrollX();
|
||||||
|
method public int getMaxScrollY();
|
||||||
method public android.os.Parcelable getParcelableData();
|
method public android.os.Parcelable getParcelableData();
|
||||||
method public int getRemovedCount();
|
method public int getRemovedCount();
|
||||||
method public int getScrollX();
|
method public int getScrollX();
|
||||||
@@ -24108,6 +24110,8 @@ package android.view.accessibility {
|
|||||||
method public void setFromIndex(int);
|
method public void setFromIndex(int);
|
||||||
method public void setFullScreen(boolean);
|
method public void setFullScreen(boolean);
|
||||||
method public void setItemCount(int);
|
method public void setItemCount(int);
|
||||||
|
method public void setMaxScrollX(int);
|
||||||
|
method public void setMaxScrollY(int);
|
||||||
method public void setParcelableData(android.os.Parcelable);
|
method public void setParcelableData(android.os.Parcelable);
|
||||||
method public void setPassword(boolean);
|
method public void setPassword(boolean);
|
||||||
method public void setRemovedCount(int);
|
method public void setRemovedCount(int);
|
||||||
|
|||||||
@@ -391,8 +391,6 @@ public class AccessibilityRecord {
|
|||||||
* Gets the max scroll offset of the source left edge in pixels.
|
* Gets the max scroll offset of the source left edge in pixels.
|
||||||
*
|
*
|
||||||
* @return The max scroll.
|
* @return The max scroll.
|
||||||
*
|
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public int getMaxScrollX() {
|
public int getMaxScrollX() {
|
||||||
return mMaxScrollX;
|
return mMaxScrollX;
|
||||||
@@ -401,8 +399,6 @@ public class AccessibilityRecord {
|
|||||||
* Sets the max scroll offset of the source left edge in pixels.
|
* Sets the max scroll offset of the source left edge in pixels.
|
||||||
*
|
*
|
||||||
* @param maxScrollX The max scroll.
|
* @param maxScrollX The max scroll.
|
||||||
*
|
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public void setMaxScrollX(int maxScrollX) {
|
public void setMaxScrollX(int maxScrollX) {
|
||||||
enforceNotSealed();
|
enforceNotSealed();
|
||||||
@@ -413,8 +409,6 @@ public class AccessibilityRecord {
|
|||||||
* Gets the max scroll offset of the source top edge in pixels.
|
* Gets the max scroll offset of the source top edge in pixels.
|
||||||
*
|
*
|
||||||
* @return The max scroll.
|
* @return The max scroll.
|
||||||
*
|
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public int getMaxScrollY() {
|
public int getMaxScrollY() {
|
||||||
return mMaxScrollY;
|
return mMaxScrollY;
|
||||||
@@ -424,8 +418,6 @@ public class AccessibilityRecord {
|
|||||||
* Sets the max scroll offset of the source top edge in pixels.
|
* Sets the max scroll offset of the source top edge in pixels.
|
||||||
*
|
*
|
||||||
* @param maxScrollY The max scroll.
|
* @param maxScrollY The max scroll.
|
||||||
*
|
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public void setMaxScrollY(int maxScrollY) {
|
public void setMaxScrollY(int maxScrollY) {
|
||||||
enforceNotSealed();
|
enforceNotSealed();
|
||||||
|
|||||||
Reference in New Issue
Block a user