ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT
Argument to represent the scroll amount as a percent of the visible area of a node, with 1.0F as the default. Values smaller than 1.0F represent a partial scroll of the node, and values larger than 1.0F represent a scroll that extends beyond the currently visible node Rect. Setting this to POSITIVE_INFINITY or to another "too large" value should scroll to the end of the node. Negative values should not be used with this argument.
This argument should be used with the following scroll actions:
- ACTION_SCROLL_FORWARD
- ACTION_SCROLL_BACKWARD
- ACTION_SCROLL_UP
- ACTION_SCROLL_DOWN
- ACTION_SCROLL_LEFT
- ACTION_SCROLL_RIGHT
Example: if a view representing a list of items implements ACTION_SCROLL_FORWARD to scroll forward by an entire screen (one "page"), then passing a value of .25F via this argument should scroll that view only by 1/4th of a screen. Passing a value of 1.50F via this argument should scroll the view by 1 1/2 screens or to end of the node if the node doesn't extend to 1 1/2 screens.
This argument should not be used with the following scroll actions, which don't cleanly conform to granular scroll semantics:
Views that support this argument should set setGranularScrollingSupported to true. Clients should use isGranularScrollingSupported to check if granular scrolling is supported.