Searched defs:child (Results 101 - 125 of 222) sorted by relevance

123456789

/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java303 protected int measureChildView(View child, int availableWidth, int childSpecHeight, argument
305 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST),
308 availableWidth -= child.getMeasuredWidth();
318 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { argument
319 int childWidth = child.getMeasuredWidth();
320 int childHeight = child.getMeasuredHeight();
324 child.layout(x - childWidth, childTop, x, childTop + childHeight);
326 child.layout(x, childTop, x + childWidth, childTop + childHeight);
H A DActionBarContainer.java268 View child, ActionMode.Callback callback, int type) {
270 return super.startActionModeForChild(child, callback, type);
299 final View child = getChildAt(i);
300 if (child == mTabContainer) {
303 nonTabMaxHeight = Math.max(nonTabMaxHeight, isCollapsed(child) ? 0 :
304 getMeasuredHeightWithMargins(child));
267 startActionModeForChild( View child, ActionMode.Callback callback, int type) argument
H A DDecorCaptionView.java59 * First, no matter where the content View gets added, it will always be the first child and the
258 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
268 // first child to get the right Z-Ordering.
269 super.addView(child, 0, params);
270 mContent = child;
/frameworks/base/libs/hwui/
H A DRenderNode.cpp173 for (auto&& child : mDisplayList->getChildren()) {
174 child->renderNode->copyTo(pnode->add_children());
322 [](RenderNode* child, TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer) {
323 child->prepareTreeImpl(observer, info, functorsNeedLayer);
364 mStagingDisplayList->updateChildren([](RenderNode* child) {
365 child->incParentRefCount();
389 mDisplayList->updateChildren([&observer, info](RenderNode* child) {
390 child->decParentRefCount(observer, info);
414 mDisplayList->updateChildren([](RenderNode* child) {
415 child
532 RenderNode* child = childOp->renderNode; local
[all...]
H A DVectorDrawable.cpp281 for (auto& child : mChildren) {
282 child->draw(outCanvas, useStagingData);
304 for (auto& child : mChildren) {
305 child->syncProperties();
320 void Group::addChild(Node* child) { argument
321 mChildren.emplace_back(child);
323 child->setPropertyChangedListener(mPropertyChangedListener);
/frameworks/base/libs/hwui/tests/unit/
H A DRenderNodeDrawableTests.cpp272 * Construct a tree of nodes, where the root (A) has a receiver background (B), and a child (C)
273 * with a projecting child (P) of its own. P would normally draw between B and C's "background"
300 auto child = TestUtils::createSkiaNode(0, 50, 100, 100, local
308 [&receiverBackground, &child](RenderProperties& properties, SkiaRecordingCanvas& canvas) {
315 canvas.drawRenderNode(child.get());
326 //parent(A) -> (receiverBackground, child)
327 //child(C) -> (rect[0, 0, 100, 50], projectingRipple)
417 auto child = TestUtils::createSkiaNode(100, 100, 300, 300, local
423 [&receiverBackground, &child](RenderProperties& properties,
429 canvas.drawRenderNode(child
506 auto child = TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, local
919 auto child = TestUtils::createSkiaNode(10, 10, 110, 110, local
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DSuggestionParser.java437 protected void onAddChildItem(Object parent, Object child) { argument
438 if (parent instanceof List<?> && child instanceof SuggestionCategory) {
439 ((List<SuggestionCategory>) parent).add((SuggestionCategory) child);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java144 View child = getChildAt(i);
145 if (child.getLayoutParams() instanceof LayoutParams) {
146 LayoutParams lp = (LayoutParams) child.getLayoutParams();
151 child.requestLayout();
177 public void onViewAdded(View child) { argument
178 super.onViewAdded(child);
179 if (child.getId() == R.id.brightness_mirror) {
180 mBrightnessMirror = child;
H A DNotificationIconContainer.java158 View child = getChildAt(i);
161 int width = child.getMeasuredWidth();
162 int height = child.getMeasuredHeight();
164 child.layout(0, top, width, top + height);
166 mIconSize = child.getWidth();
178 View child = getChildAt(i);
179 ViewState childState = mIconStates.get(child);
181 childState.applyToView(child);
190 public void onViewAdded(View child) { argument
191 super.onViewAdded(child);
215 isReplacingIcon(View child) argument
236 onViewRemoved(View child) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackStateAnimator.java71 /** The current index for the last child which was not added in this event set. */
102 public Interpolator getCustomInterpolator(View child, Property property) {
103 if (mHeadsUpAppearChildren.contains(child) && View.TRANSLATION_Y.equals(property)) {
127 final ExpandableView child = (ExpandableView) mHostLayout.getChildAt(i);
129 ExpandableViewState viewState = finalState.getViewStateForView(child);
130 if (viewState == null || child.getVisibility() == View.GONE
131 || applyWithoutAnimation(child, viewState, finalState)) {
135 initAnimationProperties(finalState, child, viewState);
136 viewState.animateTo(child, mAnimationProperties);
139 // no child ha
148 initAnimationProperties(StackScrollState finalState, ExpandableView child, ExpandableViewState viewState) argument
167 adaptDurationWhenGoingToFullShade(ExpandableView child, ExpandableViewState viewState, boolean wasAdded) argument
183 applyWithoutAnimation(ExpandableView child, ExpandableViewState viewState, StackScrollState finalState) argument
[all...]
H A DViewState.java260 * @param child the view to animate
263 public void animateTo(View child, AnimationProperties animationProperties) { argument
264 boolean wasVisible = child.getVisibility() == View.VISIBLE;
266 if (!wasVisible && (alpha != 0 || child.getAlpha() != 0)
268 child.setVisibility(View.VISIBLE);
270 float childAlpha = child.getAlpha();
272 if (child instanceof ExpandableView) {
274 alphaChanging &= !((ExpandableView) child).willBeGone();
278 if (child.getTranslationX() != this.xTranslation) {
279 startXTranslationAnimation(child, animationPropertie
324 startAlphaAnimation(final View child, AnimationProperties properties) argument
411 startZTranslationAnimation(final View child, AnimationProperties properties) argument
471 startXTranslationAnimation(final View child, AnimationProperties properties) argument
536 startYTranslationAnimation(final View child, AnimationProperties properties) argument
613 getChildTag(View child, int tag) argument
617 abortAnimation(View child, int animatorTag) argument
676 isAnimatingY(View child) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DLockscreenFragment.java213 public void addChild(Item child) { argument
214 mChildren.add(child);
241 mChildren.forEach(child -> adapter.addItem(this, child));
243 mChildren.forEach(child -> adapter.remItem(child));
311 public void addItem(Item parent, Item child) { argument
313 mItems.add(index + 1, child);
/frameworks/base/services/core/java/com/android/server/wm/
H A DStackWindowController.java122 public void positionChildAt(TaskWindowContainerController child, int position, Rect bounds, argument
125 if (DEBUG_STACK) Slog.i(TAG_WM, "positionChildAt: positioning task=" + child
127 if (child.mContainer == null) {
137 child.mContainer.positionAt(position, bounds, overrideConfig);
142 public void positionChildAtTop(TaskWindowContainerController child, boolean includingParents) { argument
143 if (child == null) {
149 final Task childTask = child.mContainer;
151 Slog.e(TAG_WM, "positionChildAtTop: task=" + child + " not found");
163 public void positionChildAtBottom(TaskWindowContainerController child) { argument
164 if (child
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowContainerTests.java317 // Check response to position that's bigger than child number.
369 final TestWindowContainer child = parent.addChildWindow();
370 child.onOverrideConfigurationChanged(new Configuration());
448 // Landscape because even though the container isn't visible it has a child that is
496 // Unset because the child doesn't fill the parent. May as well be invisible...
502 // Test case of child filling its parent, but its parent isn't filling its own parent.
572 // Check child initial config.
578 // Check child initial config if root has overrides.
587 // Check child initial config if root has parent config set.
611 // Init child'
767 addChildWindow(TestWindowContainer child) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/Logging/
H A DSession.java170 public void removeChild(Session child) { argument
171 if (child != null) {
172 mChildSessions.remove(child);
268 for (Session child : mChildSessions) {
273 child.printSessionTree(tabI + 1, sb);
379 // Id instead of the child to reduce confusion.
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.cpp367 for (const std::unique_ptr<xml::Node>& child : children) {
368 ns->AppendChild(child->Clone(el_cloner));
388 // child.
394 void Node::AppendChild(std::unique_ptr<Node> child) { argument
395 child->parent = this;
396 children.push_back(std::move(child));
399 void Node::InsertChild(size_t index, std::unique_ptr<Node> child) { argument
400 child->parent = this;
401 children.insert(children.begin() + index, std::move(child));
433 Node* child local
460 Node* child = child_node.get(); local
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java116 * Adds a child component to this component.
117 * @param child The child component.
119 public void addChild(Component child) { argument
120 getOrCreateChildren().add(child);
492 Component child = new Component(componentName, component);
494 component.addChild(child);
496 return child;
/frameworks/support/development/checkstyle/prebuilt/
H A Dcom.android.support.checkstyle.jar ... .puppycrawl.tools.checkstyle.api.DetailAST child com.puppycrawl.tools.checkstyle.api. ...
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DViewBoundsCheck.java38 * The child view's start should be strictly greater than parent view's start.
43 * The child view's start can be equal to its parent view's start. This flag follows with GT
49 * The child view's start should be strictly less than parent view's start.
56 * The child view's start should be strictly greater than parent view's end.
61 * The child view's start can be equal to its parent view's end. This flag follows with GT
67 * The child view's start should be strictly less than parent view's end.
74 * The child view's end should be strictly greater than parent view's start.
79 * The child view's end can be equal to its parent view's start. This flag follows with GT
85 * The child view's end should be strictly less than parent view's start.
92 * The child vie
250 isViewWithinBoundFlags(View child, @ViewBounds int boundsFlags) argument
[all...]
/frameworks/support/wear/src/android/support/wear/widget/drawer/
H A DWearableDrawerView.java209 // LayoutParams are not guaranteed to return a non-null value until a child is attached to
228 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
229 @IdRes int childId = child.getId();
232 setPeekContent(child, index, params);
235 if (childId == mContentResId && !setDrawerContentWithoutAdding(child)) {
240 super.addView(child, index, params);
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp252 sp<WebmElement> child = (*it); local
253 child->serializeInto(buf + off);
254 off += child->totalSize();
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSerializer.cpp88 const xmlNode *child = root; local
89 if (!xmlStrcmp(child->name, (const xmlChar *)Trait::collectionTag)) {
90 child = child->xmlChildrenNode;
92 while (child != NULL) {
93 if (!xmlStrcmp(child->name, (const xmlChar *)Trait::tag)) {
95 status_t status = Trait::deserialize(doc, child, element, serializingContext);
104 child = child->next;
221 status_t MixPortTraits::deserialize(_xmlDoc *doc, const _xmlNode *child, PtrElemen argument
452 const xmlNode *child = children->xmlChildrenNode; local
557 const xmlNode *child = referenceName.empty() ? root->xmlChildrenNode : ref->xmlChildrenNode; local
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java252 View child = getErrorView();
253 prepareView(child);
254 addViewInLayout(child, 0, child.getLayoutParams());
255 measureChild(child, MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY),
257 child.layout(0, 0, child.getMeasuredWidth() + mPaddingLeft + mPaddingRight,
258 child.getMeasuredHeight() + mPaddingTop + mPaddingBottom);
259 mView = child;
620 protected boolean drawChild(Canvas canvas, View child, lon argument
[all...]
/frameworks/base/core/java/android/widget/
H A DActionMenuView.java164 final View child = getChildAt(i);
165 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
210 final View child = getChildAt(i);
211 if (child.getVisibility() == GONE) continue;
213 final boolean isGeneratedItem = child instanceof ActionMenuItemView;
219 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0);
222 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
229 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText();
234 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable,
242 maxChildHeight = Math.max(maxChildHeight, child
398 measureChildForCells(View child, int cellSize, int cellsRemaining, int parentHeightMeasureSpec, int parentHeightPadding) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java393 public boolean tryCaptureView(View child, int pointerId) { argument
398 return child == mDynamicContent && pointerId == FIRST_POINTER_ID;
419 public void onViewReleased(View child, float velocityX, float velocityY) { argument
420 final int childTop = child.getTop();
431 mDragger.smoothSlideViewTo(child, child.getLeft(), closedOptionsY);
433 mDragger.smoothSlideViewTo(child, child.getLeft(), openedOptionsY);
445 public int getViewVerticalDragRange(View child) { argument
450 public int clampViewPositionVertical(View child, in argument
[all...]

Completed in 490 milliseconds

123456789