/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 159 bringChildToFront(View child) argument 211 childDrawableStateChanged(View child) argument 250 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 269 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 294 childHasTransientStateChanged(View child, boolean hasTransientState) argument 326 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument [all...] |
H A D | ViewGroup.java | 132 * apply on the child being drawn. 154 // Does this group have a child that can accept the current drag payload? 217 // When set, ViewGroup invalidates only the child's rectangle 226 // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set 261 * to get the index of the child to draw for that iteration. 270 * invoked when a child is drawn. 339 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate. 413 // Index of the child's left position in the mLocation array 415 // Index of the child's top position in the mLocation array 454 // Indicates how many of this container's child subtree 610 requestChildFocus(View child, View focused) argument 691 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 699 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 727 onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 740 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument 747 childHasTransientStateChanged(View child, boolean childHasTransientState) argument 783 clearChildFocus(View child) argument 1029 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument 1097 recomputeViewAttributes(View child) argument 1121 bringChildToFront(View child) argument 1323 notifyChildOfDrag(View child) argument 1811 dispatchTransformedGenericPointerEvent(MotionEvent event, View child) argument 2063 getTouchTarget(View child) argument 2076 addTouchTarget(View child, int pointerIdBits) argument 2139 canViewReceivePointerEvents(View child) argument 2150 isTransformedTouchPointInView(float x, float y, View child, PointF outLocalPoint) argument 2174 dispatchTransformedTouchEvent(MotionEvent event, boolean cancel, View child, int desiredPointerIdBits) argument 2532 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument 3102 drawChild(Canvas canvas, View child, long drawingTime) argument 3231 getChildStaticTransformation(View child, Transformation t) argument 3335 addView(View child) argument 3352 addView(View child, int index) argument 3373 addView(View child, int width, int height) argument 3390 addView(View child, LayoutParams params) argument 3405 addView(View child, int index, LayoutParams params) argument 3450 onChildViewAdded(View parent, View child) argument 3458 onChildViewRemoved(View parent, View child) argument 3474 onViewAdded(View child) argument 3483 onViewRemoved(View child) argument 3518 addViewInLayout(View child, int index, LayoutParams params) argument 3535 addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 3548 cleanupLayoutState(View child) argument 3552 addViewInner(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 3627 addInArray(View child, int index) argument 3714 bindLayoutAnimation(View child) argument 3729 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument 4068 removeDetachedView(View child, boolean animate) argument 4119 attachViewToParent(View child, int index, LayoutParams params) argument 4156 detachViewFromParent(View child) argument 4237 invalidateChild(View child, final Rect dirty) argument 4408 invalidateChildFast(View child, final Rect dirty) argument 4582 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 5023 indexOfChild(View child) argument 5087 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument 5113 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument 5424 requestTransparentRegion(View child) argument 5551 childDrawableStateChanged(View child) argument 5797 onSetLayoutParams(View child, LayoutParams layoutParams) argument 6478 public View child; field in class:ViewGroup.TouchTarget 6489 obtain(View child, int pointerIdBits) argument 6528 public View child; field in class:ViewGroup.HoverTarget 6536 obtain(View child) argument 6603 getChildIndex(View child) 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);
|
H A D | ViewParentCompatICS.java | 28 ViewParent parent, View child, AccessibilityEvent event) { 29 return parent.requestSendAccessibilityEvent(child, event); 27 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewParentCompat.java | 34 ViewParent parent, View child, AccessibilityEvent event); 40 ViewParent parent, View child, AccessibilityEvent event) { 42 if (child == null) { 45 final AccessibilityManager manager = (AccessibilityManager) child.getContext() 55 ViewParent parent, View child, AccessibilityEvent event) { 56 return ViewParentCompatICS.requestSendAccessibilityEvent(parent, child, event); 78 * Called by a child to request from its parent to send an {@link AccessibilityEvent}. 79 * The child has already populated a record for itself in the event and is delegating 90 * @param child The child whic 33 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument 39 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument 54 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument 94 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument [all...] |
H A D | ViewGroupCompat.java | 47 public boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument 57 ViewGroup group, View child, AccessibilityEvent event) { 86 ViewGroup group, View child, AccessibilityEvent event) { 87 return ViewGroupCompatIcs.onRequestSendAccessibilityEvent(group, child, event); 125 * Called when a child has requested sending an {@link AccessibilityEvent} and 135 * @param child The child which requests sending the event. 139 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument 141 return IMPL.onRequestSendAccessibilityEvent(group, child, event); 150 * <p>When this option is enabled MotionEvents may be split and dispatched to different child 56 onRequestSendAccessibilityEvent( ViewGroup group, View child, AccessibilityEvent event) argument 85 onRequestSendAccessibilityEvent( ViewGroup group, View child, AccessibilityEvent event) argument [all...] |
/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 | 82 protected void measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, argument 86 final int childIndex = indexOfChild(child); 88 final LayoutParams params = (LayoutParams) child.getLayoutParams(); 90 // To display the dividers in-between the child views, we modify their margins 107 super.measureChildWithMargins(child, parentWidthMeasureSpec, widthUsed, 114 final View child = getChildAt(i); 115 if (child != null && child.getVisibility() != GONE && 117 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 118 drawSupportHorizontalDivider(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/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/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | DayPickerView.java | 189 View child; 192 // Find a child that's completely in the view 194 child = getChildAt(i++); 195 if (child == null) { 198 top = child.getTop(); 200 Log.d(TAG, "child at " + (i - 1) + " has top " + top); 206 if (child != null) { 207 selectedPosition = getPositionForView(child); 256 SimpleMonthView child = (SimpleMonthView) view.getChildAt(0); 257 if (child [all...] |
/frameworks/base/core/java/android/widget/ |
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 | 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 | 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/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityContainer.java | 23 View child = getChildAt(i); 24 if (child instanceof KeyguardSecurityViewFlipper) { 25 return (KeyguardSecurityViewFlipper) child;
|
H A D | KeyguardWidgetCarousel.java | 57 View child = getChildAt(index); 58 if (child == null) return 0f; 61 float scrollProgress = getScrollProgress(screenCenter, child, index); 66 scrollProgress = getBoundedScrollProgress(screenCenter, child, index); 91 KeyguardWidgetFrame child = getWidgetPageAt(i); 92 if (child != null) { 95 child.setBackgroundAlpha(outlineAlpha); 96 child.setContentAlpha(contentAlpha); 107 KeyguardWidgetFrame child = getWidgetPageAt(i); 109 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/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/base/services/java/com/android/server/wm/ |
H A D | InputMonitor.java | 169 final WindowState child, int flags, int privateFlags, final int type, 172 inputWindowHandle.name = child.toString(); 175 if (modal && child.mAppToken != null) { 178 inputWindowHandle.touchableRegion.set(child.getStackBounds()); 181 child.getTouchableRegion(inputWindowHandle.touchableRegion); 186 inputWindowHandle.dispatchingTimeoutNanos = child.getInputDispatchingTimeoutNanos(); 188 inputWindowHandle.canReceiveKeys = child.canReceiveKeys(); 191 inputWindowHandle.paused = child.mAppToken != null ? child.mAppToken.paused : false; 192 inputWindowHandle.layer = child 168 addInputWindowHandleLw(final InputWindowHandle inputWindowHandle, final WindowState child, int flags, int privateFlags, final int type, final boolean isVisible, final boolean hasFocus, final boolean hasWallpaper) argument [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 719 requestChildFocus(View child, View focused) argument 950 drawChild(Canvas canvas, View child, long drawingTime) argument 1125 isDimmed(View child) argument 1181 tryCaptureView(View child, int pointerId) argument 1227 getViewHorizontalDragRange(View child) argument 1232 clampViewPositionHorizontal(View child, int left, int dx) argument 1334 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1338 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1371 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1390 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1435 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument 1443 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 165 * @param drawerView The child view that was moved 515 * @return the absolute gravity of the child drawerView, resolved according 531 final View child = getChildAt(i); 532 if (((LayoutParams) child.getLayoutParams()).knownOpen) { 533 return child; 552 * @param gravity the gravity of the child to return. If specified as a 562 final View child 791 drawChild(Canvas canvas, View child, long drawingTime) argument 852 isContentView(View child) argument 856 isDrawerView(View child) argument 1346 tryCaptureView(View child, int pointerId) argument 1469 getViewHorizontalDragRange(View child) argument 1474 clampViewPositionHorizontal(View child, int left, int dx) argument 1484 clampViewPositionVertical(View child, int top, int dy) argument 1581 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument 1589 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...] |