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

123456

/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
153 bringChildToFront(View child) argument
205 childDrawableStateChanged(View child) argument
244 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
263 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument
273 childHasTransientStateChanged(View child, boolean hasTransientState) argument
297 childAccessibilityStateChanged(View child) argument
[all...]
H A DViewGroup.java108 * apply on the child being drawn.
130 // Does this group have a child that can accept the current drag payload?
193 // When set, ViewGroup invalidates only the child's rectangle
202 // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set
237 * to get the index of the child to draw for that iteration.
246 * invoked when a child is drawn.
315 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate.
380 // Index of the child's left position in the mLocation array
382 // Index of the child's top position in the mLocation array
415 // Indicates how many of this container's child subtree
568 requestChildFocus(View child, View focused) argument
649 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
657 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument
685 onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) argument
698 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument
707 childHasTransientStateChanged(View child, boolean childHasTransientState) argument
746 clearChildFocus(View child) argument
991 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument
1059 recomputeViewAttributes(View child) argument
1083 bringChildToFront(View child) argument
1274 notifyChildOfDrag(View child) argument
1659 childAccessibilityStateChanged(View child) argument
1769 dispatchTransformedGenericPointerEvent(MotionEvent event, View child) argument
2021 getTouchTarget(View child) argument
2034 addTouchTarget(View child, int pointerIdBits) argument
2097 canViewReceivePointerEvents(View child) argument
2108 isTransformedTouchPointInView(float x, float y, View child, PointF outLocalPoint) argument
2132 dispatchTransformedTouchEvent(MotionEvent event, boolean cancel, View child, int desiredPointerIdBits) argument
2927 drawChild(Canvas canvas, View child, long drawingTime) argument
3033 getChildStaticTransformation(View child, Transformation t) argument
3130 addView(View child) argument
3147 addView(View child, int index) argument
3168 addView(View child, int width, int height) argument
3185 addView(View child, LayoutParams params) argument
3200 addView(View child, int index, LayoutParams params) argument
3245 onChildViewAdded(View parent, View child) argument
3253 onChildViewRemoved(View parent, View child) argument
3269 onViewAdded(View child) argument
3278 onViewRemoved(View child) argument
3295 addViewInLayout(View child, int index, LayoutParams params) argument
3312 addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) argument
3325 cleanupLayoutState(View child) argument
3329 addViewInner(View child, int index, LayoutParams params, boolean preventRequestLayout) argument
3400 addInArray(View child, int index) argument
3487 bindLayoutAnimation(View child) argument
3502 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument
3825 removeDetachedView(View child, boolean animate) argument
3876 attachViewToParent(View child, int index, LayoutParams params) argument
3913 detachViewFromParent(View child) argument
3994 invalidateChild(View child, final Rect dirty) argument
4162 invalidateChildFast(View child, final Rect dirty) argument
4326 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument
4725 indexOfChild(View child) argument
4789 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument
4815 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument
5096 requestTransparentRegion(View child) argument
5223 childDrawableStateChanged(View child) argument
5480 onSetLayoutParams(View child, LayoutParams layoutParams) argument
6043 public View child; field in class:ViewGroup.TouchTarget
6054 obtain(View child, int pointerIdBits) argument
6093 public View child; field in class:ViewGroup.HoverTarget
6101 obtain(View child) argument
6193 getChildIndex(View child) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewGroupCompat.java31 public boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument
37 ViewGroup group, View child, AccessibilityEvent event) {
45 ViewGroup group, View child, AccessibilityEvent event) {
46 return ViewGroupCompatIcs.onRequestSendAccessibilityEvent(group, child, event);
67 * Called when a child has requested sending an {@link AccessibilityEvent} and
77 * @param child The child which requests sending the event.
81 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument
83 return IMPL.onRequestSendAccessibilityEvent(group, child, event);
36 onRequestSendAccessibilityEvent( ViewGroup group, View child, AccessibilityEvent event) argument
44 onRequestSendAccessibilityEvent( ViewGroup group, View child, AccessibilityEvent event) argument
/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);
/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/android/widget/
H A DLinearLayout.java38 * 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
1662 setChildFrame(View child, int left, int top, int width, int height) argument
[all...]
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 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;
H A DAbsoluteLayout.java65 // 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 DTabWidget.java152 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...]
H A DTableLayout.java58 * <code>layout_height</code> attribute can be defined by a child; default value
59 * is {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}. If the child
65 * a child cell, it will autoincrement to the next available column. If you skip
69 * <p>Although the typical child of a TableLayout is a TableRow, you can
70 * actually use any View subclass as a direct child of TableLayout. The View
372 * upon child insertion.</p>
377 * @param child the newly added child
379 private void trackCollapsedColumns(View child) { argument
380 if (child instanceo
401 addView(View child) argument
410 addView(View child, int index) argument
419 addView(View child, ViewGroup.LayoutParams params) argument
428 addView(View child, int index, ViewGroup.LayoutParams params) argument
455 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
767 onChildViewAdded(View parent, View child) argument
778 onChildViewRemoved(View parent, View child) argument
[all...]
H A DRadioGroup.java128 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
129 if (child instanceof RadioButton) {
130 final RadioButton button = (RadioButton) child;
141 super.addView(child, index, params);
262 * for a list of all child view attributes that this class supports.</p>
302 * <p>Fixes the child's width to
303 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's
374 public void onChildViewAdded(View parent, View child) { argument
375 if (parent == RadioGroup.this && child instanceof RadioButton) {
376 int id = child
394 onChildViewRemoved(View parent, View child) argument
[all...]
/frameworks/base/core/java/android/content/
H A DUriMatcher.java165 UriMatcher child;
168 child = children.get(j);
169 if (token.equals(child.mText)) {
170 node = child;
176 child = new UriMatcher();
178 child.mWhich = NUMBER;
180 child.mWhich = TEXT;
182 child.mWhich = EXACT;
184 child.mText = token;
185 node.mChildren.add(child);
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardSecurityContainer.java25 View child = getChildAt(i);
26 if (child instanceof KeyguardSecurityViewFlipper) {
27 return (KeyguardSecurityViewFlipper) child;
H A DKeyguardLinearLayout.java41 public void setTopChild(View child) { argument
42 int top = indexOfChild(child);
H A DKeyguardWidgetCarousel.java60 View child = getChildAt(index);
61 if (child == null) return 0f;
63 float scrollProgress = getScrollProgress(screenCenter, child, index);
65 scrollProgress = getBoundedScrollProgress(screenCenter, child, index);
80 KeyguardWidgetFrame child = getWidgetPageAt(i);
81 if (child != null) {
82 child.setBackgroundAlpha(getOutlineAlphaForPage(screenCenter, i));
83 child.setContentAlpha(getAlphaForPage(screenCenter, i));
92 KeyguardWidgetFrame child = getWidgetPageAt(i);
94 child
[all...]
H A DKeyguardSecurityViewFlipper.java59 View child = getChildAt(i);
60 if (child.getVisibility() == View.VISIBLE) {
61 offsetRectIntoDescendantCoords(child, mTempRect);
63 result = child.dispatchTouchEvent(ev) || result;
71 View child = getChildAt(getDisplayedChild());
72 if (child instanceof KeyguardSecurityView) {
73 return (KeyguardSecurityView) child;
142 View child = getChildAt(i);
143 if (child instanceof KeyguardSecurityView) {
144 KeyguardSecurityView ksv = (KeyguardSecurityView) child;
[all...]
/frameworks/base/sax/java/android/sax/
H A DElement.java27 * 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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DLatestItemView.java36 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 DNotificationArea.java32 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument
33 if (super.onRequestSendAccessibilityEvent(child, event)) {
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListSetSelectionTest.java74 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) {
/frameworks/base/services/java/com/android/server/wm/
H A DInputMonitor.java166 final WindowState child, final int flags, final int type,
169 inputWindowHandle.name = child.toString();
172 inputWindowHandle.dispatchingTimeoutNanos = child.getInputDispatchingTimeoutNanos();
174 inputWindowHandle.canReceiveKeys = child.canReceiveKeys();
177 inputWindowHandle.paused = child.mAppToken != null ? child.mAppToken.paused : false;
178 inputWindowHandle.layer = child.mLayer;
179 inputWindowHandle.ownerPid = child.mSession.mPid;
180 inputWindowHandle.ownerUid = child.mSession.mUid;
181 inputWindowHandle.inputFeatures = child
165 addInputWindowHandleLw(final InputWindowHandle inputWindowHandle, final WindowState child, final int flags, final int type, final boolean isVisible, final boolean hasFocus, final boolean hasWallpaper) argument
[all...]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSgTransform.java60 public void addChild(SgTransform child) { argument
61 mChildren.add(child);
62 child.setParent(this, mChildren.size() - 1);
95 SgTransform child = (SgTransform)mChildren.get(i);
96 mChildField.set(child.getData(), i, false);
/frameworks/base/core/java/android/animation/
H A DLayoutTransition.java701 * For every child in the parent, we create a change animation of the appropriate
703 * target view. We add layout listeners to all child views and listen for changes. For
756 final View child = parent.getChildAt(i);
759 if (child != newView) {
760 setupChangeAnimation(parent, changeReason, baseAnimator, duration, child);
824 Animator baseAnimator, final long duration, final View child) {
826 // If we already have a listener for this child, then we've already set up the
827 // changing animation we need. Multiple calls for a child may occur when several
830 if (layoutChangeListenerMap.get(child) != null) {
838 if (child
823 setupChangeAnimation(final ViewGroup parent, final int changeReason, Animator baseAnimator, final long duration, final View child) argument
1132 runAppearingTransition(final ViewGroup parent, final View child) argument
1177 runDisappearingTransition(final ViewGroup parent, final View child) argument
1230 addChild(ViewGroup parent, View child, boolean changesLayout) argument
1296 addChild(ViewGroup parent, View child) argument
1304 showChild(ViewGroup parent, View child) argument
1319 showChild(ViewGroup parent, View child, int oldVisibility) argument
1335 removeChild(ViewGroup parent, View child, boolean changesLayout) argument
1374 removeChild(ViewGroup parent, View child) argument
1382 hideChild(ViewGroup parent, View child) argument
1397 hideChild(ViewGroup parent, View child, int newVisibility) argument
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentBreadCrumbs.java183 final View child = getChildAt(0);
186 final int childBottom = mPaddingTop + child.getMeasuredHeight() - mPaddingBottom;
196 childLeft = childRight - child.getMeasuredWidth();
200 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2;
201 childRight = childLeft + child.getMeasuredWidth();
207 childRight = childLeft + child.getMeasuredWidth();
219 child.layout(childLeft, childTop, childRight, childBottom);
230 // Find rightmost and bottom-most child
232 final View child = getChildAt(i);
233 if (child
[all...]

Completed in 2967 milliseconds

123456