/frameworks/base/core/java/android/view/ |
H A D | ViewParent.java | 30 * child of this view parent. This will schedule a layout pass of the view 43 * Called when a child wants the view hierarchy to gather and report 50 * @param child the view requesting the transparent region computation 53 public void requestTransparentRegion(View child); argument 56 * All or part of a child is dirty and needs to be redrawn. 58 * @param child The child which is dirty 59 * @param r The area within the child that is invalid 61 public void invalidateChild(View child, Rect r); argument 64 * All or part of a child i 101 requestChildFocus(View child, View focused) argument 109 recomputeViewAttributes(View child) argument 116 clearChildFocus(View child) argument 138 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 157 bringChildToFront(View child) argument 209 childDrawableStateChanged(View child) argument 248 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 267 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 277 childHasTransientStateChanged(View child, boolean hasTransientState) argument 301 childAccessibilityStateChanged(View child) argument [all...] |
H A D | ViewGroup.java | 131 * apply on the child being drawn. 153 // Does this group have a child that can accept the current drag payload? 216 // When set, ViewGroup invalidates only the child's rectangle 225 // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set 260 * to get the index of the child to draw for that iteration. 269 * invoked when a child is drawn. 338 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate. 402 // Index of the child's left position in the mLocation array 404 // Index of the child's top position in the mLocation array 443 // Indicates how many of this container's child subtree 599 requestChildFocus(View child, View focused) argument 680 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 688 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 716 onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 729 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument 738 childHasTransientStateChanged(View child, boolean childHasTransientState) argument 777 clearChildFocus(View child) argument 1023 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument 1091 recomputeViewAttributes(View child) argument 1115 bringChildToFront(View child) argument 1308 notifyChildOfDrag(View child) argument 1696 childAccessibilityStateChanged(View child) argument 1806 dispatchTransformedGenericPointerEvent(MotionEvent event, View child) argument 2058 getTouchTarget(View child) argument 2071 addTouchTarget(View child, int pointerIdBits) argument 2134 canViewReceivePointerEvents(View child) argument 2145 isTransformedTouchPointInView(float x, float y, View child, PointF outLocalPoint) argument 2169 dispatchTransformedTouchEvent(MotionEvent event, boolean cancel, View child, int desiredPointerIdBits) argument 3085 drawChild(Canvas canvas, View child, long drawingTime) argument 3203 getChildStaticTransformation(View child, Transformation t) argument 3300 addView(View child) argument 3317 addView(View child, int index) argument 3338 addView(View child, int width, int height) argument 3355 addView(View child, LayoutParams params) argument 3370 addView(View child, int index, LayoutParams params) argument 3415 onChildViewAdded(View parent, View child) argument 3423 onChildViewRemoved(View parent, View child) argument 3439 onViewAdded(View child) argument 3448 onViewRemoved(View child) argument 3465 addViewInLayout(View child, int index, LayoutParams params) argument 3482 addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 3495 cleanupLayoutState(View child) argument 3499 addViewInner(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 3570 addInArray(View child, int index) argument 3657 bindLayoutAnimation(View child) argument 3672 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument 4001 removeDetachedView(View child, boolean animate) argument 4052 attachViewToParent(View child, int index, LayoutParams params) argument 4089 detachViewFromParent(View child) argument 4170 invalidateChild(View child, final Rect dirty) argument 4341 invalidateChildFast(View child, final Rect dirty) argument 4513 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 4910 indexOfChild(View child) argument 4974 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument 5000 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument 5299 requestTransparentRegion(View child) argument 5426 childDrawableStateChanged(View child) argument 5672 onSetLayoutParams(View child, LayoutParams layoutParams) argument 6353 public View child; field in class:ViewGroup.TouchTarget 6364 obtain(View child, int pointerIdBits) argument 6403 public View child; field in class:ViewGroup.HoverTarget 6411 obtain(View child) argument 6478 getChildIndex(View child) argument [all...] |
H A D | ViewOverlay.java | 108 * redirect is necessary because the overlay is not a child of the host view 157 public void add(View child) { argument 158 if (child.getParent() instanceof ViewGroup) { 159 ViewGroup parent = (ViewGroup) child.getParent(); 162 // Moving to different container; figure out how to position child such that 168 child.offsetLeftAndRight(parentLocation[0] - hostViewLocation[0]); 169 child.offsetTopAndBottom(parentLocation[1] - hostViewLocation[1]); 171 parent.removeView(child); 173 super.addView(child); 279 public void invalidateChildFast(View child, fina argument [all...] |
/frameworks/support/v4/ics/android/support/v4/view/ |
H A D | ViewGroupCompatIcs.java | 27 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument 29 return group.onRequestSendAccessibilityEvent(child, event);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NoSaveStateFrameLayout.java | 31 static ViewGroup wrap(View child) { argument 32 NoSaveStateFrameLayout wrapper = new NoSaveStateFrameLayout(child.getContext()); 33 ViewGroup.LayoutParams childParams = child.getLayoutParams(); 39 child.setLayoutParams(lp); 40 wrapper.addView(child); 49 * Override to prevent freezing of any child views. 57 * Override to prevent thawing of any child views.
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | LinearLayoutICS.java | 74 protected void measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, argument 78 final int childIndex = indexOfChild(child); 80 final LayoutParams params = (LayoutParams) child.getLayoutParams(); 82 // To display the dividers in-between the child views, we modify their margins 99 super.measureChildWithMargins(child, parentWidthMeasureSpec, widthUsed, 106 final View child = getChildAt(i); 107 if (child != null && child.getVisibility() != GONE && hasDividerBeforeChildAt(i)) { 108 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 109 drawHorizontalDivider(canvas, child [all...] |
H A D | AbsActionBarView.java | 181 protected int measureChildView(View child, int availableWidth, int childSpecHeight, argument 183 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST), 186 availableWidth -= child.getMeasuredWidth(); 192 protected int positionChild(View child, int x, int y, int contentHeight) { argument 193 int childWidth = child.getMeasuredWidth(); 194 int childHeight = child.getMeasuredHeight(); 197 child.layout(x, childTop, x + childWidth, childTop + childHeight); 202 protected int positionChildInverse(View child, int x, int y, int contentHeight) { argument 203 int childWidth = child.getMeasuredWidth(); 204 int childHeight = child [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | LinearLayout.java | 38 * You can also specify gravity, which specifies the alignment of all the child elements by 89 * use the child at this index as the baseline. 98 * The additional offset to the child's baseline. 322 final View child = getVirtualChildAt(i); 324 if (child != null && child.getVisibility() != GONE) { 326 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 327 final int top = child.getTop() - lp.topMargin - mDividerHeight; 334 final View child = getVirtualChildAt(count - 1); 336 if (child 1373 getChildrenSkipCount(View child, int index) argument 1401 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument 1415 getLocationOffset(View child) argument 1427 getNextLocationOffset(View child) argument 1670 setChildFrame(View child, int left, int top, int width, int height) argument [all...] |
H A D | TableRow.java | 33 * always be used as a child of a {@link android.widget.TableLayout}. If a 102 View child = getVirtualChildAt(columnIndex); 103 if (child != null) { 104 child.setVisibility(collapsed ? GONE : VISIBLE); 163 final View child = getChildAt(i); 164 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); 191 void measureChildBeforeLayout(View child, int childIndex, argument 195 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 223 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); 226 final int childWidth = child 256 getChildrenSkipCount(View child, int index) argument 267 getLocationOffset(View child) argument 275 getNextLocationOffset(View child) argument 529 onChildViewAdded(View parent, View child) argument 538 onChildViewRemoved(View parent, View child) argument [all...] |
H A D | ViewSwitcher.java | 30 * child views, of which only one is shown at a time. 64 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument 68 super.addView(child, index, params); 94 View child = mFactory.makeView(); 95 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 99 addView(child, lp); 100 return child;
|
H A D | AbsoluteLayout.java | 65 // Find rightmost and bottom-most child 67 View child = getChildAt(i); 68 if (child.getVisibility() != GONE) { 73 = (AbsoluteLayout.LayoutParams) child.getLayoutParams(); 75 childRight = lp.x + child.getMeasuredWidth(); 76 childBottom = lp.y + child.getMeasuredHeight(); 112 View child = getChildAt(i); 113 if (child.getVisibility() != GONE) { 116 (AbsoluteLayout.LayoutParams) child.getLayoutParams(); 120 child [all...] |
H A D | TabWidget.java | 152 void measureChildBeforeLayout(View child, int childIndex, argument 162 super.measureChildBeforeLayout(child, childIndex, 184 final View child = getChildAt(i); 185 if (child.getVisibility() == GONE) continue; 194 final View child = getChildAt(i); 195 if (child.getVisibility() == GONE) continue; 196 final int childWidth = child.getMeasuredWidth(); 203 mImposedTabsHeight = Math.max(mImposedTabsHeight, child.getMeasuredHeight()); 311 public void childDrawableStateChanged(View child) { argument 312 if (getTabCount() > 0 && child 477 addView(View child) argument [all...] |
/frameworks/base/services/java/com/android/server/firewall/ |
H A D | NotFilter.java | 30 private NotFilter(Filter child) { argument 31 mChild = child; 45 Filter child = null; 49 if (child == null) { 50 child = filter; 53 "<not> tag can only contain a single child filter.", parser, null); 56 return new NotFilter(child);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewGroupCompat.java | 31 public boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument 39 ViewGroup group, View child, AccessibilityEvent event) { 58 ViewGroup group, View child, AccessibilityEvent event) { 59 return ViewGroupCompatIcs.onRequestSendAccessibilityEvent(group, child, event); 83 * Called when a child has requested sending an {@link AccessibilityEvent} and 93 * @param child The child which requests sending the event. 97 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument 99 return IMPL.onRequestSendAccessibilityEvent(group, child, event); 108 * <p>When this option is enabled MotionEvents may be split and dispatched to different child 38 onRequestSendAccessibilityEvent( ViewGroup group, View child, AccessibilityEvent event) argument 57 onRequestSendAccessibilityEvent( ViewGroup group, View child, AccessibilityEvent event) argument [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | DayPickerView.java | 177 View child; 180 // Find a child that's completely in the view 182 child = getChildAt(i++); 183 if (child == null) { 186 top = child.getTop(); 188 Log.d(TAG, "child at " + (i - 1) + " has top " + top); 194 if (child != null) { 195 selectedPosition = getPositionForView(child); 244 SimpleMonthView child = (SimpleMonthView) view.getChildAt(0); 245 if (child [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardSecurityContainer.java | 25 View child = getChildAt(i); 26 if (child instanceof KeyguardSecurityViewFlipper) { 27 return (KeyguardSecurityViewFlipper) child;
|
H A D | KeyguardWidgetCarousel.java | 59 View child = getChildAt(index); 60 if (child == null) return 0f; 63 float scrollProgress = getScrollProgress(screenCenter, child, index); 68 scrollProgress = getBoundedScrollProgress(screenCenter, child, index); 93 KeyguardWidgetFrame child = getWidgetPageAt(i); 94 if (child != null) { 97 child.setBackgroundAlpha(outlineAlpha); 98 child.setContentAlpha(contentAlpha); 109 KeyguardWidgetFrame child = getWidgetPageAt(i); 111 child [all...] |
H A D | KeyguardLinearLayout.java | 41 public void setTopChild(View child) { argument 42 int top = indexOfChild(child);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | LatestItemView.java | 36 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument 37 if (super.onRequestSendAccessibilityEvent(child, event)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | NotificationArea.java | 32 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument 33 if (super.onRequestSendAccessibilityEvent(child, event)) {
|
/frameworks/base/sax/java/android/sax/ |
H A D | Element.java | 27 * An XML element. Provides access to child elements and hooks to listen 56 * Gets the child element with the given name. Uses an empty string as the 64 * Gets the child element with the given name. 80 * Gets the child element with the given name. Uses an empty string as the 82 * time if the specified child is missing. This helps you ensure that your 90 * Gets the child element with the given name. We will throw a 91 * {@link org.xml.sax.SAXException} at parsing time if the specified child 95 Element child = getChild(uri, localName); 99 requiredChilden.add(child); 101 if (!requiredChilden.contains(child)) { [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 57 * If the content of the dragged child view is itself horizontally scrollable, the user may 79 * the use of the layout parameter <code>layout_weight</code> on child views to determine 137 * The child view that can slide, if any. 208 * @param panel The child view that was moved 215 * @param panel The child view that was slid to an open position, revealing other panes 222 * @param panel The child view that was slid to a closed position 366 final View child = getChildAt(i); 368 if (child == panel) { 373 final int clampedChildLeft = Math.max(leftBound, child.getLeft()); 374 final int clampedChildTop = Math.max(topBound, child 712 requestChildFocus(View child, View focused) argument 943 drawChild(Canvas canvas, View child, long drawingTime) argument 1118 isDimmed(View child) argument 1174 tryCaptureView(View child, int pointerId) argument 1220 getViewHorizontalDragRange(View child) argument 1225 clampViewPositionHorizontal(View child, int left, int dx) argument 1327 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1331 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1364 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1383 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1428 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument 1436 filter(View child) argument [all...] |
H A D | DrawerLayout.java | 51 * attribute on child views corresponding to which side of the view you want the drawer 55 * <p>To use a DrawerLayout, position your primary content view as the first child with 56 * a width and height of <code>match_parent</code>. Add drawers as child views after the main 161 * @param drawerView The child view that was moved 523 final View child = getChildAt(i); 524 if (((LayoutParams) child.getLayoutParams()).knownOpen) { 525 return child; 545 final View child = getChildAt(i); 546 final int childGravity = getDrawerViewGravity(child); 549 return child; 774 drawChild(Canvas canvas, View child, long drawingTime) argument 835 isContentView(View child) argument 839 isDrawerView(View child) argument 1334 tryCaptureView(View child, int pointerId) argument 1457 getViewHorizontalDragRange(View child) argument 1462 clampViewPositionHorizontal(View child, int left, int dx) argument 1472 clampViewPositionVertical(View child, int top, int dy) argument 1542 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument 1550 filter(View child) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | UriMatcher.java | 183 UriMatcher child; 186 child = children.get(j); 187 if (token.equals(child.mText)) { 188 node = child; 194 child = new UriMatcher(); 196 child.mWhich = NUMBER; 198 child.mWhich = TEXT; 200 child.mWhich = EXACT; 202 child.mText = token; 203 node.mChildren.add(child); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
H A D | ListSetSelectionTest.java | 74 View child = mListView.getChildAt(i); 75 if (child.getId() == targetPosition) { 105 View child = mListView.getChildAt(i); 106 if (child.getId() == targetPosition) { 107 target = child; 140 View child = mListView.getChildAt(i); 141 if (child.getId() == 0 && i == 0) {
|