Home
last modified time | relevance | path

Searched refs:addChild (Results 1 – 25 of 90) sorted by relevance

1234

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayAreaTest.java168 da1.addChild(da2, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
182 da3.addChild(da4, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
201 da5.addChild(da6, POSITION_TOP); in testForAllTaskDisplayAreas_onlyTraversesDisplayAreaOfTypeAny()
408 parentDa.addChild(childDa1, 0); in testSetMaxBounds()
409 parentDa.addChild(childDa2, 1); in testSetMaxBounds()
459 token.addChild(win, 0); in testGetOrientation()
460 area.addChild(token); in testGetOrientation()
641 parent.addChild(child2, 0); in testSetAlwaysOnTop_movesDisplayAreaToTop()
642 parent.addChild(child1, 1); in testSetAlwaysOnTop_movesDisplayAreaToTop()
661 parent.addChild(child, 1); in testDisplayAreaRequestsTopPosition_alwaysOnTopSiblingExists_doesNotMoveToTop()
[all …]
H A DConfigurationContainerTests.java66 final TestConfigurationContainer child1 = root.addChild(); in testConfigurationInit()
75 final TestConfigurationContainer child2 = root.addChild(); in testConfigurationInit()
88 final TestConfigurationContainer child3 = root.addChild(); in testConfigurationInit()
103 final TestConfigurationContainer child = root.addChild(); in testConfigurationChangeOnAddRemove()
130 root2.addChild(child); in testConfigurationChangeOnAddRemove()
231 final TestConfigurationContainer child = root.addChild(); in testSetWindowingMode()
349 root.addChild(child); in testSetMaxBoundsByHierarchy()
369 root.addChild(child); in testSetBoundsNotOverrideMaxBounds()
390 root.addChild(child); in testOnRequestedOverrideConfigurationChangedOverrideMaxBounds()
433 TestConfigurationContainer addChild() { in addChild() method in ConfigurationContainerTests.TestConfigurationContainer
[all …]
H A DDimmerTests.java145 mHost.addChild(child, 0); in testUpdateDimsAppliesCrop()
162 mHost.addChild(child, 0); in testDimAboveWithChildCreatesSurfaceAboveChild()
177 mHost.addChild(child, 0); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild()
192 mHost.addChild(child, 0); in testDimBelowWithChildSurfaceDestroyedWhenReset()
209 mHost.addChild(child, 0); in testDimBelowWithChildSurfaceNotDestroyedWhenPersisted()
225 mHost.addChild(child, 0); in testDimUpdateWhileDimming()
247 mHost.addChild(child, 0); in testRemoveDimImmediately()
267 mHost.addChild(child, 0); in testDimmerWithBlurUpdatesTransaction()
H A DSyncEngineTests.java168 parentWC.addChild(childWC, POSITION_TOP); in testWaitForChildrenCallback()
169 parentWC.addChild(childWC2, POSITION_TOP); in testWaitForChildrenCallback()
202 parentWC.addChild(childWC, POSITION_TOP); in testWaitForParentCallback()
232 parentWC.addChild(topChildWC, POSITION_TOP); in testFillsParent()
264 parentWC.addChild(topChildWC, POSITION_TOP); in testReparentOut()
299 parentWC.addChild(topChildWC, POSITION_TOP); in testReparentIn()
349 rootWC.addChild(parentWC, POSITION_TOP); in testRemoval()
456 parentWC.addChild(childWC, POSITION_TOP); in testStratifiedParallel()
501 parentWC.addChild(childWC, POSITION_TOP); in testDependencies()
561 parentWC.addChild(childWC, POSITION_TOP); in testStratifiedParallelParentFirst()
[all …]
H A DDisplayAreaGroupTest.java60 parentDA.addChild(mDisplayAreaGroup, parentDA.mChildren.indexOf(defaultTda) + 1); in setUp()
63 mDisplayAreaGroup.addChild(mTaskDisplayArea, POSITION_TOP); in setUp()
H A DWindowContainerTests.java171 top.addChild(child, 0); in testAddChildSetsSurfacePosition()
273 top.addChild(child1, 0); in testRemoveImmediatelyClearsLastSurfacePosition()
278 child1.addChild(child11, 0); in testRemoveImmediatelyClearsLastSurfacePosition()
320 root.addChild(child2, POSITION_TOP); in testAddChildByIndex()
324 root.addChild(child3, POSITION_BOTTOM); in testAddChildByIndex()
328 root.addChild(child4, 1); in testAddChildByIndex()
882 subtree.addChild(subtree2, 1); in testPrefixOrder_addEntireSubtree()
883 root.addChild(subtree, 0); in testPrefixOrder_addEntireSubtree()
1086 task.addChild(windowContainer, 0); in testGetDisplayArea()
1095 taskDisplayArea.addChild(task, 0); in testGetDisplayArea()
[all …]
H A DSizeCompatTests.java202 mTask.addChild(translucentActivity); in testCleanLetterboxConfigListenerWhenTranslucentIsDestroyed()
230 mTask.addChild(translucentActivity); in testHorizontalReachabilityEnabledForTranslucentActivities()
305 mTask.addChild(translucentActivity); in testVerticalReachabilityEnabledForTranslucentActivities()
371 mTask.addChild(opaqueActivity); in testApplyStrategyAgainWhenOpaqueIsDestroyed()
381 mTask.addChild(translucentActivity); in testApplyStrategyAgainWhenOpaqueIsDestroyed()
409 mTask.addChild(translucentActivity); in testResetOpaqueReferenceWhenOpaqueIsDestroyed()
436 mTask.addChild(opaqueActivity); in testNotApplyStrategyAgainWhenOpaqueIsNotDestroyed()
446 mTask.addChild(translucentActivity); in testNotApplyStrategyAgainWhenOpaqueIsNotDestroyed()
472 mTask.addChild(translucentActivity); in testApplyStrategyToTranslucentActivities()
506 mTask.addChild(translucentActivity); in testApplyStrategyToTranslucentActivitiesRetainsWindowConfigurationProperties()
[all …]
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDisplayListLayersActivity.java44 addChild(root, new LayerView(this, 0xffff0000, LAYER_TYPE_HARDWARE, "hardware"), in onCreate()
46 addChild(root, new LayerView(this, 0xff0000ff, LAYER_TYPE_SOFTWARE, "software"), in onCreate()
48 addChild(root, createButton(root), WRAP_CONTENT, WRAP_CONTENT); in onCreate()
71 private void addChild(LinearLayout root, View child, int width, int height) { in addChild() method in DisplayListLayersActivity
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DDismissibilityCoordinatorTest.kt198 val group = GroupEntryBuilder().setSummary(summary).addChild(entry).build()
218 val group = GroupEntryBuilder().setSummary(summary).addChild(entry).build()
238 val group = GroupEntryBuilder().setSummary(summary).addChild(entry).build()
253 val group = GroupEntryBuilder().addChild(entry).build()
268 val group = GroupEntryBuilder().addChild(entry).build()
283 val group = GroupEntryBuilder().addChild(entry).build()
298 val group = GroupEntryBuilder().setSummary(summary).addChild(entry).build()
H A DPreparationCoordinatorTest.java401 .addChild(getNotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreFilteredOut()
402 .addChild(getNotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreFilteredOut()
421 .addChild(getNotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
422 .addChild(getNotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion()
446 .addChild(getNotificationEntryBuilder().setId(2).build()) in testNullGroupSummary()
447 .addChild(getNotificationEntryBuilder().setId(3).build()) in testNullGroupSummary()
457 .addChild(child0) in testNullGroupSummary()
458 .addChild(child1) in testNullGroupSummary()
479 .addChild(getNotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
480 .addChild(getNotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
[all …]
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
H A DAsn1Node.java65 public Builder addChild(Asn1Node child) { in addChild() method in Asn1Node.Builder
76 public Builder addChild(Builder child) { in addChild() method in Asn1Node.Builder
107 addChild(new Asn1Node(tag, dataBytes, 0, dataBytes.length)); in addChildAsInteger()
122 addChild(new Asn1Node(tag, dataBytes, 0, dataBytes.length)); in addChildAsString()
137 addChild(new Asn1Node(tag, value, 0, value.length)); in addChildAsBytes()
175 addChild(new Asn1Node(tag, dataBytes, 0, dataLength)); in addChildAsBits()
189 addChild(new Asn1Node(tag, value ? TRUE_BYTES : FALSE_BYTES, 0, 1)); in addChildAsBoolean()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DGroupEntryBuilder.java49 ge.addChild(child); in build()
88 public GroupEntryBuilder addChild(NotificationEntry entry) { in addChild() method in GroupEntryBuilder
/aosp14/frameworks/base/media/java/android/mtp/
H A DMtpStorageManager.java341 copy.addChild(childCopy); in copy()
666 parent.addChild(obj); in addObjectToCache()
981 obj.getParent().addChild(obj); in beginRenameObject()
982 oldObj.getParent().addChild(oldObj); in beginRenameObject()
1009 parent.addChild(obj); in endRenameObject()
1010 parent.addChild(oldObj); in endRenameObject()
1071 newParent.addChild(newObj); in beginMoveObject()
1078 oldObj.getParent().addChild(oldObj); in beginMoveObject()
1079 obj.getParent().addChild(obj); in beginMoveObject()
1115 oldParent.addChild(oldObj); in endMoveObject()
[all …]
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DRemoteAnimationRunnerCompat.java151 counterLauncher.addChild(t, leash); in wrap()
161 counterLauncher.addChild(t, leashMap.get(launcherTask.getLeash())); in wrap()
174 counterWallpaper.addChild(t, leashMap.get(wallpaper.getLeash())); in wrap()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/accessibility/
H A DAccessibilityCacheTest.java806 parentNodeInfo.addChild(getMockViewWithA11yAndWindowIds(CHILD_VIEW_ID, WINDOW_ID_1)); in addNode_whenNodeBeingReplacedIsOwnGrandparentWithTwoChildren_doesntCrash()
807 parentNodeInfo.addChild(getMockViewWithA11yAndWindowIds(OTHER_CHILD_VIEW_ID, WINDOW_ID_1)); in addNode_whenNodeBeingReplacedIsOwnGrandparentWithTwoChildren_doesntCrash()
811 childNodeInfo.addChild(getMockViewWithA11yAndWindowIds(PARENT_VIEW_ID, WINDOW_ID_1)); in addNode_whenNodeBeingReplacedIsOwnGrandparentWithTwoChildren_doesntCrash()
830 parentNodeInfo.addChild(getMockViewWithA11yAndWindowIds(CHILD_VIEW_ID, WINDOW_ID_1)); in addNode_whenNodeBeingReplacedIsOwnGrandparentWithOneChild_doesntCrash()
834 childNodeInfo.addChild(getMockViewWithA11yAndWindowIds(PARENT_VIEW_ID, WINDOW_ID_1)); in addNode_whenNodeBeingReplacedIsOwnGrandparentWithOneChild_doesntCrash()
888 childNodeInfo.addChild(getMockViewWithA11yAndWindowIds(CHILD_VIEW_ID + 1, WINDOW_ID_1)); in addSameParentNodeWithDifferentChildNode_whenOriginalChildHasChild_doesntCrash()
892 replacementParentNodeInfo.addChild( in addSameParentNodeWithDifferentChildNode_whenOriginalChildHasChild_doesntCrash()
1046 info.addChild(childView); in clearSubtreeWithNode_subtreeInCacheInvalidated()
1117 parentNodeInfo.addChild(getMockViewWithA11yAndWindowIds(CHILD_VIEW_ID, WINDOW_ID_1)); in getParentNode()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DGroupEntry.java66 void addChild(NotificationEntry child) { in addChild() method in GroupEntry
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/
H A DCounterRotator.java70 public void addChild(SurfaceControl.Transaction t, SurfaceControl child) { in addChild() method in CounterRotator
/aosp14/frameworks/base/core/java/android/widget/
H A DSpinner.java711 private View makeView(int position, boolean addChild) { in makeView() argument
718 setUpChild(child, addChild); in makeView()
728 setUpChild(child, addChild); in makeView()
740 private void setUpChild(View child, boolean addChild) { in setUpChild() argument
780 if (!addChild) { in setUpChild()
/aosp14/frameworks/base/core/java/android/service/autofill/
H A DCustomDescription.java181 public Builder addChild(int id, @NonNull Transformation transformation) { in addChild() method in CustomDescription.Builder
450 builder.addChild(transformationIds[i], values[i]);
/aosp14/frameworks/base/core/java/android/animation/
H A DLayoutTransition.java1259 private void addChild(ViewGroup parent, View child, boolean changesLayout) { in addChild() method in LayoutTransition
1325 public void addChild(ViewGroup parent, View child) { in addChild() method in LayoutTransition
1326 addChild(parent, child, true); in addChild()
1334 addChild(parent, child, true); in showChild()
1349 addChild(parent, child, oldVisibility == View.GONE); in showChild()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayAreaOrganizerController.java345 parent.addChild(taskDisplayArea, index); in createTaskDisplayArea()
360 parentTda.addChild(taskDisplayArea, WindowContainer.POSITION_TOP); in createTaskDisplayArea()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DCounterRotatorHelper.java81 crot.addChild(startTransaction, change.getLeash()); in handleClosingChanges()
/aosp14/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp86 static void addChild(JNIEnv*, jobject, jlong groupPtr, jlong childPtr) { in addChild() function
89 group->addChild(child); in addChild()
384 {"nAddChild", "(JJ)V", (void*)addChild},
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
H A DKeyguardNotificationVisibilityProviderTest.java249 .addChild(mEntry) in hideSilentNotificationsPerUserSettingWithHighPriorityParent()
284 .addChild(mEntry) in keyguardShowing_hideSilentNotifications_perUserSetting_withHighPriorityParent()
550 .addChild(entryWithParent) in summaryExceedsThresholdToShow()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityInteractionControllerNodeRequestsTest.java779 node.addChild(host, 1); in testFindRootView_withVirtualView()
780 node.addChild(host, 2); in testFindRootView_withVirtualView()
788 node.addChild(host, 3); in testFindRootView_withVirtualView()

1234