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

12345

/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
[all...]
H A DViewGroup.java104 * apply on the child being drawn.
126 // Does this group have a child that can accept the current drag payload?
171 // When set, ViewGroup invalidates only the child's rectangle
180 // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set
215 * to get the index of the child to draw for that iteration.
224 * invoked when a child is drawn.
293 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate.
337 // Index of the child's left position in the mLocation array
339 // Index of the child's top position in the mLocation array
516 public void requestChildFocus(View child, Vie argument
597 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
604 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument
633 onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) argument
646 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument
662 clearChildFocus(View child) argument
895 onChildVisibilityChanged(View child, int visibility) argument
965 recomputeViewAttributes(View child) argument
986 bringChildToFront(View child) argument
1178 notifyChildOfDrag(View child) argument
1581 dispatchTransformedGenericPointerEvent(MotionEvent event, View child) argument
1830 getTouchTarget(View child) argument
1843 addTouchTarget(View child, int pointerIdBits) argument
1880 canViewReceivePointerEvents(View child) argument
1891 isTransformedTouchPointInView(float x, float y, View child, PointF outLocalPoint) argument
1915 dispatchTransformedTouchEvent(MotionEvent event, boolean cancel, View child, int desiredPointerIdBits) argument
2614 drawChild(Canvas canvas, View child, long drawingTime) argument
3051 getChildStaticTransformation(View child, Transformation t) argument
3144 addView(View child) argument
3157 addView(View child, int index) argument
3174 addView(View child, int width, int height) argument
3187 addView(View child, LayoutParams params) argument
3198 addView(View child, int index, LayoutParams params) argument
3243 onChildViewAdded(View parent, View child) argument
3251 onChildViewRemoved(View parent, View child) argument
3267 onViewAdded(View child) argument
3276 onViewRemoved(View child) argument
3293 addViewInLayout(View child, int index, LayoutParams params) argument
3310 addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) argument
3323 cleanupLayoutState(View child) argument
3327 addViewInner(View child, int index, LayoutParams params, boolean preventRequestLayout) argument
3390 addInArray(View child, int index) argument
3477 bindLayoutAnimation(View child) argument
3492 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument
3744 removeDetachedView(View child, boolean animate) argument
3779 attachViewToParent(View child, int index, LayoutParams params) argument
3812 detachViewFromParent(View child) argument
3884 invalidateChild(View child, final Rect dirty) argument
4178 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument
4596 indexOfChild(View child) argument
4660 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument
4686 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument
4966 requestTransparentRegion(View child) argument
5093 childDrawableStateChanged(View child) argument
5624 public View child; field in class:ViewGroup.TouchTarget
5635 obtain(View child, int pointerIdBits) argument
5674 public View child; field in class:ViewGroup.HoverTarget
5682 obtain(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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNotificationRowLayout.java81 public void onChildViewAdded(View parent, View child) {
82 Slog.d(TAG, "view added: " + child + "; new count: " + getChildCount());
85 public void onChildViewRemoved(View parent, View child) {
86 Slog.d(TAG, "view removed: " + child + "; new count: " + (getChildCount() - 1));
169 public void addView(View child, int index, LayoutParams params) { argument
170 super.addView(child, index, params);
172 final View childF = child;
175 final ObjectAnimator alphaFade = ObjectAnimator.ofFloat(child, "alpha", 0f, 1f);
187 mAppearingViews.put(child, alphaFade);
203 public void dismissRowAnimated(View child) { argument
207 dismissRowAnimated(View child, int vel) argument
212 removeView(View child) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java36 * You can also specify gravity, which specifies the alignment of all the child elements by
87 * use the child at this index as the baseline.
96 * The additional offset to the child's baseline.
305 final View child = getVirtualChildAt(i);
307 if (child != null && child.getVisibility() != GONE) {
309 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
310 final int top = child.getTop() - lp.topMargin;
317 final View child = getVirtualChildAt(count - 1);
319 if (child
1338 getChildrenSkipCount(View child, int index) argument
1366 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
1380 getLocationOffset(View child) argument
1392 getNextLocationOffset(View child) argument
1627 setChildFrame(View child, int left, int top, int width, int height) argument
[all...]
H A DViewSwitcher.java28 * child views, of which only one is shown at a time.
62 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
66 super.addView(child, index, params);
80 View child = mFactory.makeView();
81 LayoutParams lp = (LayoutParams) child.getLayoutParams();
85 addView(child, lp);
86 return child;
H A DTableRow.java31 * always be used as a child of a {@link android.widget.TableLayout}. If a
100 View child = getVirtualChildAt(columnIndex);
101 if (child != null) {
102 child.setVisibility(collapsed ? GONE : VISIBLE);
161 final View child = getChildAt(i);
162 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams();
189 void measureChildBeforeLayout(View child, int childIndex, argument
193 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
221 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
224 final int childWidth = child
254 getChildrenSkipCount(View child, int index) argument
265 getLocationOffset(View child) argument
273 getNextLocationOffset(View child) argument
515 onChildViewAdded(View parent, View child) argument
524 onChildViewRemoved(View parent, View child) argument
[all...]
H A DTextSwitcher.java57 * @throws IllegalArgumentException if child is not an instance of
61 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
62 if (!(child instanceof TextView)) {
67 super.addView(child, index, params);
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.java154 void measureChildBeforeLayout(View child, int childIndex, argument
164 super.measureChildBeforeLayout(child, childIndex,
186 final View child = getChildAt(i);
187 if (child.getVisibility() == GONE) continue;
196 final View child = getChildAt(i);
197 if (child.getVisibility() == GONE) continue;
198 final int childWidth = child.getMeasuredWidth();
205 mImposedTabsHeight = Math.max(mImposedTabsHeight, child.getMeasuredHeight());
313 public void childDrawableStateChanged(View child) { argument
314 if (getTabCount() > 0 && child
461 addView(View child) argument
[all...]
H A DTableLayout.java56 * <code>layout_height</code> attribute can be defined by a child; default value
57 * is {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}. If the child
63 * a child cell, it will autoincrement to the next available column. If you skip
67 * <p>Although the typical child of a TableLayout is a TableRow, you can
68 * actually use any View subclass as a direct child of TableLayout. The View
364 * upon child insertion.</p>
369 * @param child the newly added child
371 private void trackCollapsedColumns(View child) { argument
372 if (child instanceo
393 addView(View child) argument
402 addView(View child, int index) argument
411 addView(View child, ViewGroup.LayoutParams params) argument
420 addView(View child, int index, ViewGroup.LayoutParams params) argument
447 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
747 onChildViewAdded(View parent, View child) argument
758 onChildViewRemoved(View parent, View child) argument
[all...]
H A DRadioGroup.java126 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
127 if (child instanceof RadioButton) {
128 final RadioButton button = (RadioButton) child;
139 super.addView(child, index, params);
246 * for a list of all child view attributes that this class supports.</p>
286 * <p>Fixes the child's width to
287 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's
358 public void onChildViewAdded(View parent, View child) { argument
359 if (parent == RadioGroup.this && child instanceof RadioButton) {
360 int id = child
378 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/tools/localize/
H A DXLIFFFile_test.cpp51 XMLNode* child; local
53 child = add_html_tag(res.value, "b");
54 child->EditChildren().push_back(XMLNode::NewText(GENERATED_POS, "b", XMLNode::EXACT));
56 child = add_html_tag(res.value, "i");
57 child->EditChildren().push_back(XMLNode::NewText(GENERATED_POS, "i", XMLNode::EXACT));
59 child = add_html_tag(child, "b");
60 child->EditChildren().push_back(XMLNode::NewText(GENERATED_POS, "b", XMLNode::EXACT));
62 child = add_html_tag(res.value, "u");
63 child
[all...]
/frameworks/base/core/java/android/animation/
H A DLayoutTransition.java556 * For every child in the parent, we create a change animation of the appropriate
558 * target view. We add layout listeners to all child views and listen for changes. For
589 final View child = parent.getChildAt(i);
592 if (child != newView) {
593 setupChangeAnimation(parent, changeReason, baseAnimator, duration, child);
659 Animator baseAnimator, final long duration, final View child) {
661 // If we already have a listener for this child, then we've already set up the
662 // changing animation we need. Multiple calls for a child may occur when several
665 if (layoutChangeListenerMap.get(child) != null) {
673 anim.setTarget(child);
658 setupChangeAnimation(final ViewGroup parent, final int changeReason, Animator baseAnimator, final long duration, final View child) argument
943 runAppearingTransition(final ViewGroup parent, final View child) argument
984 runDisappearingTransition(final ViewGroup parent, final View child) argument
1028 addChild(ViewGroup parent, View child) argument
1051 showChild(ViewGroup parent, View child) argument
1064 removeChild(ViewGroup parent, View child) argument
1087 hideChild(ViewGroup parent, View child) argument
[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/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/services/java/com/android/server/wm/
H A DInputMonitor.java179 final WindowState child = windows.get(i);
180 final InputChannel inputChannel = child.mInputChannel;
181 final InputWindowHandle inputWindowHandle = child.mInputWindowHandle;
182 if (inputChannel == null || inputWindowHandle == null || child.mRemoved) {
187 final int flags = child.mAttrs.flags;
188 final int type = child.mAttrs.type;
190 final boolean hasFocus = (child == mInputFocus);
191 final boolean isVisible = child.isVisibleLw();
192 final boolean hasWallpaper = (child == mService.mWallpaperTarget)
195 // If there's a drag in progress and 'child' i
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuView.java138 final View child = getChildAt(i);
139 if (child.getVisibility() == GONE) continue;
141 final boolean isGeneratedItem = child instanceof ActionMenuItemView;
147 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0);
150 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
157 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText();
162 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable,
170 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight());
184 long minCellsAt = 0; // Bit locations are indices of relevant child views
187 final View child
327 measureChildForCells(View child, int cellSize, int cellsRemaining, int parentHeightMeasureSpec, int parentHeightPadding) argument
[all...]
/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/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/app/
H A DFragmentBreadCrumbs.java166 final View child = getChildAt(i);
168 int childRight = mPaddingLeft + child.getMeasuredWidth() - mPaddingRight;
169 int childBottom = mPaddingTop + child.getMeasuredHeight() - mPaddingBottom;
170 child.layout(mPaddingLeft, mPaddingTop, childRight, childBottom);
182 // Find rightmost and bottom-most child
184 final View child = getChildAt(i);
185 if (child.getVisibility() != GONE) {
186 measureChild(child, widthMeasureSpec, heightMeasureSpec);
187 maxWidth = Math.max(maxWidth, child.getMeasuredWidth());
188 maxHeight = Math.max(maxHeight, child
[all...]

Completed in 1380 milliseconds

12345