Home
last modified time | relevance | path

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

1234

/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java182 protected final WindowList<E> mChildren = new WindowList<E>(); field in WindowContainer
398 for (int i = mChildren.size() - 1; i >= 0; --i) { in updateAboveInsetsState()
399 mChildren.get(i).updateAboveInsetsState(aboveInsetsState, mergedLocalInsetsSources, in updateAboveInsetsState()
572 return mChildren.size(); in getChildCount()
577 return mChildren.get(index); in getChildAt()
726 for (int i = 0; i < mChildren.size(); i++) { in migrateToNewSurfaceControl()
727 SurfaceControl sc = mChildren.get(i).getSurfaceControl(); in migrateToNewSurfaceControl()
761 final int count = mChildren.size(); in addChild()
763 if (comparator.compare(child, mChildren.get(i)) < 0) { in addChild()
771 mChildren.add(child); in addChild()
[all …]
DWallpaperWindowToken.java131 for (int wallpaperNdx = mChildren.size() - 1; wallpaperNdx >= 0; wallpaperNdx--) { in sendWindowWallpaperCommand()
132 final WindowState wallpaper = mChildren.get(wallpaperNdx); in sendWindowWallpaperCommand()
144 for (int wallpaperNdx = mChildren.size() - 1; wallpaperNdx >= 0; wallpaperNdx--) { in updateWallpaperOffset()
145 final WindowState wallpaper = mChildren.get(wallpaperNdx); in updateWallpaperOffset()
196 for (int i = mChildren.size() - 1; i >= 0; i--) { in setVisible()
197 final WindowState wallpaper = mChildren.get(i); in setVisible()
249 for (int j = mChildren.size() - 1; j >= 0; --j) { in hasVisibleNotDrawnWallpaper()
250 final WindowState wallpaper = mChildren.get(j); in hasVisibleNotDrawnWallpaper()
DTaskDisplayArea.java380 final int oldPosition = mChildren.indexOf(child);
427 if (mChildren.indexOf(child) != oldPosition) {
555 for (int i = 0; i < mChildren.size(); ++i) {
556 if (getPriority(mChildren.get(i)) < getPriority(rootTask)) {
569 final int currentIndex = mChildren.indexOf(rootTask);
578 for (int i = mChildren.size() - 1; i >= 0; --i) {
579 final WindowContainer curr = mChildren.get(i);
619 requestedPosition = mChildren.size();
628 int prevPosition = mChildren.indexOf(rootTask);
676 for (int i = 0; i < mChildren.size(); i++) {
[all …]
DWindowToken.java239 for (int i = mChildren.size() - 1; i >= 0; --i) { in removeAllWindowsIfPossible()
240 final WindowState win = mChildren.get(i); in removeAllWindowsIfPossible()
244 if (i > mChildren.size()) { in removeAllWindowsIfPossible()
247 i = mChildren.size(); in removeAllWindowsIfPossible()
266 final int count = mChildren.size(); in setExiting()
269 final WindowState win = mChildren.get(i); in setExiting()
320 if (!mChildren.contains(win)) { in addWindow()
337 return mChildren.isEmpty(); in isEmpty()
342 for (int j = mChildren.size() - 1; j >= 0; j--) { in windowsCanBeWallpaperTarget()
343 final WindowState w = mChildren.get(j); in windowsCanBeWallpaperTarget()
[all …]
DDisplayArea.java303 if (mChildren.get(i).isAlwaysOnTop()) { in findPositionForChildDisplayArea()
317 for (int i = mChildren.size() - 1; i > 0; i--) { in findMaxPositionForChildDisplayArea()
327 for (int i = 0; i < mChildren.size(); i++) { in findMinPositionForChildDisplayArea()
332 return mChildren.size() - 1; in findMinPositionForChildDisplayArea()
515 int childCount = mChildren.size(); in forAllTaskDisplayAreas()
518 T child = mChildren.get(i); in forAllTaskDisplayAreas()
536 int childCount = mChildren.size(); in forAllTaskDisplayAreas()
539 T child = mChildren.get(i); in forAllTaskDisplayAreas()
557 int childCount = mChildren.size(); in reduceOnAllTaskDisplayAreas()
561 T child = mChildren.get(i); in reduceOnAllTaskDisplayAreas()
[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/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTransactionTests.java105 assertTrue(tda.mChildren in testDesktopMode_tasksAreBroughtToFront()
107 < tda.mChildren.indexOf(desktopOrganizer.mTasks.get(i + 1).getRootTask())); in testDesktopMode_tasksAreBroughtToFront()
139 assertTrue(tda.mChildren in testDesktopMode_moveTaskToDesktop()
141 < tda.mChildren.indexOf(desktopOrganizer.mTasks.get(i + 1).getRootTask())); in testDesktopMode_moveTaskToDesktop()
144 assertTrue(tda.mChildren in testDesktopMode_moveTaskToDesktop()
146 < tda.mChildren.indexOf(task)); in testDesktopMode_moveTaskToDesktop()
188 assertTrue(tda.mChildren.indexOf(desktopOrganizer.mTasks.get(0).getRootTask()) in testDesktopMode_moveTaskToFront()
189 < tda.mChildren.indexOf(desktopOrganizer.mTasks.get(1).getRootTask())); in testDesktopMode_moveTaskToFront()
190 assertTrue(tda.mChildren.indexOf(desktopOrganizer.mTasks.get(1).getRootTask()) in testDesktopMode_moveTaskToFront()
191 < tda.mChildren.indexOf(desktopOrganizer.mTasks.get(3).getRootTask())); in testDesktopMode_moveTaskToFront()
[all …]
DTaskDisplayAreaTests.java222 final int rootTask1Pos = taskContainer.mChildren.indexOf(rootTask1); in testRootTaskPositionChildAt()
223 final int rootTask2Pos = taskContainer.mChildren.indexOf(rootTask2); in testRootTaskPositionChildAt()
224 final int pinnedTaskPos = taskContainer.mChildren.indexOf(pinnedTask); in testRootTaskPositionChildAt()
229 assertEquals(taskContainer.mChildren.get(rootTask1Pos), rootTask1); in testRootTaskPositionChildAt()
230 assertEquals(taskContainer.mChildren.get(rootTask2Pos), rootTask2); in testRootTaskPositionChildAt()
231 assertEquals(taskContainer.mChildren.get(pinnedTaskPos), pinnedTask); in testRootTaskPositionChildAt()
234 assertEquals(taskContainer.mChildren.get(rootTask1Pos), rootTask1); in testRootTaskPositionChildAt()
235 assertEquals(taskContainer.mChildren.get(rootTask2Pos), rootTask2); in testRootTaskPositionChildAt()
236 assertEquals(taskContainer.mChildren.get(pinnedTaskPos), pinnedTask); in testRootTaskPositionChildAt()
254 final int rootTaskPos = taskContainer.mChildren.indexOf(rootTask1); in testRootTaskPositionBelowPinnedRootTask()
[all …]
/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/native/services/surfaceflinger/FrontEnd/
DLayerHierarchy.cpp52 mChildren = hierarchy.mChildren; in LayerHierarchy()
70 for (auto& [child, childVariant] : mChildren) { in traverse()
80 for (auto it = mChildren.begin(); it < mChildren.end(); it++) { in traverseInZOrder()
103 insertSorted(mChildren, {child, variant}); in addChild()
107 auto it = std::find_if(mChildren.begin(), mChildren.end(), in removeChild()
111 LLOG_ALWAYS_FATAL_WITH_TRACE_IF(it == mChildren.end(), "Could not find child!"); in removeChild()
112 mChildren.erase(it); in removeChild()
116 std::sort(mChildren.begin(), mChildren.end(), layerZCompare); in sortChildrenByZOrder()
120 auto it = std::find_if(mChildren.begin(), mChildren.end(), in updateChild()
124 LLOG_ALWAYS_FATAL_WITH_TRACE_IF(it == mChildren.end(), "Could not find child!"); in updateChild()
[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/utils/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()
88 mChildren.clear(); in setChildren()
89 mChildren.addAll(children); in setChildren()
95 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/libs/hwui/pipeline/skia/
DReorderBarrierDrawables.cpp39 if (mChildren.empty()) { in onDraw()
43 mChildren.reserve(mEndChildIndex - mBeginChildIndex + 1); in onDraw()
45 mChildren.push_back(const_cast<RenderNodeDrawable*>(&mDisplayList->mChildNodes[i])); in onDraw()
48 std::stable_sort(mChildren.begin(), mChildren.end(), in onDraw()
56 const size_t endIndex = mChildren.size(); in onDraw()
58 RenderNodeDrawable* childNode = mChildren[drawIndex]; in onDraw()
82 auto& zChildren = mStartBarrier->mChildren; in onDraw()
/frameworks/base/core/java/android/content/
DUriMatcher.java135 mChildren = new ArrayList<UriMatcher>(); in UriMatcher()
143 mChildren = new ArrayList<UriMatcher>(); in UriMatcher()
182 ArrayList<UriMatcher> children = node.mChildren; in addURI()
196 node.mChildren.add(child); in addURI()
235 ArrayList<UriMatcher> list = node.mChildren;
285 private ArrayList<UriMatcher> mChildren;
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureSession.java260 private ArrayList<ContentCaptureSession> mChildren; field in ContentCaptureSession
327 if (mChildren == null) { in createContentCaptureSession()
328 mChildren = new ArrayList<>(INITIAL_CHILDREN_CAPACITY); in createContentCaptureSession()
330 mChildren.add(child); in createContentCaptureSession()
387 if (mChildren != null) { in destroy()
388 final int numberChildren = mChildren.size(); in destroy()
391 final ContentCaptureSession child = mChildren.get(i); in destroy()
693 if (mChildren != null && !mChildren.isEmpty()) { in dump()
695 final int numberChildren = mChildren.size(); in dump()
698 final ContentCaptureSession child = mChildren.get(i); in dump()
/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/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipperController.java52 private final List<KeyguardInputViewController<KeyguardInputView>> mChildren = field in KeyguardSecurityViewFlipperController
86 for (KeyguardInputViewController<KeyguardInputView> child : mChildren) { in reset()
94 mChildren.clear(); in clearViews()
102 for (KeyguardInputViewController<KeyguardInputView> child : mChildren) { in getSecurityView()
137 mChildren.add(childController); in asynchronouslyInflateView()
/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/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/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/base/core/java/android/view/
DViewGroup.java569 private View[] mChildren; field in ViewGroup
723 mChildren = new View[ARRAY_INITIAL_CAPACITY]; in initViewGroup()
901 View sibling = mChildren[i]; in clearDefaultFocus()
1289 final View[] children = mChildren; in hasFocusableChild()
1331 View child = mChildren[i]; in addFocusables()
1381 final View child = mChildren[i]; in addKeyboardNavigationClusters()
1447 final View[] children = mChildren; in findViewsWithText()
1470 final View[] children = mChildren; in findViewByAccessibilityIdTraversal()
1491 final View[] children = mChildren; in findViewByAutofillIdTraversal()
1507 final View[] children = mChildren; in dispatchWindowFocusChanged()
[all …]

1234