/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParser.java | 410 for (XMLNode child : root.getChildren()) { in parseMoText() 411 switch(child.getTag()) { in parseMoText() 417 verDtd = child.getText(); in parseMoText() 425 config = parsePpsNode(child); in parseMoText() 432 Log.e(TAG, "Unknown node: " + child.getTag()); in parseMoText() 466 for (XMLNode child : node.getChildren()) { in parsePpsNode() 467 switch (child.getTag()) { in parsePpsNode() 470 throw new ParsingException("Duplicate NodeName: " + child.getText()); in parsePpsNode() 472 nodeName = child.getText(); in parsePpsNode() 481 PPSNode ppsNodeRoot = buildPpsNode(child); in parsePpsNode() [all …]
|
/packages/modules/StatsD/statsd/tests/ |
D | FieldValue_test.cpp | 76 FieldMatcher* child = matcher1.add_child(); in TEST() local 77 child->set_field(1); in TEST() 78 child->set_position(Position::ANY); in TEST() 80 child = child->add_child(); in TEST() 81 child->set_field(1); in TEST() 97 FieldMatcher* child = matcher1.add_child(); in TEST() local 98 child->set_field(1); in TEST() 99 child->set_position(Position::ALL); in TEST() 101 child = child->add_child(); in TEST() 102 child->set_field(1); in TEST() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 91 View child = getChildAt(i); in getChildAt() local 92 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in getChildAt() 96 return child; in getChildAt() 111 View child = getChildAt(i); in onMeasure() local 112 if (child.getVisibility() != GONE) { in onMeasure() 113 measureChild(child); in onMeasure() 126 public boolean addViewInLayout(View child, LayoutParams layoutParams) { in addViewInLayout() argument 127 return super.addViewInLayout(child, -1, layoutParams, true); in addViewInLayout() 130 public void setupLp(View child) { in setupLp() argument 131 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in setupLp() [all …]
|
D | WorkspaceLayoutManager.java | 52 default void addInScreenFromBind(View child, ItemInfo info) { in addInScreenFromBind() argument 65 addInScreen(child, info.container, presenterPos.screenId, x, y, info.spanX, info.spanY); in addInScreenFromBind() 72 default void addInScreen(View child, ItemInfo info) { in addInScreen() argument 74 addInScreen(child, info.container, in addInScreen() 90 default void addInScreen(View child, int container, int screenId, int x, int y, in addInScreen() argument 111 if (child instanceof FolderIcon) { in addInScreen() 112 ((FolderIcon) child).setTextVisible(false); in addInScreen() 116 if (child instanceof FolderIcon) { in addInScreen() 117 ((FolderIcon) child).setTextVisible(true); in addInScreen() 122 ViewGroup.LayoutParams genericLp = child.getLayoutParams(); in addInScreen() [all …]
|
D | InsettableFrameLayout.java | 25 public void setFrameLayoutChildInsets(View child, Rect newInsets, Rect oldInsets) { in setFrameLayoutChildInsets() argument 26 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in setFrameLayoutChildInsets() 28 if (child instanceof Insettable) { in setFrameLayoutChildInsets() 29 ((Insettable) child).setInsets(newInsets); in setFrameLayoutChildInsets() 36 child.setLayoutParams(lp); in setFrameLayoutChildInsets() 43 final View child = getChildAt(i); in setInsets() local 44 setFrameLayoutChildInsets(child, insets, mInsets); in setInsets() 92 public void onViewAdded(View child) { in onViewAdded() argument 93 super.onViewAdded(child); in onViewAdded() 97 setFrameLayoutChildInsets(child, mInsets, new Rect()); in onViewAdded() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 334 final View child = getVirtualChildAt(i); in drawDividersVertical() local 336 if (child != null && child.getVisibility() != GONE) { in drawDividersVertical() 338 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() 339 final int top = child.getTop() - lp.topMargin - mDividerHeight; in drawDividersVertical() 346 final View child = getVirtualChildAt(count - 1); in drawDividersVertical() local 348 if (child == null) { in drawDividersVertical() 351 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() 352 bottom = child.getBottom() + lp.bottomMargin; in drawDividersVertical() 362 final View child = getVirtualChildAt(i); in drawDividersHorizontal() local 364 if (child != null && child.getVisibility() != GONE) { in drawDividersHorizontal() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | EvenlySpacedLayout.java | 54 View child = getChildAt(i); in onMeasure() local 55 if (child.getVisibility() == GONE) continue; in onMeasure() 56 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure() 58 width += child.getMeasuredWidth(); in onMeasure() 59 height = Math.max(height, child.getMeasuredHeight()); in onMeasure() 61 height += child.getMeasuredHeight(); in onMeasure() 62 width = Math.max(width, child.getMeasuredWidth()); in onMeasure() 75 View child = getChildAt(i); in layoutHorizontal() local 76 if (child.getVisibility() == GONE) continue; in layoutHorizontal() 77 usedWidth += child.getMeasuredWidth(); in layoutHorizontal() [all …]
|
/packages/providers/MediaProvider/jni/ |
D | node_test.cpp | 61 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F() local 65 ASSERT_EQ(child.get(), parent->LookupChildByName("subdir", false /* acquire */)); in TEST_F() 66 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F() 89 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F() local 91 ASSERT_EQ(child.get(), parent->LookupChildByName("subdir", false /* acquire */)); in TEST_F() 93 child->Rename("subdir_new", parent.get()); in TEST_F() 97 ASSERT_EQ(child.get(), parent->LookupChildByName("subdir_new", false /* acquire */)); in TEST_F() 99 ASSERT_EQ("/path/subdir_new", child->BuildPath()); in TEST_F() 100 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F() 107 unique_node_ptr child = CreateNode(parent1.get(), "subdir"); in TEST_F() local [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/ |
D | SnackbarSlidingBehavior.kt | 39 child: View, in layoutDependsOn() 47 child: View, in onDependentViewChanged() 50 updateTranslationY(parent, child) in onDependentViewChanged() 54 override fun onDependentViewRemoved(parent: CoordinatorLayout, child: View, dependency: View) { in onDependentViewRemoved() 55 updateTranslationY(parent, child) in onDependentViewRemoved() 60 child: View, in onLayoutChild() 63 updateTranslationY(parent, child) in onLayoutChild() 67 private fun updateTranslationY(parent: CoordinatorLayout, child: View) { in updateTranslationY() 69 for (dependency in parent.getDependencies(child)) { in updateTranslationY() 70 translationY = min(translationY, dependency.y - child.bottom) in updateTranslationY() [all …]
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | SeekBarRotator.java | 52 final View child = getChildAt(0); in onMeasure() local 54 if (child.getVisibility() != GONE) { in onMeasure() 56 measureChild(child, heightMeasureSpec, widthMeasureSpec); in onMeasure() 58 child.getMeasuredHeightAndState(), in onMeasure() 59 child.getMeasuredWidthAndState()); in onMeasure() 69 final View child = getChildAt(0); in onLayout() local 71 if (child.getVisibility() != GONE) { in onLayout() 73 child.setPivotX(0); in onLayout() 74 child.setPivotY(0); in onLayout() 75 child.setRotation(-90); in onLayout() [all …]
|
/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | struct_parser_generator.cc | 43 for (const auto& child : node.children_) { in explore_children() local 45 s << child->struct_def_->name_ << "::IsInstance(*" << field->GetName() << "_value.get())) {"; in explore_children() 47 …s << "std::unique_ptr<" << child->struct_def_->name_ << "> " << child->packet_field_->GetName() <<… in explore_children() 48 s << child->packet_field_->GetName() << "_value.reset(new "; in explore_children() 49 s << child->struct_def_->name_ << "(*" << field->GetName() << "_value));"; in explore_children() 50 if (child->struct_def_->fields_.HasBody()) { in explore_children() 52 …s << child->struct_def_->name_ << "::Parse( " << child->packet_field_->GetName() << "_value.get(),… in explore_children() 57 …s << child->struct_def_->name_ << "::Parse( " << child->packet_field_->GetName() << "_value.get(),… in explore_children() 60 explore_children(*child, s); in explore_children() 61 s << field->GetName() << "_value = std::move(" << child->packet_field_->GetName() << "_value);"; in explore_children()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarViewController.java | 572 View child = mTaskbarView.getChildAt(i); in addRevealAnimToIsStashed() local 573 boolean isQsb = child == mTaskbarView.getQsb(); in addRevealAnimToIsStashed() 576 reveal.play(createRevealAnimForView(child, isStashed, newChildWidth, isQsb, in addRevealAnimToIsStashed() 583 float currentPosition = isQsb ? child.getX() : child.getLeft(); in addRevealAnimToIsStashed() 591 croppedTransX = -(currentPosition + child.getWidth() - newRight); in addRevealAnimToIsStashed() 602 if (child instanceof Reorderable) { in addRevealAnimToIsStashed() 603 MultiTranslateDelegate mtd = ((Reorderable) child).getTranslateDelegate(); in addRevealAnimToIsStashed() 613 reveal.play(ObjectAnimator.ofFloat(child, VIEW_TRANSLATE_X, transX) in addRevealAnimToIsStashed() 615 reveal.play(ObjectAnimator.ofFloat(child, VIEW_TRANSLATE_Y, transY)); in addRevealAnimToIsStashed() 617 child.setTranslationX(0); in addRevealAnimToIsStashed() [all …]
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | TreeTraverser.java | 104 AccessibilityNodeInfo child = node.getChild(i); in depthFirstSearch() local 105 if (child == null) { in depthFirstSearch() 108 AccessibilityNodeInfo result = depthFirstSearch(child, skipPredicate, targetPredicate); in depthFirstSearch() 109 child.recycle(); in depthFirstSearch() 127 AccessibilityNodeInfo child = node.getChild(i); in reverseDepthFirstSearch() local 128 if (child == null) { in reverseDepthFirstSearch() 132 reverseDepthFirstSearch(child, targetPredicate); in reverseDepthFirstSearch() 133 child.recycle(); in reverseDepthFirstSearch() 158 AccessibilityNodeInfo child = node.getChild(i); in depthFirstSelect() local 159 if (child == null) { in depthFirstSelect() [all …]
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ |
D | ResolverDrawerLayout.java | 611 final View child = getChildAt(i); 612 if (child.getVisibility() == View.GONE) { 615 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 617 child.offsetTopAndBottom((int) dy); 619 int top = child.getTop(); 624 child.offsetTopAndBottom(targetTop - top); 626 ignoreOffsetLimit = child.getBottom() + lp.bottomMargin; 714 final View child = parent.getChildAt(i); 715 if (isChildUnder(child, x, y)) { 716 return child; [all …]
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | InterpolatingLayout.java | 214 View child = getChildAt(i); in onMeasure() local 215 if (child.getVisibility() == View.GONE) { in onMeasure() 219 LayoutParams params = (LayoutParams) child.getLayoutParams(); in onMeasure() 226 fillChild = child; in onMeasure() 256 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); in onMeasure() 257 width += child.getMeasuredWidth(); in onMeasure() 258 height = Math.max(child.getMeasuredHeight(), height); in onMeasure() 284 View child = getChildAt(i); in onLayout() local 286 if (child.getVisibility() == View.GONE) { in onLayout() 290 LayoutParams params = (LayoutParams) child.getLayoutParams(); in onLayout() [all …]
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramRow.java | 86 public void onViewAdded(View child) { in onViewAdded() argument 87 super.onViewAdded(child); in onViewAdded() 88 ProgramItemView itemView = (ProgramItemView) child; in onViewAdded() 214 public void onChildDetachedFromWindow(View child) { in onChildDetachedFromWindow() argument 215 if (child.hasFocus()) { in onChildDetachedFromWindow() 217 TableEntry entry = ((ProgramItemView) child).getTableEntry(); in onChildDetachedFromWindow() 237 super.onChildDetachedFromWindow(child); in onChildDetachedFromWindow() 241 public void onChildAttachedToWindow(View child) { in onChildAttachedToWindow() argument 242 super.onChildAttachedToWindow(child); in onChildAttachedToWindow() 244 TableEntry entry = ((ProgramItemView) child).getTableEntry(); in onChildAttachedToWindow() [all …]
|
/packages/modules/StatsD/statsd/src/condition/ |
D | CombinationConditionTracker.cpp | 79 for (auto child : combinationCondition.predicate()) { in init() local 80 auto it = conditionIdIndexMap.find(child); in init() 83 ALOGW("Predicate %lld not found in the config", (long long)child); in init() 86 invalidConfigReason->conditionIds.push_back(child); in init() 97 invalidConfigReason->conditionIds.push_back(child); in init() 105 ALOGW("Child initialization failed %lld ", (long long)child); in init() 109 VLOG("Child initialization success %lld ", (long long)child); in init() 150 for (const int64_t child : combinationCondition.predicate()) { in onConfigUpdated() local 151 const auto& it = conditionTrackerMap.find(child); in onConfigUpdated() 154 ALOGW("Predicate %lld not found in the config", (long long)child); in onConfigUpdated() [all …]
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | CombinationAtomMatchingTracker.cpp | 72 for (const auto& child : matcher.matcher()) { in init() local 73 auto pair = matcherMap.find(child); in init() 75 ALOGW("Matcher %lld not found in the config", (long long)child); in init() 78 result.invalidConfigReason->matcherIds.push_back(child); in init() 89 result.invalidConfigReason->matcherIds.push_back(child); in init() 104 ALOGW("child matcher init failed %lld", (long long)child); in init() 126 for (const int64_t child : combinationMatcher.matcher()) { in onConfigUpdated() local 127 const auto& pair = atomMatchingTrackerMap.find(child); in onConfigUpdated() 129 ALOGW("Matcher %lld not found in the config", (long long)child); in onConfigUpdated() 133 invalidConfigReason->matcherIds.push_back(child); in onConfigUpdated() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragLayer.java | 202 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { in onRequestSendAccessibilityEvent() argument 203 if (isInAccessibleDrag() && child instanceof DropTargetBar) { in onRequestSendAccessibilityEvent() 206 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent() 240 public void animateViewIntoPosition(DragView dragView, final View child, View anchorView) { in animateViewIntoPosition() argument 241 animateViewIntoPosition(dragView, child, -1, anchorView); in animateViewIntoPosition() 244 public void animateViewIntoPosition(DragView dragView, final View child, int duration, in animateViewIntoPosition() argument 247 ShortcutAndWidgetContainer parentChildren = (ShortcutAndWidgetContainer) child.getParent(); in animateViewIntoPosition() 248 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in animateViewIntoPosition() 249 parentChildren.measureChild(child); in animateViewIntoPosition() 250 parentChildren.layoutChild(child); in animateViewIntoPosition() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/ |
D | NearestTouchFrame.java | 107 View child = mAttachedChildren.get(i); 108 if (!child.isAttachedToWindow()) { 111 Rect childRegion = getChildsBounds(child); 121 mTouchableRegions.put(child, childRegion); 149 mTouchableRegions.put(child, childRegion); 157 private Rect getChildsBounds(View child) { 158 child.getLocationInWindow(mTmpInt); 161 int right = left + child.getWidth(); 162 int bottom = top + child.getHeight(); 169 View child = group.getChildAt(i); [all …]
|
/packages/modules/Bluetooth/system/rust/src/utils/ |
D | packet.rs | 9 pub fn build_att_view_or_crash(child: impl Into<AttChild>) -> OwnedAttView { in build_att_view_or_crash() 10 let child = child.into(); in build_att_view_or_crash() localVariable 11 let opcode = HACK_child_to_opcode(&child); in build_att_view_or_crash() 12 let serialized = AttBuilder { _child_: child, opcode }.to_vec().unwrap(); in build_att_view_or_crash() 25 pub fn HACK_child_to_opcode(child: &AttChild) -> AttOpcode { in HACK_child_to_opcode() 26 match child { in HACK_child_to_opcode() 50 pub fn build_att_data(child: impl Into<AttAttributeDataChild>) -> AttAttributeDataBuilder { in build_att_data() 51 AttAttributeDataBuilder { _child_: child.into() } in build_att_data()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 200 void recycleView(View child, int type) { in recycleView() argument 202 mAdapter.viewRemoved(child); in recycleView() 206 mViews[type].add(child); in recycleView() 559 View child = getChildAt(i); 560 removeViewInLayout(child); 561 recycleExpandableView(child); 810 View child = getChildAt(i); 811 mItemTransform.transform(child, getScrollCenter(child) 813 : getCenterInOffAxis(child) - mScroll.secondAxis().getScrollCenter()); 900 public void requestChildFocus(View child, View focused) { [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 94 View child = mView.getChildAt(x, y); in intersectsValidDropTarget() local 95 if (child == null || child == dragInfo.item) { in intersectsValidDropTarget() 100 ItemInfo info = (ItemInfo) child.getTag(); in intersectsValidDropTarget() 116 View child = mView.getChildAt(x, y); in getConfirmationForIconDrop() local 117 if (child == null || child == dragInfo.item) { in getConfirmationForIconDrop() 120 ItemInfo info = (ItemInfo) child.getTag(); in getConfirmationForIconDrop() 136 View child = mView.getChildAt(x, y); in getLocationDescriptionForIconDrop() local 137 if (child == null || child == dragInfo.item) { in getLocationDescriptionForIconDrop() 140 return getDescriptionForDropOver(child, mContext); in getLocationDescriptionForIconDrop()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ScrollableLayoutManager.java | 66 public void layoutDecorated(@NonNull View child, int left, int top, int right, int bottom) { in layoutDecorated() argument 67 super.layoutDecorated(child, left, top, right, bottom); in layoutDecorated() 68 updateCachedSize(child); in layoutDecorated() 72 public void layoutDecoratedWithMargins(@NonNull View child, int left, int top, int right, in layoutDecoratedWithMargins() argument 74 super.layoutDecoratedWithMargins(child, left, top, right, bottom); in layoutDecoratedWithMargins() 75 updateCachedSize(child); in layoutDecoratedWithMargins() 78 private void updateCachedSize(@NonNull View child) { in updateCachedSize() argument 79 int viewType = mRv.getChildViewHolder(child).getItemViewType(); in updateCachedSize() 80 int size = child.getMeasuredHeight(); in updateCachedSize() 101 View child = getChildAt(0); in computeVerticalScrollOffset() local [all …]
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleDayPickerFragment.kt | 208 val child = mListView?.getChildAt(0) as? SimpleWeekView in onActivityCreated() constant 209 if (child == null) { in onActivityCreated() 212 val julianDay: Int = child.getFirstJulianDay() in onActivityCreated() 380 var child: View? in goTo() variable 385 child = mListView?.getChildAt(i++) in goTo() 386 if (child == null) { in goTo() 389 top = child.getTop() in goTo() 397 firstPosition = if (child != null) { in goTo() 398 mListView!!.getPositionForView(child) in goTo() 449 val child = view.getChildAt(0) as? SimpleWeekView in onScroll() constant [all …]
|