Searched refs:child (Results 1 - 25 of 202) sorted by relevance

123456789

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackScrollState.java60 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
198 updateChildClip(View child, int height, int clipInset) argument
[all...]
H A DStackStateAnimator.java82 /** The current index for the last child which was not added in this event set. */
113 final ExpandableView child = (ExpandableView) mHostLayout.getChildAt(i);
115 StackScrollState.ViewState viewState = finalState.getViewStateForView(child);
116 if (viewState == null || child.getVisibility() == View.GONE) {
120 child.setClipBounds(null);
121 startAnimations(child, viewState, finalState, i);
124 // no child has preformed any animation, lets finish
134 final ExpandableView child = (ExpandableView) mHostLayout.getChildAt(i);
136 StackScrollState.ViewState viewState = finalState.getViewStateForView(child);
137 if (viewState == null || child
150 startAnimations(final ExpandableView child, StackScrollState.ViewState viewState, StackScrollState finalState, int i) argument
318 startHeightAnimation(final ExpandableView child, StackScrollState.ViewState viewState, long duration, long delay) argument
377 startInsetAnimation(final ExpandableView child, StackScrollState.ViewState viewState, long duration, long delay) argument
435 startAlphaAnimation(final ExpandableView child, final StackScrollState.ViewState viewState, long duration, long delay) argument
514 startZTranslationAnimation(final ExpandableView child, final StackScrollState.ViewState viewState, long duration, long delay) argument
566 startYTranslationAnimation(final ExpandableView child, StackScrollState.ViewState viewState, long duration, long delay) argument
619 startScaleAnimation(final ExpandableView child, StackScrollState.ViewState viewState, long duration) argument
712 getChildTag(View child, int tag) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewParent.java30 * 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
433 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument
451 onNestedScrollAccepted(View child, View target, int nestedScrollAxes) argument
[all...]
H A DViewGroup.java134 * apply on the child being drawn.
156 // Does this group have a child that can accept the current drag payload?
219 // When set, ViewGroup invalidates only the child's rectangle
228 // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set
263 * to get the index of the child to draw for that iteration.
272 * invoked when a child is drawn.
339 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate.
422 // Index of the child's left position in the mLocation array
424 // Index of the child's top position in the mLocation array
467 // Indicates how many of this container's child subtree
638 requestChildFocus(View child, View focused) argument
720 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
728 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument
756 onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) argument
769 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument
785 translateBoundsAndIntersectionsInWindowCoordinates(View child, RectF bounds, List<RectF> intersections) argument
887 childHasTransientStateChanged(View child, boolean childHasTransientState) argument
923 clearChildFocus(View child) argument
1221 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument
1289 recomputeViewAttributes(View child) argument
1313 bringChildToFront(View child) argument
1515 notifyChildOfDrag(View child) argument
2011 dispatchTransformedGenericPointerEvent(MotionEvent event, View child) argument
2277 getTouchTarget(View child) argument
2290 addTouchTarget(View child, int pointerIdBits) argument
2353 canViewReceivePointerEvents(View child) argument
2364 isTransformedTouchPointInView(float x, float y, View child, PointF outLocalPoint) argument
2388 dispatchTransformedTouchEvent(MotionEvent event, boolean cancel, View child, int desiredPointerIdBits) argument
2781 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument
3384 recreateChildDisplayList(View child) argument
3403 drawChild(Canvas canvas, View child, long drawingTime) argument
3549 getChildStaticTransformation(View child, Transformation t) argument
3653 addView(View child) argument
3670 addView(View child, int index) argument
3691 addView(View child, int width, int height) argument
3708 addView(View child, LayoutParams params) argument
3723 addView(View child, int index, LayoutParams params) argument
3768 onChildViewAdded(View parent, View child) argument
3776 onChildViewRemoved(View parent, View child) argument
3792 onViewAdded(View child) argument
3801 onViewRemoved(View child) argument
3836 addViewInLayout(View child, int index, LayoutParams params) argument
3853 addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) argument
3866 cleanupLayoutState(View child) argument
3870 addViewInner(View child, int index, LayoutParams params, boolean preventRequestLayout) argument
3945 addInArray(View child, int index) argument
4032 bindLayoutAnimation(View child) argument
4047 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument
4386 removeDetachedView(View child, boolean animate) argument
4437 attachViewToParent(View child, int index, LayoutParams params) argument
4474 detachViewFromParent(View child) argument
4555 invalidateChild(View child, final Rect dirty) argument
4723 damageChildDeferred(View child) argument
4745 damageChild(View child, final Rect dirty) argument
4917 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument
5361 indexOfChild(View child) argument
5425 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument
5451 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument
5771 requestTransparentRegion(View child) argument
5918 childDrawableStateChanged(View child) argument
6167 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument
6175 onNestedScrollAccepted(View child, View target, int axes) argument
6186 onStopNestedScroll(View child) argument
6240 onSetLayoutParams(View child, LayoutParams layoutParams) argument
6966 public View child; field in class:ViewGroup.TouchTarget
6977 obtain(View child, int pointerIdBits) argument
7016 public View child; field in class:ViewGroup.HoverTarget
7024 obtain(View child) argument
7091 getChildIndex(View child) argument
[all...]
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewGroupCompatIcs.java27 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument
29 return group.onRequestSendAccessibilityEvent(child, event);
H A DViewParentCompatICS.java28 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 DViewParentCompat.java34 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 DNoSaveStateFrameLayout.java31 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 DBackgroundFallback.java57 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 DLinearLayoutCompat.java44 * 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/services/core/java/com/android/server/firewall/
H A DNotFilter.java30 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 DPrintOptionsLayout.java78 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 DDayPickerView.java189 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 DTableRow.java33 * 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 DDayPickerView.java185 View child;
188 // Find a child that's completely in the view
190 child = getChildAt(i++);
191 if (child == null) {
194 top = child.getTop();
199 if (child != null) {
200 selectedPosition = getPositionForView(child);
246 SimpleMonthView child = (SimpleMonthView) view.getChildAt(0);
247 if (child == null) {
310 View child
[all...]
H A DLinearLayout.java42 * 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 DViewSwitcher.java30 * 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 DDirectoryContainerView.java50 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/app/
H A DBrowseRowsFrameLayout.java22 * Customized FrameLayout excludes margin of child from calculating the child size.
42 protected void measureChildWithMargins(View child, argument
45 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
50 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardWidgetCarousel.java57 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 DKeyguardLinearLayout.java41 public void setTopChild(View child) { argument
42 int top = indexOfChild(child);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationsQuickSettingsContainer.java64 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 DElement.java25 * 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 DSlidingPaneLayout.java58 * 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 DInputMonitor.java171 final WindowState child, int flags, int privateFlags, final int type,
174 inputWindowHandle.name = child.toString();
177 if (modal && child.mAppToken != null) {
180 child.getStackBounds(mTmpRect);
184 child.getTouchableRegion(inputWindowHandle.touchableRegion);
189 inputWindowHandle.dispatchingTimeoutNanos = child.getInputDispatchingTimeoutNanos();
191 inputWindowHandle.canReceiveKeys = child.canReceiveKeys();
194 inputWindowHandle.paused = child.mAppToken != null ? child.mAppToken.paused : false;
195 inputWindowHandle.layer = child
170 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...]

Completed in 628 milliseconds

123456789