Lines Matching defs:view

17 package com.android.browser.view;
25 import android.view.FocusFinder;
26 import android.view.InputDevice;
27 import android.view.KeyEvent;
28 import android.view.MotionEvent;
29 import android.view.VelocityTracker;
30 import android.view.View;
31 import android.view.ViewConfiguration;
32 import android.view.ViewDebug;
33 import android.view.ViewGroup;
34 import android.view.ViewParent;
35 import android.view.accessibility.AccessibilityEvent;
36 import android.view.accessibility.AccessibilityNodeInfo;
37 import android.view.animation.AnimationUtils;
48 * Layout container for a view hierarchy that can be scrolled by the user,
58 * using the two together is possible to achieve the effect of a text view
82 * Ideally the view hierarchy would keep track of this for us.
106 * When set to true, the scroll view measure its child to make it fill the currently
243 * @return The maximum amount this scroll view will scroll in response to
398 // Let the focused view and/or our descendants get the key first
403 * You can call this function yourself to have the scroll view perform
405 * it by the view hierarchy.
991 View view = focusables.get(i);
992 int viewTop = mHorizontal ? view.getLeft() : view.getTop();
993 int viewBottom = mHorizontal ? view.getRight() : view.getBottom();
1006 focusCandidate = view;
1022 focusCandidate = view;
1026 /* Any fully contained view beats a partially contained view */
1027 focusCandidate = view;
1031 * Partially contained view beats another partially
1032 * contained view if it's closer
1034 focusCandidate = view;
1048 * method will scroll the view by one page up or down and give the focus
1053 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
1055 * {@link android.view.View#FOCUS_DOWN} to go one page down
1066 View view = getChildAt(count - 1);
1067 if (mTempRect.top + height > view.getBottom()) {
1068 mTempRect.top = view.getBottom() - height;
1084 * method will scroll the view to the top or bottom and give the focus
1089 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
1090 * to go the top of the view or
1091 * {@link android.view.View#FOCUS_DOWN} to go the bottom
1104 View view = getChildAt(count - 1);
1105 mTempRect.bottom = view.getBottom() + mPaddingBottom;
1114 * <p>Scrolls the view to make the area defined by <code>top</code> and
1119 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
1120 * to go upward, {@link android.view.View#FOCUS_DOWN} to downward
1214 * @return whether the descendant of this scroll view is scrolled off
1226 * @return whether the descendant of this scroll view is within delta
1318 * The scroll range of a scroll view is the overall height of all of its
1347 * The scroll range of a scroll view is the overall height of all of its
1476 * Scrolls the view to the given child.
1555 // need to move down to get it in view: move down just enough so
1556 // that the entire rectangle is in view (or at least the first
1573 // need to move up to get it in view: move up just enough so that
1574 // entire rectangle is in view (or at least the first screen
1613 // need to move right to get it in view: move right just enough so
1614 // that the entire rectangle is in view (or at least the first
1631 // need to move right to get it in view: move right just enough so that
1632 // entire rectangle is in view (or at least the first screen
1663 * When looking for focus in children of a scroll view, need to be a little
1666 * This is more expensive than the default {@link android.view.ViewGroup}
1708 // offset into coordinate space of this scroll view
1757 // If the currently-focused view was visible on the screen when the
1759 // view visible with the new screen height.
1781 * Fling the scroll view