/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContainer.java | 101 protected final WindowList<E> mChildren = new WindowList<E>(); field in WindowContainer 155 return mChildren.size(); in getChildCount() 160 return mChildren.get(index); in getChildAt() 226 final int count = mChildren.size(); in addChild() 228 if (comparator.compare(child, mChildren.get(i)) < 0) { in addChild() 236 mChildren.add(child); in addChild() 238 mChildren.add(positionToAdd, child); in addChild() 256 || (index > mChildren.size() && index != POSITION_TOP)) { in addChild() 258 + ", children number=" + mChildren.size()); in addChild() 262 index = mChildren.size(); in addChild() [all …]
|
D | WallpaperWindowToken.java | 52 for (int j = mChildren.size() - 1; j >= 0; j--) { in hideWallpaperToken() 53 final WindowState wallpaper = mChildren.get(j); in hideWallpaperToken() 61 for (int wallpaperNdx = mChildren.size() - 1; wallpaperNdx >= 0; wallpaperNdx--) { in sendWindowWallpaperCommand() 62 final WindowState wallpaper = mChildren.get(wallpaperNdx); in sendWindowWallpaperCommand() 74 for (int wallpaperNdx = mChildren.size() - 1; wallpaperNdx >= 0; wallpaperNdx--) { in updateWallpaperOffset() 75 final WindowState wallpaper = mChildren.get(wallpaperNdx); in updateWallpaperOffset() 96 for (int wallpaperNdx = mChildren.size() - 1; wallpaperNdx >= 0; wallpaperNdx--) { in updateWallpaperVisibility() 97 final WindowState wallpaper = mChildren.get(wallpaperNdx); in updateWallpaperVisibility() 110 for (int ndx = mChildren.size() - 1; ndx >= 0; ndx--) { in startAnimation() 111 final WindowState windowState = mChildren.get(ndx); in startAnimation() [all …]
|
D | RootWindowContainer.java | 171 for (int i = mChildren.size() - 1; i >= 0; --i) { in updateFocusedWindowLocked() 172 final DisplayContent dc = mChildren.get(i); in updateFocusedWindowLocked() 215 for (int i = mChildren.size() - 1; i >= 0; --i) { in getDisplayContent() 216 final DisplayContent current = mChildren.get(i); in getDisplayContent() 260 final int numDisplays = mChildren.size(); in onSettingsRetrieved() 262 final DisplayContent displayContent = mChildren.get(displayNdx); in onSettingsRetrieved() 285 final int numDisplays = mChildren.size(); in isLayoutNeeded() 287 final DisplayContent displayContent = mChildren.get(displayNdx); in isLayoutNeeded() 336 for (int i = mChildren.size() - 1; i >= 0; --i) { in getAppWindowToken() 337 final DisplayContent dc = mChildren.get(i); in getAppWindowToken() [all …]
|
D | Task.java | 147 final int size = mChildren.size(); in getAdjustedAddPosition() 154 if (mChildren.get(pos).removed) { in getAdjustedAddPosition() 177 for (int i = mChildren.size() - 1; i >= 0; i--) { in hasWindowsAlive() 178 if (mChildren.get(i).hasWindowsAlive()) { in hasWindowsAlive() 273 if (!mChildren.contains(token)) { in removeChild() 280 if (mChildren.isEmpty()) { in removeChild() 289 for (int appTokenNdx = 0; appTokenNdx < mChildren.size(); appTokenNdx++) { in setSendingToBottom() 290 mChildren.get(appTokenNdx).sendingToBottom = toBottom; in setSendingToBottom() 463 for (int i = mChildren.size() - 1; i >= 0; i--) { in getMaxVisibleBounds() 464 final AppWindowToken token = mChildren.get(i); in getMaxVisibleBounds() [all …]
|
D | WindowToken.java | 136 for (int i = mChildren.size() - 1; i >= 0; --i) { in removeAllWindowsIfPossible() 137 final WindowState win = mChildren.get(i); in removeAllWindowsIfPossible() 145 if (mChildren.size() == 0) { in setExiting() 157 final int count = mChildren.size(); in setExiting() 162 final WindowState win = mChildren.get(i); in setExiting() 207 if (!mChildren.contains(win)) { in addWindow() 217 return mChildren.isEmpty(); in isEmpty() 221 for (int i = mChildren.size() - 1; i >= 0; i--) { in getReplacingWindow() 222 final WindowState win = mChildren.get(i); in getReplacingWindow() 233 for (int j = mChildren.size() - 1; j >= 0; j--) { in windowsCanBeWallpaperTarget() [all …]
|
D | AppWindowToken.java | 403 final int count = mChildren.size(); in updateReportedVisibilityLocked() 408 final WindowState win = mChildren.get(i); in updateReportedVisibilityLocked() 649 final int windowsCount = mChildren.size(); in commitVisibility() 651 final WindowState win = mChildren.get(i); in commitVisibility() 700 for (int i = mChildren.size() - 1; i >= 0 && !delayed; i--) { in commitVisibility() 701 if ((mChildren.get(i)).isSelfOrChildAnimating()) { in commitVisibility() 750 for (int i = mChildren.size() - 1; i >= 0; i--) { in commitVisibility() 751 mChildren.get(i).mWinAnimator.hide("immediately hidden"); in commitVisibility() 785 for (int i = mChildren.size() - 1; i >= 0; i--) { in getTopFullscreenWindow() 786 final WindowState win = mChildren.get(i); in getTopFullscreenWindow() [all …]
|
D | TaskStack.java | 177 if (!isActivityTypeHome() || mChildren.isEmpty()) { in findHomeTask() 180 return mChildren.get(mChildren.size() - 1); in findHomeTask() 184 for (int taskNdx = mChildren.size() - 1; taskNdx >= 0; --taskNdx) { in prepareFreezingTaskBounds() 185 final Task task = mChildren.get(taskNdx); in prepareFreezingTaskBounds() 227 for (int taskNdx = mChildren.size() - 1; taskNdx >= 0; --taskNdx) { in alignTasksToAdjustedBounds() 228 final Task task = mChildren.get(taskNdx); in alignTasksToAdjustedBounds() 617 final int toTop = targetPosition == mChildren.size() - 1 ? 1 : 0; in positionChildAt() 643 final int stackSize = mChildren.size(); in findPositionForTask() 672 final Task tmpTask = mChildren.get(minPosition); in computeMinPosition() 691 final Task tmpTask = mChildren.get(maxPosition); in computeMaxPosition() [all …]
|
D | WindowState.java | 1713 for (int i = mChildren.size() - 1; i >= 0; --i) { in onAppVisibilityChanged() 1714 final WindowState c = mChildren.get(i); in onAppVisibilityChanged() 1767 for (int i = mChildren.size() - 1; i >= 0; --i) { in onSetAppExiting() 1768 final WindowState c = mChildren.get(i); in onSetAppExiting() 1790 for (int i = mChildren.size() - 1; i >= 0; --i) { in onUnfreezeBounds() 1791 final WindowState c = mChildren.get(i); in onUnfreezeBounds() 1903 for (int i = mChildren.size() - 1; i >= 0; --i) { in onWindowReplacementTimeout() 1904 final WindowState c = mChildren.get(i); in onWindowReplacementTimeout() 2228 for (int i = mChildren.size() - 1; i >= 0; --i) { in removeReplacedWindowIfNeeded() 2229 final WindowState c = mChildren.get(i); in removeReplacedWindowIfNeeded() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskStackContainersTests.java | 74 final int stack1Pos = taskStackContainer.mChildren.indexOf(stack1); in testStackPositionChildAt() 75 final int stack2Pos = taskStackContainer.mChildren.indexOf(stack2); in testStackPositionChildAt() 76 final int pinnedStackPos = taskStackContainer.mChildren.indexOf(mPinnedStack); in testStackPositionChildAt() 81 assertEquals(taskStackContainer.mChildren.get(stack1Pos), stack1); in testStackPositionChildAt() 82 assertEquals(taskStackContainer.mChildren.get(stack2Pos), stack2); in testStackPositionChildAt() 83 assertEquals(taskStackContainer.mChildren.get(pinnedStackPos), mPinnedStack); in testStackPositionChildAt() 86 assertEquals(taskStackContainer.mChildren.get(stack1Pos), stack1); in testStackPositionChildAt() 87 assertEquals(taskStackContainer.mChildren.get(stack2Pos), stack2); in testStackPositionChildAt() 88 assertEquals(taskStackContainer.mChildren.get(pinnedStackPos), mPinnedStack); in testStackPositionChildAt() 98 final int stackPos = taskStackContainer.mChildren.indexOf(stack1); in testStackPositionBelowPinnedStack() [all …]
|
D | WindowTestUtils.java | 80 return mChildren.size(); in getWindowsCount() 84 return mChildren.contains(w); in hasWindow() 88 return mChildren.peekFirst(); in getFirstChild() 92 return mChildren.peekLast(); in getLastChild() 122 return mChildren.size(); in getWindowsCount() 126 return mChildren.contains(w); in hasWindow() 149 return getParent().mChildren.indexOf(this); in positionInParent()
|
D | TaskStackTests.java | 56 assertEquals(stack.mChildren.get(0), task2); in testStackPositionChildAt() 57 assertEquals(stack.mChildren.get(1), task1); in testStackPositionChildAt() 61 assertEquals(stack.mChildren.get(0), task2); in testStackPositionChildAt() 62 assertEquals(stack.mChildren.get(1), task1); in testStackPositionChildAt() 169 final int stack1PositionInParent = stack1.getParent().mChildren.indexOf(stack1); in testReparent() 170 final int stack2PositionInParent = stack1.getParent().mChildren.indexOf(stack2); in testReparent()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/ |
D | XMLNode.java | 33 private final List<XMLNode> mChildren; field in XMLNode 41 mChildren = new ArrayList<>(); in XMLNode() 61 mChildren.add(child); in addChild() 87 return mChildren; in getChildren() 102 mChildren.equals(that.mChildren); in equals() 107 return Objects.hash(mTag, mText, mChildren); in hashCode()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | LayerDrawable.java | 150 mLayerState.mChildren = r; in LayerDrawable() 192 final ChildDrawable[] array = state.mChildren; in inflate() 220 final ChildDrawable[] array = state.mChildren; in applyTheme() 419 final ChildDrawable[] layers = mLayerState.mChildren; in isProjected() 440 final int N = st.mChildren != null ? st.mChildren.length : 0; in addLayer() 445 System.arraycopy(st.mChildren, 0, nu, 0, i); in addLayer() 448 st.mChildren = nu; in addLayer() 451 st.mChildren[i] = layer; in addLayer() 519 final ChildDrawable[] layers = mLayerState.mChildren; in findDrawableByLayerId() 540 mLayerState.mChildren[index].mId = id; in setId() [all …]
|
D | AdaptiveIconDrawable.java | 206 mLayerState.mChildren[index] = layer; in addLayer() 227 final ChildDrawable[] array = state.mChildren; in inflate() 228 for (int i = 0; i < state.mChildren.length; i++) { in inflate() 273 return mLayerState.mChildren[FOREGROUND_ID].mDrawable; in getForeground() 284 return mLayerState.mChildren[BACKGROUND_ID].mDrawable; in getBackground() 316 final ChildDrawable r = mLayerState.mChildren[i]; in updateLayerBoundsInternal() 361 if (mLayerState.mChildren[i] == null) { in draw() 364 final Drawable dr = mLayerState.mChildren[i].mDrawable; in draw() 426 final ChildDrawable[] array = state.mChildren; in applyTheme() 550 final ChildDrawable[] layers = mLayerState.mChildren; in isProjected() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | AdapterItem.java | 33 private List<AdapterItem> mChildren; field in AdapterItem 44 if (mChildren == null) { in addChild() 45 mChildren = new ArrayList<AdapterItem>(); in addChild() 48 mChildren.add(child); in addChild() 52 if (mChildren != null) { in getChildren() 53 return mChildren; in getChildren()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationChildrenContainer.java | 68 private final List<ExpandableNotificationRow> mChildren = new ArrayList<>(); field in NotificationChildrenContainer 156 int childCount = Math.min(mChildren.size(), NUMBER_OF_CHILDREN_WHEN_CHILDREN_EXPANDED); in onLayout() 158 View child = mChildren.get(i); in onLayout() 198 int childCount = Math.min(mChildren.size(), NUMBER_OF_CHILDREN_WHEN_CHILDREN_EXPANDED); in onMeasure() 202 ExpandableNotificationRow child = mChildren.get(i); in onMeasure() 251 int newIndex = childIndex < 0 ? mChildren.size() : childIndex; in addNotification() 252 mChildren.add(newIndex, row); in addNotification() 271 int childIndex = mChildren.indexOf(row); 272 mChildren.remove(row); 297 return mChildren.size(); [all …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | NotificationShadeActivity.java | 42 private ArrayList<View> mChildren = new ArrayList<>(); field in NotificationShadeActivity.FakeNotificationStackView 77 boolean even = mChildren.size() % 2 == 0; in generateNextView() 90 mChildren.add(view); in generateNextView() 103 return (int) mChildren.get(mChildrenCount - 1).getTag(); in lastChildHeight() 110 for (View v: mChildren) { in updateState() 120 removeView(mChildren.get(mChildrenCount - 1)); in updateState() 125 if (mChildrenCount == mChildren.size()) { in updateState() 129 View child = mChildren.get(mChildrenCount - 1); in updateState() 143 View lastChild = mChildren.get(mChildrenCount - 1); in updateState()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureSession.java | 213 private ArrayList<ContentCaptureSession> mChildren; field in ContentCaptureSession 268 if (mChildren == null) { in createContentCaptureSession() 269 mChildren = new ArrayList<>(INITIAL_CHILDREN_CAPACITY); in createContentCaptureSession() 271 mChildren.add(child); in createContentCaptureSession() 326 if (mChildren != null) { in destroy() 327 final int numberChildren = mChildren.size(); in destroy() 330 final ContentCaptureSession child = mChildren.get(i); in destroy() 530 if (mChildren != null && !mChildren.isEmpty()) { in dump() 532 final int numberChildren = mChildren.size(); in dump() 535 final ContentCaptureSession child = mChildren.get(i); in dump()
|
/frameworks/base/cmds/statsd/src/condition/ |
D | CombinationConditionTracker.cpp | 93 mChildren.push_back(childIndex); in init() 114 for (const int childIndex : mChildren) { in isConditionMet() 125 evaluateCombinationCondition(mChildren, mLogicalOperation, conditionCache); in isConditionMet() 138 for (const int childIndex : mChildren) { in evaluateCondition() 148 evaluateCombinationCondition(mChildren, mLogicalOperation, nonSlicedConditionCache); in evaluateCondition() 162 for (const int childIndex : mChildren) { in evaluateCondition() 183 for (const int childIndex : mChildren) { in getMetConditionDimension() 188 evaluateCombinationCondition(mChildren, mLogicalOperation, conditionCache); in getMetConditionDimension()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Node.java | 48 private final List<Asn1Node> mChildren; field in Asn1Node.Builder 56 mChildren = new ArrayList<>(); in Builder() 66 mChildren.add(child); in addChild() 77 mChildren.add(child.build()); in addChild() 91 mChildren.add(subDecoder.nextNode()); in addChildren() 195 return new Asn1Node(mTag, mChildren); in build() 203 private final List<Asn1Node> mChildren; field in Asn1Node 251 mChildren = mConstructed ? new ArrayList<Asn1Node>() : EMPTY_NODE_LIST; in Asn1Node() 262 mChildren = children; in Asn1Node() 376 mChildren.add(subDecoder.nextNode()); in getChildren() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ReorderBarrierDrawables.cpp | 33 if (mChildren.empty()) { in onDraw() 37 mChildren.reserve(mEndChildIndex - mBeginChildIndex + 1); in onDraw() 39 mChildren.push_back(const_cast<RenderNodeDrawable*>(&mDisplayList->mChildNodes[i])); in onDraw() 42 std::stable_sort(mChildren.begin(), mChildren.end(), in onDraw() 50 const size_t endIndex = mChildren.size(); in onDraw() 52 RenderNodeDrawable* childNode = mChildren[drawIndex]; in onDraw() 76 auto& zChildren = mStartBarrier->mChildren; in onDraw()
|
/frameworks/base/core/java/android/content/ |
D | UriMatcher.java | 134 mChildren = new ArrayList<UriMatcher>(); in UriMatcher() 142 mChildren = new ArrayList<UriMatcher>(); in UriMatcher() 181 ArrayList<UriMatcher> children = node.mChildren; in addURI() 195 node.mChildren.add(child); in addURI() 234 ArrayList<UriMatcher> list = node.mChildren; 284 private ArrayList<UriMatcher> mChildren;
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GraphicBufferMetrics.java | 110 public final List<RawEvent> mChildren; field in GraphicBufferMetrics.RawEvent 117 mChildren = new ArrayList<>(); in RawEvent() 132 for (RawEvent child : mChildren) { in findEvents() 146 for (RawEvent e : mChildren) { in dump() 296 parent.mChildren.add(current); in buildEventModel() 307 if (!current.mChildren.isEmpty()) { in buildEventModel() 308 current.mChildren.remove(current.mChildren.size() -1); in buildEventModel() 338 root.mChildren.remove(root.mChildren.size() - 1); in buildEventModel() 484 if (event.mChildren.isEmpty()) { in toBufferEvents() 487 final String bufferName = event.mChildren.get(0).mName; in toBufferEvents()
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | CombinationLogMatchingTracker.cpp | 81 mChildren.push_back(childIndex); in init() 107 for (const int childIndex : mChildren) { in onLogEvent() 114 bool matched = combinationMatch(mChildren, mLogicalOperation, matcherResults); in onLogEvent()
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 548 private View[] mChildren; field in ViewGroup 698 mChildren = new View[ARRAY_INITIAL_CAPACITY]; in initViewGroup() 876 View sibling = mChildren[i]; in clearDefaultFocus() 1264 final View[] children = mChildren; in hasFocusableChild() 1306 View child = mChildren[i]; in addFocusables() 1356 final View child = mChildren[i]; in addKeyboardNavigationClusters() 1422 final View[] children = mChildren; in findViewsWithText() 1445 final View[] children = mChildren; in findViewByAccessibilityIdTraversal() 1466 final View[] children = mChildren; in findViewByAutofillIdTraversal() 1482 final View[] children = mChildren; in dispatchWindowFocusChanged() [all …]
|