Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationSetTest.java95 List<Animation> children = animationSet.getAnimations(); in testInitialize() local
96 assertEquals(SHORT_CHILD_DURATION, children.get(0).getDuration()); in testInitialize()
97 assertEquals(MEDIUM_CHILD_DURATION, children.get(1).getDuration()); in testInitialize()
98 assertEquals(LONG_CHILD_DURATION, children.get(2).getDuration()); in testInitialize()
104 children = animationSet.getAnimations(); in testInitialize()
105 assertEquals(ANIMATIONSET_DURATION, children.get(0).getDuration()); in testInitialize()
106 assertEquals(ANIMATIONSET_DURATION, children.get(1).getDuration()); in testInitialize()
107 assertEquals(ANIMATIONSET_DURATION, children.get(2).getDuration()); in testInitialize()
133 List<Animation> children = animationSet.getAnimations(); in testSetFillAfter() local
134 children.get(0).setFillAfter(true); in testSetFillAfter()
[all …]
/cts/tools/utils/
Dandroid_api_description_splitter.py104 children = []
107 children.append(child)
109 for child in children:
112 children.remove(child)
114 for child in children:
137 children = []
139 children.append(child)
141 for child in children:
Drerun.py23 children = []
28 children.append(child)
29 return children
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java75 Drawable[] children = mDrawableContainerState.getChildren(); in testAddChild() local
76 assertNotNull(children); in testAddChild()
77 assertTrue(children.length >= 1); in testAddChild()
78 assertSame(dr0, children[0]); in testAddChild()
79 assertNull(children[1]); in testAddChild()
87 children = mDrawableContainerState.getChildren(); in testAddChild()
88 assertNotNull(children); in testAddChild()
89 assertTrue(children.length >= 2); in testAddChild()
90 assertSame(dr0, children[0]); in testAddChild()
91 assertSame(dr1, children[1]); in testAddChild()
[all …]
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java147 mLocalRoot.children.add(file1); in resetRoots()
148 mCreateRoot.children.add(file1); in resetRoots()
155 mLocalRoot.children.add(file2); in resetRoots()
156 mCreateRoot.children.add(file2); in resetRoots()
164 mLocalRoot.children.add(virtualFile); in resetRoots()
165 mCreateRoot.children.add(virtualFile); in resetRoots()
173 mLocalRoot.children.add(webLinkableFile); in resetRoots()
174 mCreateRoot.children.add(webLinkableFile); in resetRoots()
178 mLocalRoot.children.add(dir1); in resetRoots()
184 dir1.children.add(file3); in resetRoots()
[all …]
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildStep.java81 private Set<BuildStep> children; field in BuildStep
84 if (children != null) { in build()
85 for (BuildStep child : children) { in build()
105 if (children == null) { in addChild()
106 children = new HashSet<BuildStep>(); in addChild()
108 children.add(child); in addChild()
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserServiceTest.java70 public void onChildrenLoaded(String parentId, List<MediaItem> children) {
73 if (children != null) {
74 for (MediaItem item : children) {
83 public void onChildrenLoaded(String parentId, List<MediaItem> children,
87 if (children != null) {
88 for (MediaItem item : children) {
295 List<MediaItem> children = new ArrayList<>(); in testSeriesOfNotifyChildrenChanged() local
299 children.add(new MediaItem(description, FLAG_PLAYABLE)); in testSeriesOfNotifyChildrenChanged()
301 mMediaBrowserService.putChildrenToMap(parentMediaId, children); in testSeriesOfNotifyChildrenChanged()
DMediaBrowserServiceTestService.java62 public void onChildrenLoaded(String parentId, List<MediaItem> children) { in testSeriesOfNotifyChildrenChanged_setUp()
63 if (parentMediaId.equals(parentId) && children != null) { in testSeriesOfNotifyChildrenChanged_setUp()
68 if (numberOfItems.addAndGet(children.size()) in testSeriesOfNotifyChildrenChanged_setUp()
DStubMediaBrowserService.java136 public void putChildrenToMap(@NonNull String parentMediaId, @NonNull List<MediaItem> children) { in putChildrenToMap() argument
137 mChildrenMap.put(parentMediaId, children); in putChildrenToMap()
DMediaBrowserTest.java687 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children) { in onChildrenLoaded() argument
690 mLastChildMediaItems = children; in onChildrenLoaded()
694 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children, in onChildrenLoaded() argument
699 mLastChildMediaItems = children; in onChildrenLoaded()
/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java183 .children.get(ExpandableListView.getPackedPositionChild(packedPosition)) in getValueAtPosition()
213 if (child >= mGroups.get(group).children.size() || child < 0) { in isOutOfBounds()
312 return mGroups.get(groupPosition).children.get(childPosition).id; in getChildId()
316 return mGroups.get(groupPosition).children.size(); in getChildrenCount()
358 List<MyChild> children; field in ExpandableListScenario.MyGroup
362 children = new ArrayList<MyChild>(numChildren); in MyGroup()
364 children.add(new MyChild()); in MyGroup()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/
DExpectationBasedFilter.java119 List<Description> children = description.getChildren(); in getTestDescription() local
121 if (children.isEmpty()) { in getTestDescription()
132 Description child = children.get(0); in getTestDescription()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/util/
DBitmapDumper.java47 String[] children = directory.list(); in deleteFileInClassFolder() local
48 if (children == null) { in deleteFileInClassFolder()
51 for (String file : children) { in deleteFileInClassFolder()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAccessibilityNodeInfoUtils.kt38 for (child in children) { in AccessibilityNodeInfo()
55 val AccessibilityNodeInfo.children: List<AccessibilityNodeInfo> get() = constant
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java69 List<Description> children = mDescription.getChildren(); in filter() local
71 for (Iterator<Description> iter = children.iterator(); iter.hasNext(); ) { in filter()
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DWindowManagerUtil.java134 final List<WindowContainerChildProto> children = windowContainer.getChildrenList(); in collectWindowStates()
135 for (WindowContainerChildProto child : children) { in collectWindowStates()
177 final List<WindowContainerChildProto> children = windowContainer.getChildrenList(); in collectActivityRecords()
178 for (WindowContainerChildProto child : children) { in collectActivityRecords()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java863 final View[] children = new View[2]; in testAddChildren_rightAway() local
868 children[0] = child1; in testAddChildren_rightAway()
872 children[1] = child2; in testAddChildren_rightAway()
894 assertViewAppeared(events, i, sessionId, children[0], rootId); in testAddChildren_rightAway()
895 assertViewAppeared(events, i + 1, sessionId, children[1], rootId); in testAddChildren_rightAway()
898 activity.assertInitialViewsDisappeared(events, children.length); in testAddChildren_rightAway()
939 final View[] children = new View[2]; in testAddChildren_afterAnimation() local
944 children[0] = child1; in testAddChildren_afterAnimation()
948 children[1] = child2; in testAddChildren_afterAnimation()
977 assertViewAppeared(events, i + 2, sessionId, children[0], rootId); in testAddChildren_afterAnimation()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DExpandableListTestActivity.java61 final List<Map<String, String>> children = Lists.newArrayList(); in onCreate() local
64 children.add(curChildMap); in onCreate()
68 childData.add(children); in onCreate()
/cts/suite/cts/utils/
Dget_csv_report.py25 children = []
30 children.append(child)
31 return children
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockInCallService.java54 public void onChildrenChanged(Call call, List<Call> children) {}; in onChildrenChanged() argument
113 public void onChildrenChanged(Call call, List<Call> children) {
114 super.onChildrenChanged(call, children);
116 getCallbacks().onChildrenChanged(call, children);
/cts/tests/app/shared/src/android/app/cts/
DNotificationTemplateTestBase.kt92 private val ViewGroup.children in <lambda>() constant in android.app.cts.NotificationTemplateTestBase
111 for (child in view.children) { in <lambda>()
/cts/tests/tests/os/src/android/os/cts/
DCompanionDeviceManagerTest.kt49 import com.android.compatibility.common.util.children in <lambda>()
187 .children in <lambda>()
223 .children in <lambda>()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DCapturedActivity.java323 String[] children = testDirectory.list(); in saveFailureCaptures() local
324 if (children == null) { in saveFailureCaptures()
327 for (String file : children) { in saveFailureCaptures()
/cts/tests/filesystem/src/android/filesystem/cts/
DFileUtil.java172 String[] children = entry.list(); in removeEntry() local
173 for (String child : children) { in removeEntry()
/cts/tests/tests/libcorefileio/src/android/cts/
DFileChannelInterProcessLockTest.java719 String[] children = dir.list();
720 for (String child : children) {

12