Populating some more accessibility events.

Change-Id: I7813abdd6dcc0979949caec9e31029486be0396d
This commit is contained in:
Winson Chung
2011-06-29 20:10:49 -07:00
parent e87b924efa
commit 6a0f57dfaf
7 changed files with 90 additions and 3 deletions
+7
View File
@@ -3477,4 +3477,11 @@ public class Workspace extends SmoothPagedView
@Override
public void syncPageItems(int page) {
}
@Override
protected String getCurrentPageDescription() {
int page = (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage;
return String.format(mContext.getString(R.string.workspace_scroll_format),
page + 1, getChildCount());
}
}