/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollState.java | 60 ExpandableView child = (ExpandableView) mHostView.getChildAt(i); 61 ViewState viewState = mStateMap.get(child); 64 mStateMap.put(child, viewState); 67 viewState.height = child.getIntrinsicHeight(); 68 viewState.gone = child.getVisibility() == View.GONE; 78 public void removeViewStateForView(View child) { argument 79 mStateMap.remove(child); 89 ExpandableView child = (ExpandableView) mHostView.getChildAt(i); 90 ViewState state = mStateMap.get(child); 92 Log.wtf(CHILD_NOT_FOUND_TAG, "No child stat 196 updateChildClip(View child, int height, int clipInset) argument [all...] |
H A D | StackStateAnimator.java | 83 /** The current index for the last child which was not added in this event set. */ 114 final ExpandableView child = (ExpandableView) mHostLayout.getChildAt(i); 116 StackScrollState.ViewState viewState = finalState.getViewStateForView(child); 117 if (viewState == null || child.getVisibility() == View.GONE) { 121 child.setClipBounds(null); 122 startAnimations(child, viewState, finalState, i); 125 // no child has preformed any animation, lets finish 135 final ExpandableView child = (ExpandableView) mHostLayout.getChildAt(i); 137 StackScrollState.ViewState viewState = finalState.getViewStateForView(child); 138 if (viewState == null || child 151 startAnimations(final ExpandableView child, StackScrollState.ViewState viewState, StackScrollState finalState, int i) argument 337 startHeightAnimation(final ExpandableView child, StackScrollState.ViewState viewState, long duration, long delay) argument 396 startInsetAnimation(final ExpandableView child, StackScrollState.ViewState viewState, long duration, long delay) argument 454 startAlphaAnimation(final ExpandableView child, final StackScrollState.ViewState viewState, long duration, long delay) argument 528 startZTranslationAnimation(final ExpandableView child, final StackScrollState.ViewState viewState, long duration, long delay) argument 580 startYTranslationAnimation(final ExpandableView child, StackScrollState.ViewState viewState, long duration, long delay) argument 633 startScaleAnimation(final ExpandableView child, StackScrollState.ViewState viewState, long duration) argument 726 getChildTag(View child, int tag) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewParent.java | 31 * child of this view parent. This will schedule a layout pass of the view 44 * Called when a child wants the view hierarchy to gather and report 51 * @param child the view requesting the transparent region computation 54 public void requestTransparentRegion(View child); argument 57 * All or part of a child is dirty and needs to be redrawn. 59 * @param child The child which is dirty 60 * @param r The area within the child that is invalid 62 public void invalidateChild(View child, Rect r); argument 65 * All or part of a child i 102 requestChildFocus(View child, View focused) argument 110 recomputeViewAttributes(View child) argument 117 clearChildFocus(View child) argument 139 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 160 bringChildToFront(View child) argument 212 childDrawableStateChanged(View child) argument 251 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 270 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 295 childHasTransientStateChanged(View child, boolean hasTransientState) argument 327 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument 434 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 452 onNestedScrollAccepted(View child, View target, int nestedScrollAxes) argument [all...] |
H A D | ViewGroup.java | 137 * apply on the child being drawn. 159 // Does this group have a child that can accept the current drag payload? 225 // When set, ViewGroup invalidates only the child's rectangle 234 // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set 269 * to get the index of the child to draw for that iteration. 278 * invoked when a child is drawn. 345 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate. 428 // Index of the child's left position in the mLocation array 430 // Index of the child's top position in the mLocation array 473 // Indicates how many of this container's child subtree 644 requestChildFocus(View child, View focused) argument 726 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 734 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 762 onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 775 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument 782 childHasTransientStateChanged(View child, boolean childHasTransientState) argument 818 clearChildFocus(View child) argument 1116 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument 1184 recomputeViewAttributes(View child) argument 1208 bringChildToFront(View child) argument 1410 notifyChildOfDrag(View child) argument 1906 dispatchTransformedGenericPointerEvent(MotionEvent event, View child) argument 2239 getTouchTarget(View child) argument 2252 addTouchTarget(View child, int pointerIdBits) argument 2315 canViewReceivePointerEvents(View child) argument 2333 isTransformedTouchPointInView(float x, float y, View child, PointF outLocalPoint) argument 2349 transformPointToViewLocal(float[] point, View child) argument 2363 dispatchTransformedTouchEvent(MotionEvent event, boolean cancel, View child, int desiredPointerIdBits) argument 2765 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument 3385 recreateChildDisplayList(View child) argument 3404 drawChild(Canvas canvas, View child, long drawingTime) argument 3595 getChildStaticTransformation(View child, Transformation t) argument 3699 addView(View child) argument 3716 addView(View child, int index) argument 3740 addView(View child, int width, int height) argument 3757 addView(View child, LayoutParams params) argument 3772 addView(View child, int index, LayoutParams params) argument 3821 onChildViewAdded(View parent, View child) argument 3829 onChildViewRemoved(View parent, View child) argument 3845 onViewAdded(View child) argument 3854 onViewRemoved(View child) argument 3889 addViewInLayout(View child, int index, LayoutParams params) argument 3906 addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 3922 cleanupLayoutState(View child) argument 3926 addViewInner(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 4001 addInArray(View child, int index) argument 4088 bindLayoutAnimation(View child) argument 4103 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument 4439 removeDetachedView(View child, boolean animate) argument 4490 attachViewToParent(View child, int index, LayoutParams params) argument 4527 detachViewFromParent(View child) argument 4608 invalidateChild(View child, final Rect dirty) argument 4776 damageChildDeferred(View child) argument 4798 damageChild(View child, final Rect dirty) argument 4970 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 5433 indexOfChild(View child) argument 5497 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument 5523 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument 5843 requestTransparentRegion(View child) argument 5968 childDrawableStateChanged(View child) argument 6217 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 6225 onNestedScrollAccepted(View child, View target, int axes) argument 6236 onStopNestedScroll(View child) argument 6290 onSetLayoutParams(View child, LayoutParams layoutParams) argument 7017 public View child; field in class:ViewGroup.TouchTarget 7028 obtain(View child, int pointerIdBits) argument 7067 public View child; field in class:ViewGroup.HoverTarget 7075 obtain(View child) argument 7142 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...] |
/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/base/core/java/com/android/internal/widget/ |
H A D | BackgroundFallback.java | 57 final View child = root.getChildAt(i); 58 final Drawable childBg = child.getBackground(); 59 if (child == content) { 62 if (childBg == null && child instanceof ViewGroup && 63 ((ViewGroup) child).getChildCount() == 0) { 66 } else if (child.getVisibility() != View.VISIBLE || childBg == null || 73 left = Math.min(left, child.getLeft()); 74 top = Math.min(top, child.getTop()); 75 right = Math.max(right, child.getRight()); 76 bottom = Math.max(bottom, child [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 44 * You can also specify gravity, which specifies the alignment of all the child elements by 101 * use the child at this index as the baseline. 109 * The additional offset to the child's baseline. 293 final View child = getVirtualChildAt(i); 295 if (child != null && child.getVisibility() != GONE) { 297 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 298 final int top = child.getTop() - lp.topMargin - mDividerHeight; 305 final View child = getVirtualChildAt(count - 1); 307 if (child 1342 getChildrenSkipCount(View child, int index) argument 1370 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument 1384 getLocationOffset(View child) argument 1396 getNextLocationOffset(View child) argument 1640 setChildFrame(View child, int left, int top, int width, int height) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | ViewGroup_Delegate.java | 51 /*package*/ static boolean drawChild(ViewGroup thisVG, Canvas canvas, View child, argument 53 boolean retVal = thisVG.drawChild_Original(canvas, child, drawingTime); 54 if (child.getZ() > thisVG.getZ()) { 55 ViewOutlineProvider outlineProvider = child.getOutlineProvider(); 57 outlineProvider.getOutline(child, outline); 60 int restoreTo = transformCanvas(thisVG, canvas, child); 61 drawShadow(thisVG, canvas, child, outline); 68 private static void drawShadow(ViewGroup parent, Canvas canvas, View child, argument 73 Shadow s = getRectShadow(parent, canvas, child, outline); 77 shadow = getPathShadow(child, outlin 92 getRectShadow(ViewGroup parent, Canvas canvas, View child, Outline outline) argument 133 getPathShadow(View child, Outline outline, Canvas canvas) argument 146 transformCanvas(ViewGroup thisVG, Canvas canvas, View child) argument [all...] |
/frameworks/base/services/core/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/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintOptionsLayout.java | 78 View child = getChildAt(childIndex); 80 if (child.getVisibility() == GONE) { 84 MarginLayoutParams childParams = (MarginLayoutParams) child.getLayoutParams(); 99 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); 101 childState = combineMeasuredStates(childState, child.getMeasuredState()); 103 rowWidth += child.getMeasuredWidth() + childParams.getMarginStart() 106 rowHeight = Math.max(rowHeight, child.getMeasuredHeight() + childParams.topMargin 143 View child = getChildAt(childIndex); 145 if (child.getVisibility() == GONE) { 149 MarginLayoutParams childParams = (MarginLayoutParams) child [all...] |
/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 MonthView child = (MonthView) 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 | 42 * You can also specify gravity, which specifies the alignment of all the child elements by 109 * use the child at this index as the baseline. 118 * The additional offset to the child's baseline. 347 final View child = getVirtualChildAt(i); 349 if (child != null && child.getVisibility() != GONE) { 351 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 352 final int top = child.getTop() - lp.topMargin - mDividerHeight; 359 final View child = getVirtualChildAt(count - 1); 361 if (child 1405 getChildrenSkipCount(View child, int index) argument 1433 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument 1447 getLocationOffset(View child) argument 1459 getNextLocationOffset(View child) argument 1702 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;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DirectoryContainerView.java | 50 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { argument 52 && mDisappearingChildren.contains(child)) { 55 return super.drawChild(canvas, child, drawingTime);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BrowseRowsFrameLayout.java | 22 * Customized FrameLayout excludes margin of child from calculating the child size. 43 protected void measureChildWithMargins(View child, argument 46 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); 51 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
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/phone/ |
H A D | NotificationsQuickSettingsContainer.java | 64 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { argument 70 if (child == mScrollView) { 72 } else if (child == mStackScroller) { 79 } else if (child == mUserSwitcher) { 84 } else if (child == mKeyguardStatusBar) { 90 return super.drawChild(canvas, child, drawingTime);
|
/frameworks/base/sax/java/android/sax/ |
H A D | Element.java | 25 * An XML element. Provides access to child elements and hooks to listen 54 * Gets the child element with the given name. Uses an empty string as the 62 * Gets the child element with the given name. 78 * Gets the child element with the given name. Uses an empty string as the 80 * time if the specified child is missing. This helps you ensure that your 88 * Gets the child element with the given name. We will throw a 89 * {@link org.xml.sax.SAXException} at parsing time if the specified child 93 Element child = getChild(uri, localName); 97 requiredChilden.add(child); 99 if (!requiredChilden.contains(child)) { [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 58 * If the content of the dragged child view is itself horizontally scrollable, the user may 80 * the use of the layout parameter <code>layout_weight</code> on child views to determine 143 * The child view that can slide, if any. 214 * @param panel The child view that was moved 221 * @param panel The child view that was slid to an open position, revealing other panes 228 * @param panel The child view that was slid to a closed position 374 final View child = getChildAt(i); 376 if (child == panel) { 382 startBound), child.getLeft()); 383 final int clampedChildTop = Math.max(topBound, child 750 requestChildFocus(View child, View focused) argument 993 drawChild(Canvas canvas, View child, long drawingTime) argument 1243 isDimmed(View child) argument 1299 tryCaptureView(View child, int pointerId) argument 1356 getViewHorizontalDragRange(View child) argument 1361 clampViewPositionHorizontal(View child, int left, int dx) argument 1379 clampViewPositionVertical(View child, int top, int dy) argument 1477 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1481 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1514 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1533 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1578 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument 1586 filter(View child) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | InputMonitor.java | 171 final WindowState child, int flags, final int type, final boolean isVisible, 174 inputWindowHandle.name = child.toString(); 177 if (modal && child.mAppToken != null) { 180 child.getStackBounds(mTmpRect); 184 child.getTouchableRegion(inputWindowHandle.touchableRegion); 188 inputWindowHandle.dispatchingTimeoutNanos = child.getInputDispatchingTimeoutNanos(); 190 inputWindowHandle.canReceiveKeys = child.canReceiveKeys(); 193 inputWindowHandle.paused = child.mAppToken != null ? child.mAppToken.paused : false; 194 inputWindowHandle.layer = child 170 addInputWindowHandleLw(final InputWindowHandle inputWindowHandle, final WindowState child, int flags, final int type, final boolean isVisible, final boolean hasFocus, final boolean hasWallpaper) argument [all...] |