/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/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 333 final View child = getVirtualChildAt(i); in drawDividersVertical() local 335 if (child != null && child.getVisibility() != GONE) { in drawDividersVertical() 337 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() 338 final int top = child.getTop() - lp.topMargin - mDividerHeight; in drawDividersVertical() 345 final View child = getVirtualChildAt(count - 1); in drawDividersVertical() local 347 if (child == null) { in drawDividersVertical() 350 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() 351 bottom = child.getBottom() + lp.bottomMargin; in drawDividersVertical() 361 final View child = getVirtualChildAt(i); in drawDividersHorizontal() local 363 if (child != null && child.getVisibility() != GONE) { in drawDividersHorizontal() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 78 View child = getChildAt(i); in getChildAt() local 79 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt() 83 return child; in getChildAt() 98 View child = getChildAt(i); in onMeasure() local 99 if (child.getVisibility() != GONE) { in onMeasure() 100 measureChild(child); in onMeasure() 105 public void setupLp(View child) { in setupLp() argument 106 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in setupLp() 107 if (child instanceof LauncherAppWidgetHostView) { in setupLp() 109 ((LauncherAppWidgetHostView) child).getWidgetInset(profile, mTempRect); in setupLp() [all …]
|
D | WorkspaceLayoutManager.java | 40 default void addInScreenFromBind(View child, ItemInfo info) { in addInScreenFromBind() argument 49 addInScreen(child, info.container, info.screenId, x, y, info.spanX, info.spanY); in addInScreenFromBind() 56 default void addInScreen(View child, ItemInfo info) { in addInScreen() argument 57 addInScreen(child, info.container, info.screenId, info.cellX, info.cellY, in addInScreen() 72 default void addInScreen(View child, int container, int screenId, int x, int y, in addInScreen() argument 93 if (child instanceof FolderIcon) { in addInScreen() 94 ((FolderIcon) child).setTextVisible(false); in addInScreen() 98 if (child instanceof FolderIcon) { in addInScreen() 99 ((FolderIcon) child).setTextVisible(true); in addInScreen() 104 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 …]
|
D | CellLayout.java | 620 View child = getChildAt(x, y); in setFolderLeaveBehindCell() local 622 child.getMeasuredWidth(), child.getPaddingTop()); in setFolderLeaveBehindCell() 659 final View child = getChildAt(i); in cancelLongPress() local 660 child.cancelLongPress(); in cancelLongPress() 680 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, in addViewToCellLayout() argument 685 if (child instanceof BubbleTextView) { in addViewToCellLayout() 686 BubbleTextView bubbleChild = (BubbleTextView) child; in addViewToCellLayout() 690 child.setScaleX(mChildScale); in addViewToCellLayout() 691 child.setScaleY(mChildScale); in addViewToCellLayout() 701 child.setId(childId); in addViewToCellLayout() [all …]
|
/packages/providers/MediaProvider/jni/ |
D | node_test.cpp | 62 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F() local 66 ASSERT_EQ(child.get(), parent->LookupChildByName("subdir", false /* acquire */)); in TEST_F() 67 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F() 90 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F() local 92 ASSERT_EQ(child.get(), parent->LookupChildByName("subdir", false /* acquire */)); in TEST_F() 94 child->Rename("subdir_new", parent.get()); in TEST_F() 98 ASSERT_EQ(child.get(), parent->LookupChildByName("subdir_new", false /* acquire */)); in TEST_F() 100 ASSERT_EQ("/path/subdir_new", child->BuildPath()); in TEST_F() 101 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F() 108 unique_node_ptr child = CreateNode(parent1.get(), "subdir"); in TEST_F() local [all …]
|
/packages/modules/StatsD/statsd/tests/ |
D | FieldValue_test.cpp | 67 FieldMatcher* child = matcher1.add_child(); in TEST() local 68 child->set_field(1); in TEST() 69 child->set_position(Position::ANY); in TEST() 71 child = child->add_child(); in TEST() 72 child->set_field(1); in TEST() 88 FieldMatcher* child = matcher1.add_child(); in TEST() local 89 child->set_field(1); in TEST() 90 child->set_position(Position::ALL); in TEST() 92 child = child->add_child(); in TEST() 93 child->set_field(1); in TEST() [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/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/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/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/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleDayPickerFragment.java | 230 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); in onActivityCreated() local 231 if (child == null) { in onActivityCreated() 234 int julianDay = child.getFirstJulianDay(); in onActivityCreated() 403 View child; in goTo() local 408 child = mListView.getChildAt(i++); in goTo() 409 if (child == null) { in goTo() 412 top = child.getTop(); in goTo() 420 if (child != null) { in goTo() 421 firstPosition = mListView.getPositionForView(child); in goTo() 471 SimpleWeekView child = (SimpleWeekView)view.getChildAt(0); in onScroll() local [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragLayer.java | 189 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { in onRequestSendAccessibilityEvent() argument 190 if (isInAccessibleDrag() && child instanceof DropTargetBar) { in onRequestSendAccessibilityEvent() 193 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent() 232 public void animateViewIntoPosition(DragView dragView, final View child, View anchorView) { in animateViewIntoPosition() argument 233 animateViewIntoPosition(dragView, child, -1, anchorView); in animateViewIntoPosition() 236 public void animateViewIntoPosition(DragView dragView, final View child, int duration, in animateViewIntoPosition() argument 239 ShortcutAndWidgetContainer parentChildren = (ShortcutAndWidgetContainer) child.getParent(); in animateViewIntoPosition() 240 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in animateViewIntoPosition() 241 parentChildren.measureChild(child); in animateViewIntoPosition() 242 parentChildren.layoutChild(child); in animateViewIntoPosition() [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/apps/Contacts/src/com/android/contacts/list/ |
D | CustomContactListFilterActivity.java | 503 final GroupDelta child = oppositeChildren.next(); 504 setShouldSync(child, shouldSync, false); 509 public void setShouldSync(GroupDelta child, boolean shouldSync) { 510 setShouldSync(child, shouldSync, true); 517 public void setShouldSync(GroupDelta child, boolean shouldSync, boolean attemptRemove) { 518 child.putShouldSync(shouldSync); 521 mUnsyncedGroups.remove(child); 523 mSyncedGroups.add(child); 527 mSyncedGroups.remove(child); 529 mUnsyncedGroups.add(child); [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 93 View child = mView.getChildAt(x, y); in intersectsValidDropTarget() local 94 if (child == null || child == dragInfo.item) { in intersectsValidDropTarget() 99 ItemInfo info = (ItemInfo) child.getTag(); in intersectsValidDropTarget() 115 View child = mView.getChildAt(x, y); in getConfirmationForIconDrop() local 116 if (child == null || child == dragInfo.item) { in getConfirmationForIconDrop() 119 ItemInfo info = (ItemInfo) child.getTag(); in getConfirmationForIconDrop() 135 View child = mView.getChildAt(x, y); in getLocationDescriptionForIconDrop() local 136 if (child == null || child == dragInfo.item) { in getLocationDescriptionForIconDrop() 139 return getDescriptionForDropOver(child, mContext); in getLocationDescriptionForIconDrop()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactDelta.java | 267 for (ValuesDelta child : mimeEntries) { in getMimeEntriesCount() 269 if (onlyVisible && !child.isVisible()) continue; in getMimeEntriesCount() 337 for (ValuesDelta child : mimeEntries) { in equals() 339 if (!other.containsEntry(child)) return false; in equals() 351 for (ValuesDelta child : mimeEntries) { in containsEntry() 353 if (child.equals(entry)) return true; in containsEntry() 365 for (ValuesDelta child : mimeEntries) { in markDeleted() 366 child.markDeleted(); in markDeleted() 381 for (ValuesDelta child : mimeEntries) { in toString() 383 child.toString(builder); in toString() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsStore.java | 145 updateAllIcons((child) -> { in updateNotificationDots() argument 146 if (child.getTag() instanceof ItemInfo) { in updateNotificationDots() 147 ItemInfo info = (ItemInfo) child.getTag(); in updateNotificationDots() 149 child.applyDotState(info, true /* animate */); in updateNotificationDots() 165 updateAllIcons((child) -> { in updateProgressBar() argument 166 if (child.getTag() == app) { in updateProgressBar() 168 child.applyFromApplicationInfo(app); in updateProgressBar() 170 child.applyProgressLevel(); in updateProgressBar() 182 View child = parent.getChildAt(j); in updateAllIcons() local 183 if (child instanceof BubbleTextView) { in updateAllIcons() [all …]
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | CombinationAtomMatchingTracker.cpp | 63 for (const auto& child : matcher.matcher()) { in init() local 64 auto pair = matcherMap.find(child); in init() 66 ALOGW("Matcher %lld not found in the config", (long long)child); in init() 80 ALOGW("child matcher init failed %lld", (long long)child); in init() 102 for (const int64_t child : combinationMatcher.matcher()) { in onConfigUpdated() local 103 const auto& pair = atomMatchingTrackerMap.find(child); in onConfigUpdated() 105 ALOGW("Matcher %lld not found in the config", (long long)child); in onConfigUpdated() 129 const sp<AtomMatchingTracker>& child = allAtomMatchingTrackers[childIndex]; in onLogEvent() local 130 child->onLogEvent(event, allAtomMatchingTrackers, matcherResults); in onLogEvent()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentsAccess.java | 65 final DocumentInfo child = new DocumentInfo(); in createDocument() local 66 child.authority = parentDoc.authority; in createDocument() 67 child.mimeType = mimeType; in createDocument() 68 child.displayName = displayName; in createDocument() 69 child.documentId = displayName; in createDocument() 70 child.derivedUri = DocumentsContract.buildDocumentUri(child.authority, displayName); in createDocument() 72 mLastCreatedDoc = Pair.create(parentDoc, child); in createDocument() 74 return child.derivedUri; in createDocument()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSettingsAdapter.java | 119 final BluetoothMapAccountItem child = getChild(groupPosition, childPosition); in getChildView() local 126 boolean oldIsChecked = child.mIsChecked; // needed to prevent updates on UI redraw in getChildView() 127 child.mIsChecked = isChecked; in getChildView() 130 int childIndex = childList.indexOf(child); in getChildView() 140 child.getName(), parentGroup.getName()); in getChildView() 150 child.mIsChecked = false; in getChildView() 155 child.getName()))) { in getChildView() 156 BluetoothMapSettingsDataHolder.sCheckedChilds.put(child.getName(), in getChildView() 167 BluetoothMapSettingsDataHolder.sCheckedChilds.remove(child.getName()); in getChildView() 170 BluetoothMapSettingsDataHolder.sCheckedChilds.remove(child.getName()); in getChildView() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | BaseDragLayer.java | 209 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { in onRequestSendAccessibilityEvent() argument 214 if (child == topView) { in onRequestSendAccessibilityEvent() 215 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent() 221 return super.onRequestSendAccessibilityEvent(child, event); in onRequestSendAccessibilityEvent() 236 protected void addAccessibleChildToList(View child, ArrayList<View> outList) { in addAccessibleChildToList() argument 237 if (child.isImportantForAccessibility()) { in addAccessibleChildToList() 238 outList.add(child); in addAccessibleChildToList() 240 child.addChildrenForAccessibility(outList); in addAccessibleChildToList() 245 public void onViewRemoved(View child) { in onViewRemoved() argument 246 super.onViewRemoved(child); in onViewRemoved() [all …]
|