MCPcopy Create free account
hub / github.com/LeongAndroid/Launcher3 / getCurrentPage

Method getCurrentPage

src/com/android/launcher3/PagedView.java:337–339  ·  view source on GitHub ↗

Returns the index of the currently displayed page. When in free scroll mode, this is the page that the user was on before entering free scroll mode (e.g. the home screen page they long-pressed on to enter the overview). Try using #getPageNearestToCenterOfScreen() to get the page the user is

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

dispatchUnhandledMoveMethod · 0.95
setEnableFreeScrollMethod · 0.95
requestChildFocusMethod · 0.95
animateThresholdMethod · 0.80
createShortcutMethod · 0.80
onNewIntentMethod · 0.80
onClickMethod · 0.80
onLongClickMethod · 0.80
bindItemsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected