/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParser.java | 361 for (XMLNode child : root.getChildren()) { in parseMoText() 362 switch(child.getTag()) { in parseMoText() 368 verDtd = child.getText(); in parseMoText() 376 config = parsePpsNode(child); in parseMoText() 383 Log.e(TAG, "Unknown node: " + child.getTag()); in parseMoText() 417 for (XMLNode child : node.getChildren()) { in parsePpsNode() 418 switch (child.getTag()) { in parsePpsNode() 421 throw new ParsingException("Duplicate NodeName: " + child.getText()); in parsePpsNode() 423 nodeName = child.getText(); in parsePpsNode() 432 PPSNode ppsNodeRoot = buildPpsNode(child); in parsePpsNode() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | ViewState.java | 268 public void animateTo(View child, AnimationProperties animationProperties) { in animateTo() argument 269 boolean wasVisible = child.getVisibility() == View.VISIBLE; in animateTo() 271 if (!wasVisible && (alpha != 0 || child.getAlpha() != 0) in animateTo() 273 child.setVisibility(View.VISIBLE); in animateTo() 275 float childAlpha = child.getAlpha(); in animateTo() 277 if (child instanceof ExpandableView) { in animateTo() 279 alphaChanging &= !((ExpandableView) child).willBeGone(); in animateTo() 283 if (child.getTranslationX() != this.xTranslation) { in animateTo() 284 startXTranslationAnimation(child, animationProperties); in animateTo() 286 abortAnimation(child, TAG_ANIMATOR_TRANSLATION_X); in animateTo() [all …]
|
D | ExpandableViewState.java | 175 public void animateTo(View child, AnimationProperties properties) { in animateTo() argument 176 super.animateTo(child, properties); in animateTo() 177 if (!(child instanceof ExpandableView)) { in animateTo() 180 ExpandableView expandableView = (ExpandableView) child; in animateTo() 187 abortAnimation(child, TAG_ANIMATOR_HEIGHT); in animateTo() 194 abortAnimation(child, TAG_ANIMATOR_TOP_INSET); in animateTo() 207 if (properties.wasAdded(child) && !hidden) { in animateTo() 222 private void startHeightAnimation(final ExpandableView child, AnimationProperties properties) { in startHeightAnimation() argument 223 Integer previousStartValue = getChildTag(child, TAG_START_HEIGHT); in startHeightAnimation() 224 Integer previousEndValue = getChildTag(child, TAG_END_HEIGHT); in startHeightAnimation() [all …]
|
D | StackScrollAlgorithm.java | 118 ExpandableView child = (ExpandableView) mHostView.getChildAt(i); in resetChildViewStates() local 119 child.resetViewState(); in resetChildViewStates() 140 ExpandableView child = algorithmState.visibleChildren.get(i); in updateSpeedBumpState() local 141 ExpandableViewState childViewState = child.getViewState(); in updateSpeedBumpState() 166 ExpandableView child = algorithmState.visibleChildren.get(i); in updateClipping() local 167 ExpandableViewState state = child.getViewState(); in updateClipping() 168 if (!child.mustStayOnScreen() || state.headsUpIsVisible) { in updateClipping() 174 boolean isHeadsUp = (child instanceof ExpandableNotificationRow) in updateClipping() 175 && ((ExpandableNotificationRow) child).isPinned(); in updateClipping() 188 if (!child.isTransparent()) { in updateClipping() [all …]
|
D | NotificationChildrenContainer.java | 158 View child = mChildren.get(i); in onLayout() local 161 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight()); in onLayout() 202 ExpandableNotificationRow child = mChildren.get(i); in onMeasure() local 206 child.setSingleLineWidthIndention(isOverflow && mOverflowNumber != null in onMeasure() 208 child.measure(widthMeasureSpec, newHeightSpec); in onMeasure() 212 if (child.getVisibility() != GONE) { in onMeasure() 213 height += child.getMeasuredHeight() + mDividerHeight; in onMeasure() 424 ExpandableNotificationRow child = mChildren.get(i); 426 if (child != desiredChild) { 447 ExpandableNotificationRow child = mChildren.get(i); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ReverseLinearLayout.java | 51 public void addView(View child) { in addView() argument 52 reverseParams(child.getLayoutParams(), child, mIsLayoutReverse); in addView() local 54 super.addView(child, 0); in addView() 56 super.addView(child); in addView() 61 public void addView(View child, ViewGroup.LayoutParams params) { in addView() argument 62 reverseParams(params, child, mIsLayoutReverse); in addView() 64 super.addView(child, 0, params); in addView() 66 super.addView(child, params); in addView() 98 final View child = childList.get(i); in updateOrder() local 99 super.addView(child); in updateOrder() [all …]
|
D | StatusIconContainer.java | 113 View child = getChildAt(i); in onLayout() local 114 int width = child.getMeasuredWidth(); in onLayout() 115 int height = child.getMeasuredHeight(); in onLayout() 117 child.layout(0, top, width, top + height); in onLayout() 168 View child = mMeasureViews.get(visibleCount - i - 1); in onMeasure() local 169 measureChild(child, childWidthSpec, heightMeasureSpec); in onMeasure() 172 totalWidth += getViewTotalMeasuredWidth(child); in onMeasure() 179 totalWidth += getViewTotalMeasuredWidth(child); in onMeasure() 198 public void onViewAdded(View child) { in onViewAdded() argument 199 super.onViewAdded(child); in onViewAdded() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | RenderNodeTests.cpp | 42 auto child = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() local 46 [&child](RenderProperties& props, Canvas& canvas) { in TEST() 47 canvas.drawRenderNode(child.get()); in TEST() 52 EXPECT_TRUE(child->hasParents()) << "Child node has no parent"; in TEST() 59 EXPECT_TRUE(child->hasParents()) << "Child should still have a parent"; in TEST() 64 EXPECT_FALSE(child->hasParents()) << "Child should be removed"; in TEST() 69 auto child = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() local 73 [&child](RenderProperties& props, Canvas& canvas) { in TEST() 74 canvas.drawRenderNode(child.get()); in TEST() 77 EXPECT_TRUE(child->isValid()); in TEST() [all …]
|
/frameworks/base/tools/stringslint/ |
D | stringslint.py | 125 for child in root: 127 if isinstance(child, ET._Comment): 128 last_comment = child 129 elif child.tag == "string": 135 text = "".join(child.itertext()) 136 sample = "".join(sample_iter(child)).strip().strip("'\"") 140 info(child, "Missing string comment to aid translation", 145 if "translatable" in child.attrib and child.attrib["translatable"].lower() == "false": 152 if misspelling in child.attrib: 153 error(child, "Misspelled <string> attribute.", misspelling, expected) [all …]
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 438 final View child = getVirtualChildAt(i); in drawDividersVertical() local 439 if (child != null && child.getVisibility() != GONE) { in drawDividersVertical() 441 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() 442 final int top = child.getTop() - lp.topMargin - mDividerHeight; in drawDividersVertical() 449 final View child = getLastNonGoneChild(); in drawDividersVertical() local 451 if (child == null) { in drawDividersVertical() 454 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() 455 bottom = child.getBottom() + lp.bottomMargin; in drawDividersVertical() 467 final View child = getVirtualChildAt(i); in getLastNonGoneChild() local 468 if (child != null && child.getVisibility() != GONE) { in getLastNonGoneChild() [all …]
|
D | TableRow.java | 102 final View child = getVirtualChildAt(columnIndex); in setColumnCollapsed() local 103 if (child != null) { in setColumnCollapsed() 104 child.setVisibility(collapsed ? GONE : VISIBLE); in setColumnCollapsed() 163 final View child = getChildAt(i); in mapIndexAndColumns() local 164 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in mapIndexAndColumns() 191 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument 195 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildBeforeLayout() 223 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in measureChildBeforeLayout() 226 final int childWidth = child.getMeasuredWidth(); in measureChildBeforeLayout() 247 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec, in measureChildBeforeLayout() [all …]
|
D | DayPickerViewPager.java | 68 final View child = getChildAt(i); in onMeasure() local 69 if (child.getVisibility() != GONE) { in onMeasure() 70 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure() 71 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() 72 maxWidth = Math.max(maxWidth, child.getMeasuredWidth()); in onMeasure() 73 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure() 74 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure() 78 mMatchParentChildren.add(child); in onMeasure() 106 final View child = mMatchParentChildren.get(i); in onMeasure() local 108 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() [all …]
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 50 /*package*/ static boolean drawChild(ViewGroup thisVG, Canvas canvas, View child, in drawChild() argument 52 if (child.getZ() > thisVG.getZ()) { in drawChild() 55 child.setBackgroundBounds(); in drawChild() 56 ViewOutlineProvider outlineProvider = child.getOutlineProvider(); in drawChild() 58 Outline outline = child.mAttachInfo.mTmpOutline; in drawChild() 59 outlineProvider.getOutline(child, outline); in drawChild() 61 int restoreTo = transformCanvas(thisVG, canvas, child); in drawChild() 62 drawShadow(thisVG, canvas, child, outline); in drawChild() 67 return thisVG.drawChild_Original(canvas, child, drawingTime); in drawChild() 70 private static void drawShadow(ViewGroup parent, Canvas canvas, View child, in drawShadow() argument [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 822 public void requestChildFocus(View child, View focused) { in requestChildFocus() argument 834 if (mFocused != child) { in requestChildFocus() 839 mFocused = child; in requestChildFocus() 846 void setDefaultFocus(View child) { in setDefaultFocus() argument 852 mDefaultFocus = child; in setDefaultFocus() 865 void clearDefaultFocus(View child) { in clearDefaultFocus() argument 867 if (mDefaultFocus != child && mDefaultFocus != null in clearDefaultFocus() 902 void clearFocusedInCluster(View child) { in clearFocusedInCluster() argument 903 if (mFocusedInCluster != child) { in clearFocusedInCluster() 1028 View child = getChildAt(i); in dispatchActivityResult() local [all …]
|
D | ViewParent.java | 56 public void requestTransparentRegion(View child); in requestTransparentRegion() argument 72 default void onDescendantInvalidated(@NonNull View child, @NonNull View target) { in onDescendantInvalidated() argument 75 getParent().onDescendantInvalidated(child, target); in onDescendantInvalidated() 88 public void invalidateChild(View child, Rect r); in invalidateChild() argument 131 public void requestChildFocus(View child, View focused); in requestChildFocus() argument 139 public void recomputeViewAttributes(View child); in recomputeViewAttributes() argument 146 public void clearChildFocus(View child); in clearChildFocus() argument 168 public boolean getChildVisibleRect(View child, Rect r, android.graphics.Point offset); in getChildVisibleRect() argument 202 public void bringChildToFront(View child); in bringChildToFront() argument 301 public void childDrawableStateChanged(View child); in childDrawableStateChanged() argument [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | MockView.java | 71 public void addView(View child) { in addView() argument 72 if (child == mView) { in addView() 73 super.addView(child); in addView() 78 public void addView(View child, int index) { in addView() argument 79 if (child == mView) { in addView() 80 super.addView(child, index); in addView() 85 public void addView(View child, int width, int height) { in addView() argument 86 if (child == mView) { in addView() 87 super.addView(child, width, height); in addView() 92 public void addView(View child, ViewGroup.LayoutParams params) { in addView() argument [all …]
|
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
D | ErrorCatcher.java | 56 View child = getChildAt(0); in onMeasure() local 58 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure() 60 setMeasuredDimension(resolveSize(child.getMeasuredWidth(), widthMeasureSpec), in onMeasure() 61 resolveSize(child.getMeasuredHeight(), heightMeasureSpec)); in onMeasure() 64 child.getClass().getCanonicalName(), t); in onMeasure() 71 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { in drawChild() argument 73 return super.drawChild(canvas, child, drawingTime); in drawChild() 76 child.getClass().getCanonicalName(), t); in drawChild() 86 View child = getChildAt(0); in onLayout() local 88 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight()); in onLayout() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | MessagingLayoutTransformState.java | 154 View child = ownMessages.getChildAt(j); in appear() local 155 if (isGone(child)) { in appear() 158 appear(child, transformationAmount); in appear() 159 setClippingDeactivated(child, true); in appear() 187 View child = ownMessages.getChildAt(j); in disappear() local 188 if (isGone(child)) { in disappear() 191 disappear(child, transformationAmount); in disappear() 192 setClippingDeactivated(child, true); in disappear() 201 private void appear(View child, float transformationAmount) { in appear() argument 202 if (child == null || child.getVisibility() == View.GONE) { in appear() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | LayoutTransition.java | 775 final View child = parent.getChildAt(i); in runChangeTransition() local 778 if (child != newView) { in runChangeTransition() 779 setupChangeAnimation(parent, changeReason, baseAnimator, duration, child); in runChangeTransition() 831 Animator baseAnimator, final long duration, final View child) { in setupChangeAnimation() argument 837 if (layoutChangeListenerMap.get(child) != null) { in setupChangeAnimation() 845 if (child.getWidth() == 0 && child.getHeight() == 0) { in setupChangeAnimation() 853 anim.setTarget(child); in setupChangeAnimation() 860 Animator currentAnimation = pendingAnimations.get(child); in setupChangeAnimation() 863 pendingAnimations.remove(child); in setupChangeAnimation() 866 pendingAnimations.put(child, anim); in setupChangeAnimation() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | WatchListDecorLayout.java | 77 View child = getChildAt(i); in onAttachedToWindow() local 78 if (child instanceof ListView) { in onAttachedToWindow() 82 mListView = (ListView) child; in onAttachedToWindow() 88 int gravity = (((LayoutParams) child.getLayoutParams()).gravity in onAttachedToWindow() 91 mTopPanel = child; in onAttachedToWindow() 93 mBottomPanel = child; in onAttachedToWindow() 112 private void applyMeasureToChild(View child, int widthMeasureSpec, int heightMeasureSpec) { in applyMeasureToChild() argument 113 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in applyMeasureToChild() 143 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in applyMeasureToChild() 146 private int measureAndGetHeight(View child, int widthMeasureSpec, int heightMeasureSpec) { in measureAndGetHeight() argument [all …]
|
D | AlertDialogLayout.java | 84 final View child = getChildAt(i); in tryOnMeasure() local 85 if (child.getVisibility() == View.GONE) { in tryOnMeasure() 89 final int id = child.getId(); in tryOnMeasure() 92 topPanel = child; in tryOnMeasure() 95 buttonPanel = child; in tryOnMeasure() 103 middlePanel = child; in tryOnMeasure() 198 final View child = getChildAt(i); in tryOnMeasure() local 199 if (child.getVisibility() != View.GONE) { in tryOnMeasure() 200 maxWidth = Math.max(maxWidth, child.getMeasuredWidth()); in tryOnMeasure() 231 final View child = getChildAt(i); in forceUniformWidth() local [all …]
|
D | MessagingLinearLayout.java | 84 final View child = getChildAt(i); in onMeasure() local 85 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() 98 final View child = getChildAt(i); in onMeasure() local 102 if (child instanceof MessagingChild) { in onMeasure() 103 messagingChild = (MessagingChild) child; in onMeasure() 108 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, totalHeight in onMeasure() 111 final int childHeight = child.getMeasuredHeight(); in onMeasure() 127 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin in onMeasure() 163 final View child = getChildAt(i); in onLayout() local 164 if (child.getVisibility() == GONE) { in onLayout() [all …]
|
/frameworks/av/services/audiopolicy/engine/config/src/ |
D | EngineConfig.cpp | 183 const xmlNode *child = cur; in deserializeCollection() local 184 if (!xmlStrcmp(child->name, (const xmlChar *)Trait::collectionTag)) { in deserializeCollection() 185 child = child->xmlChildrenNode; in deserializeCollection() 187 for (; child != NULL; child = child->next) { in deserializeCollection() 188 if (!xmlStrcmp(child->name, (const xmlChar *)Trait::tag)) { in deserializeCollection() 189 status_t status = Trait::deserialize(doc, child, collection); in deserializeCollection() 298 status_t AttributesGroupTraits::deserialize(_xmlDoc *doc, const _xmlNode *child, in deserialize() argument 301 std::string name = getXmlAttribute(child, Attributes::name); in deserialize() 307 std::string volumeGroup = getXmlAttribute(child, Attributes::volumeGroup); in deserialize() 314 std::string streamTypeXml = getXmlAttribute(child, Attributes::streamType); in deserialize() [all …]
|
/frameworks/base/tools/aapt2/ |
D | DominatorTree.cpp | 54 for (auto& child : children_) { in AddChild() local 55 if (new_child->Dominates(child.get())) { in AddChild() 56 child->parent_ = new_child.get(); in AddChild() 57 new_child->children_.push_back(std::move(child)); in AddChild() 58 child = {}; in AddChild() 66 [](const std::unique_ptr<Node>& child) -> bool { in AddChild() argument 67 return child == nullptr; in AddChild() 72 for (auto& child : children_) { in AddChild() local 73 if (child->Dominates(new_child.get())) { in AddChild() 74 child->AddChild(std::move(new_child)); in AddChild()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DimmerTests.java | 89 SurfaceControl.Builder makeChildSurface(WindowContainer child) { in makeChildSurface() argument 177 TestWindowContainer child = new TestWindowContainer(mWm); in testDimAboveWithChildCreatesSurfaceAboveChild() local 178 mHost.addChild(child, 0); in testDimAboveWithChildCreatesSurfaceAboveChild() 181 mDimmer.dimAbove(mTransaction, child, alpha); in testDimAboveWithChildCreatesSurfaceAboveChild() 187 verify(mTransaction).setRelativeLayer(dimLayer, child.mControl, 1); in testDimAboveWithChildCreatesSurfaceAboveChild() 192 TestWindowContainer child = new TestWindowContainer(mWm); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild() local 193 mHost.addChild(child, 0); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild() 196 mDimmer.dimBelow(mTransaction, child, alpha); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild() 202 verify(mTransaction).setRelativeLayer(dimLayer, child.mControl, -1); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild() 207 TestWindowContainer child = new TestWindowContainer(mWm); in testDimBelowWithChildSurfaceDestroyedWhenReset() local [all …]
|