Lines Matching refs:direction
47 public boolean canScrollHorizontally(View v, int direction);
48 public boolean canScrollVertically(View v, int direction);
58 public boolean canScrollHorizontally(View v, int direction) {
61 public boolean canScrollVertically(View v, int direction) {
97 public boolean canScrollHorizontally(View v, int direction) {
98 return ViewCompatICS.canScrollHorizontally(v, direction);
101 public boolean canScrollVertically(View v, int direction) {
102 return ViewCompatICS.canScrollVertically(v, direction);
135 * Check if this view can be scrolled horizontally in a certain direction.
138 * @param direction Negative to check scrolling left, positive to check scrolling right.
139 * @return true if this view can be scrolled in the specified direction, false otherwise.
141 public static boolean canScrollHorizontally(View v, int direction) {
142 return IMPL.canScrollHorizontally(v, direction);
146 * Check if this view can be scrolled vertically in a certain direction.
149 * @param direction Negative to check scrolling up, positive to check scrolling down.
150 * @return true if this view can be scrolled in the specified direction, false otherwise.
152 public static boolean canScrollVertically(View v, int direction) {
153 return IMPL.canScrollVertically(v, direction);