Home
last modified time | relevance | path

Searched refs:mChildren (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java180 protected final WindowList<E> mChildren = new WindowList<E>(); field in WindowContainer
409 for (int i = mChildren.size() - 1; i >= 0; --i) { in updateAboveInsetsState()
410 mChildren.get(i).updateAboveInsetsState(aboveInsetsState, in updateAboveInsetsState()
517 return mChildren.size(); in getChildCount()
522 return mChildren.get(index); in getChildAt()
679 for (int i = 0; i < mChildren.size(); i++) { in migrateToNewSurfaceControl()
680 SurfaceControl sc = mChildren.get(i).getSurfaceControl(); in migrateToNewSurfaceControl()
714 final int count = mChildren.size(); in addChild()
716 if (comparator.compare(child, mChildren.get(i)) < 0) { in addChild()
724 mChildren.add(child); in addChild()
[all …]
DWallpaperWindowToken.java72 for (int wallpaperNdx = mChildren.size() - 1; wallpaperNdx >= 0; wallpaperNdx--) { in sendWindowWallpaperCommand()
73 final WindowState wallpaper = mChildren.get(wallpaperNdx); in sendWindowWallpaperCommand()
85 for (int wallpaperNdx = mChildren.size() - 1; wallpaperNdx >= 0; wallpaperNdx--) { in updateWallpaperOffset()
86 final WindowState wallpaper = mChildren.get(wallpaperNdx); in updateWallpaperOffset()
98 for (int ndx = mChildren.size() - 1; ndx >= 0; ndx--) { in startAnimation()
99 final WindowState windowState = mChildren.get(ndx); in startAnimation()
158 for (int i = mChildren.size() - 1; i >= 0; i--) { in setVisible()
159 final WindowState wallpaper = mChildren.get(i); in setVisible()
203 for (int j = mChildren.size() - 1; j >= 0; --j) { in hasVisibleNotDrawnWallpaper()
204 final WindowState wallpaper = mChildren.get(j); in hasVisibleNotDrawnWallpaper()
DTaskDisplayArea.java379 final int oldPosition = mChildren.indexOf(child);
427 if (mChildren.indexOf(child) != oldPosition) {
550 for (int i = 0; i < mChildren.size(); ++i) {
551 if (getPriority(mChildren.get(i)) < getPriority(rootTask)) {
564 final int currentIndex = mChildren.indexOf(rootTask);
573 for (int i = mChildren.size() - 1; i >= 0; --i) {
574 final WindowContainer curr = mChildren.get(i);
614 requestedPosition = mChildren.size();
623 int prevPosition = mChildren.indexOf(rootTask);
671 for (int i = 0; i < mChildren.size(); i++) {
[all …]
DWindowToken.java217 for (int i = mChildren.size() - 1; i >= 0; --i) { in removeAllWindowsIfPossible()
218 final WindowState win = mChildren.get(i); in removeAllWindowsIfPossible()
222 if (i > mChildren.size()) { in removeAllWindowsIfPossible()
225 i = mChildren.size(); in removeAllWindowsIfPossible()
244 final int count = mChildren.size(); in setExiting()
247 final WindowState win = mChildren.get(i); in setExiting()
298 if (!mChildren.contains(win)) { in addWindow()
315 return mChildren.isEmpty(); in isEmpty()
319 for (int i = mChildren.size() - 1; i >= 0; i--) { in getReplacingWindow()
320 final WindowState win = mChildren.get(i); in getReplacingWindow()
[all …]
DDisplayArea.java296 if (mChildren.get(i).isAlwaysOnTop()) { in findPositionForChildDisplayArea()
310 for (int i = mChildren.size() - 1; i > 0; i--) { in findMaxPositionForChildDisplayArea()
320 for (int i = 0; i < mChildren.size(); i++) { in findMinPositionForChildDisplayArea()
325 return mChildren.size() - 1; in findMinPositionForChildDisplayArea()
426 int childCount = mChildren.size(); in forAllTaskDisplayAreas()
429 T child = mChildren.get(i); in forAllTaskDisplayAreas()
447 int childCount = mChildren.size(); in forAllTaskDisplayAreas()
450 T child = mChildren.get(i); in forAllTaskDisplayAreas()
468 int childCount = mChildren.size(); in reduceOnAllTaskDisplayAreas()
472 T child = mChildren.get(i); in reduceOnAllTaskDisplayAreas()
[all …]
DRootWindowContainer.java463 for (int i = mChildren.size() - 1; i >= 0; --i) { in updateFocusedWindowLocked()
464 final DisplayContent dc = mChildren.get(i); in updateFocusedWindowLocked()
522 final int numDisplays = mChildren.size(); in onSettingsRetrieved()
524 final DisplayContent displayContent = mChildren.get(displayNdx); in onSettingsRetrieved()
546 final int numDisplays = mChildren.size(); in isLayoutNeeded()
548 final DisplayContent displayContent = mChildren.get(displayNdx); in isLayoutNeeded()
586 for (int i = mChildren.size() - 1; i >= 0; --i) { in getActivityRecord()
587 final DisplayContent dc = mChildren.get(i); in getActivityRecord()
598 for (int i = mChildren.size() - 1; i >= 0; --i) { in getWindowToken()
599 final DisplayContent dc = mChildren.get(i); in getWindowToken()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DAdapterItem.java33 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/collection/
DGroupEntry.java33 private final List<NotificationEntry> mChildren = new ArrayList<>(); field in GroupEntry
36 Collections.unmodifiableList(mChildren);
63 mChildren.clear(); in clearChildren()
67 mChildren.add(child); in addChild()
71 mChildren.sort(c); in sortChildren()
75 return mChildren; in getRawChildren()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java151 mLayerState.mChildren = r; in LayerDrawable()
193 final ChildDrawable[] array = state.mChildren; in inflate()
221 final ChildDrawable[] array = state.mChildren; in applyTheme()
420 final ChildDrawable[] layers = mLayerState.mChildren; in isProjected()
441 final int N = st.mChildren != null ? st.mChildren.length : 0; in addLayer()
446 System.arraycopy(st.mChildren, 0, nu, 0, i); in addLayer()
449 st.mChildren = nu; in addLayer()
452 st.mChildren[i] = layer; in addLayer()
520 final ChildDrawable[] layers = mLayerState.mChildren; in findDrawableByLayerId()
541 mLayerState.mChildren[index].mId = id; in setId()
[all …]
DAdaptiveIconDrawable.java227 mLayerState.mChildren[index] = layer; in addLayer()
249 final ChildDrawable[] array = state.mChildren; in inflate()
294 return mLayerState.mChildren[FOREGROUND_ID].mDrawable; in getForeground()
305 return mLayerState.mChildren[BACKGROUND_ID].mDrawable; in getBackground()
317 return mLayerState.mChildren[MONOCHROME_ID].mDrawable; in getMonochrome()
349 final ChildDrawable r = mLayerState.mChildren[i]; in updateLayerBoundsInternal()
390 if (mLayerState.mChildren[BACKGROUND_ID].mDrawable != null) { in draw()
391 mLayerState.mChildren[BACKGROUND_ID].mDrawable.draw(mCanvas); in draw()
393 if (mLayerState.mChildren[FOREGROUND_ID].mDrawable != null) { in draw()
394 mLayerState.mChildren[FOREGROUND_ID].mDrawable.draw(mCanvas); in draw()
[all …]
/frameworks/base/media/java/android/media/permission/
DCompositeSafeCloseable.java27 private final @NonNull SafeCloseable[] mChildren; field in CompositeSafeCloseable
30 mChildren = children; in CompositeSafeCloseable()
36 for (int i = mChildren.length - 1; i >= 0; --i) { in close()
37 mChildren[i].close(); in close()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java42 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DGroupEntryBuilder.java35 private final List<NotificationEntry> mChildren = new ArrayList<>(); field in GroupEntryBuilder
48 for (NotificationEntry child : mChildren) { in build()
82 mChildren.clear(); in setChildren()
83 mChildren.addAll(children); in setChildren()
89 mChildren.add(entry); in addChild()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Node.java48 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/core/java/android/view/contentcapture/
DContentCaptureSession.java227 private ArrayList<ContentCaptureSession> mChildren; field in ContentCaptureSession
282 if (mChildren == null) { in createContentCaptureSession()
283 mChildren = new ArrayList<>(INITIAL_CHILDREN_CAPACITY); in createContentCaptureSession()
285 mChildren.add(child); in createContentCaptureSession()
342 if (mChildren != null) { in destroy()
343 final int numberChildren = mChildren.size(); in destroy()
346 final ContentCaptureSession child = mChildren.get(i); in destroy()
584 if (mChildren != null && !mChildren.isEmpty()) { in dump()
586 final int numberChildren = mChildren.size(); in dump()
589 final ContentCaptureSession child = mChildren.get(i); in dump()
/frameworks/base/libs/hwui/pipeline/skia/
DReorderBarrierDrawables.cpp33 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/
DUriMatcher.java134 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/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipperController.java49 private final List<KeyguardInputViewController<KeyguardInputView>> mChildren = field in KeyguardSecurityViewFlipperController
83 for (KeyguardInputViewController<KeyguardInputView> child : mChildren) { in reset()
91 mChildren.clear(); in clearViews()
99 for (KeyguardInputViewController<KeyguardInputView> child : mChildren) { in getSecurityView()
119 mChildren.add(childController); in getSecurityView()
154 mChildren.add(childController); in asynchronouslyInflateView()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGraphicBufferMetrics.java110 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/services/tests/wmtests/src/com/android/server/wm/
DTaskDisplayAreaTests.java220 final int rootTask1Pos = taskContainer.mChildren.indexOf(rootTask1); in testRootTaskPositionChildAt()
221 final int rootTask2Pos = taskContainer.mChildren.indexOf(rootTask2); in testRootTaskPositionChildAt()
222 final int pinnedTaskPos = taskContainer.mChildren.indexOf(pinnedTask); in testRootTaskPositionChildAt()
227 assertEquals(taskContainer.mChildren.get(rootTask1Pos), rootTask1); in testRootTaskPositionChildAt()
228 assertEquals(taskContainer.mChildren.get(rootTask2Pos), rootTask2); in testRootTaskPositionChildAt()
229 assertEquals(taskContainer.mChildren.get(pinnedTaskPos), pinnedTask); in testRootTaskPositionChildAt()
232 assertEquals(taskContainer.mChildren.get(rootTask1Pos), rootTask1); in testRootTaskPositionChildAt()
233 assertEquals(taskContainer.mChildren.get(rootTask2Pos), rootTask2); in testRootTaskPositionChildAt()
234 assertEquals(taskContainer.mChildren.get(pinnedTaskPos), pinnedTask); in testRootTaskPositionChildAt()
252 final int rootTaskPos = taskContainer.mChildren.indexOf(rootTask1); in testRootTaskPositionBelowPinnedRootTask()
[all …]
/frameworks/base/core/java/android/os/
DIpcDataCache.java430 private ArraySet<String> mChildren; field in IpcDataCache.Config
504 if (mChildren == null) { in registerChild()
505 mChildren = new ArraySet<>(); in registerChild()
507 mChildren.add(name); in registerChild()
536 if (mChildren != null) { in disableAllForCurrentProcess()
537 for (String c : mChildren) { in disableAllForCurrentProcess()
/frameworks/base/core/java/android/view/
DViewGroup.java569 private View[] mChildren; field in ViewGroup
726 mChildren = new View[ARRAY_INITIAL_CAPACITY]; in initViewGroup()
904 View sibling = mChildren[i]; in clearDefaultFocus()
1292 final View[] children = mChildren; in hasFocusableChild()
1334 View child = mChildren[i]; in addFocusables()
1384 final View child = mChildren[i]; in addKeyboardNavigationClusters()
1450 final View[] children = mChildren; in findViewsWithText()
1473 final View[] children = mChildren; in findViewByAccessibilityIdTraversal()
1494 final View[] children = mChildren; in findViewByAutofillIdTraversal()
1510 final View[] children = mChildren; in dispatchWindowFocusChanged()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/parsing/library/
DOptionalClassRunner.java92 private List<Runner> mChildren; field in OptionalClassRunner.ClassNotFoundRunner
97 this.mChildren = Collections.singletonList(new ChildRunner(testClass, className)); in ClassNotFoundRunner()
102 return mChildren; in getChildren()
/frameworks/base/tools/aapt/
DXMLNode.cpp690 return mChildren; in getChildren()
696 return mChildren; in getChildren()
776 for (size_t i=0; i<mChildren.size(); i++) { in searchElement()
777 sp<XMLNode> found = mChildren.itemAt(i)->searchElement(tagNamespace, tagName); in searchElement()
788 for (size_t i=0; i<mChildren.size(); i++) { in getChildElement()
789 sp<XMLNode> child = mChildren.itemAt(i); in getChildElement()
807 mChildren.add(child); in addChild()
818 mChildren.insertAt(child, index); in insertChildAt()
919 size_t N = mChildren.size(); in removeWhitespace()
931 sp<XMLNode> node = mChildren.itemAt(i); in removeWhitespace()
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DICalendar.java75 private LinkedList<Component> mChildren = null; field in ICalendar.Component
109 if (mChildren == null) { in getOrCreateChildren()
110 mChildren = new LinkedList<Component>(); in getOrCreateChildren()
112 return mChildren; in getOrCreateChildren()
130 return mChildren; in getComponents()
207 if (mChildren != null) { in toString()
208 for (Component component : mChildren) { in toString()

123