Home
last modified time | relevance | path

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

/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java158 mLayerState.mChildren[index] = layer; in addLayer()
193 return mLayerState.mChildren[FOREGROUND_ID].mDrawable; in getForeground()
204 return mLayerState.mChildren[BACKGROUND_ID].mDrawable; in getBackground()
236 final ChildDrawable r = mLayerState.mChildren[i]; in updateLayerBoundsInternal()
281 if (mLayerState.mChildren[i] == null) { in draw()
284 final Drawable dr = mLayerState.mChildren[i].mDrawable; in draw()
331 final ChildDrawable[] array = state.mChildren; in applyTheme()
411 final ChildDrawable[] layers = mLayerState.mChildren; in isProjected()
470 final ChildDrawable[] array = mLayerState.mChildren; in setHotspot()
481 final ChildDrawable[] array = mLayerState.mChildren; in setHotspotBounds()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java131 private final List<BrowseNode> mChildren = new ArrayList<BrowseNode>(); field in BrowseTree.BrowseNode
200 mChildren.add(node); in addChild()
215 mChildren.remove(node); in removeChild()
221 return mChildren.size(); in getChildrenCount()
225 return mChildren; in getChildren()
229 if (index < 0 || index >= mChildren.size()) { in getChild()
232 return mChildren.get(index); in getChild()
252 if (mChildren.size() > 0 || mCached) { in getContents()
253 List<MediaItem> contents = new ArrayList<MediaItem>(mChildren.size()); in getContents()
254 for (BrowseNode child : mChildren) { in getContents()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java89 PtNodeArray mChildren; field in FusionDictionary.PtNode
109 mChildren = null; in PtNode()
120 mChildren = children; in PtNode()
126 if (null == mChildren) { in addChild()
127 mChildren = new PtNodeArray(); in addChild()
129 mChildren.mData.add(n); in addChild()
352 if (null == currentPtNode.mChildren) break; in add()
355 currentNodeArray = currentPtNode.mChildren; in add()
383 currentPtNode.mChildren = new PtNodeArray(); in add()
384 currentPtNode.mChildren.mData.add(newNode); in add()
[all …]
DBinaryDictEncoderUtils.java242 if (null != ptNode.mChildren) flattenTreeInner(list, ptNode.mChildren); in flattenTreeInner()
333 if (null != ptNode.mChildren) { in computeActualPtNodeArraySize()
335 nodeSize + size, ptNode.mChildren)); in computeActualPtNodeArraySize()
640 return null == ptNode.mChildren ? FormatSpec.NO_CHILDREN_ADDRESS in getChildrenPosition()
641 : ptNode.mChildren.mCachedAddressAfterUpdate - positionOfChildrenPosField; in getChildrenPosition()
/packages/apps/Settings/src/com/android/settings/widget/
DPreferenceCategoryController.java35 private final List<AbstractPreferenceController> mChildren; field in PreferenceCategoryController
40 mChildren = new ArrayList<>(); in PreferenceCategoryController()
45 if (mChildren == null || mChildren.isEmpty()) { in getAvailabilityStatus()
49 for (AbstractPreferenceController controller : mChildren) { in getAvailabilityStatus()
64 mChildren.clear(); in setChildren()
66 mChildren.addAll(childrenController); in setChildren()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DPreferenceCategoryController.java35 private final List<AbstractPreferenceController> mChildren; field in PreferenceCategoryController
40 mChildren = new ArrayList<>(); in PreferenceCategoryController()
45 if (mChildren == null || mChildren.isEmpty()) { in getAvailabilityStatus()
49 for (AbstractPreferenceController controller : mChildren) { in getAvailabilityStatus()
64 mChildren.clear(); in setChildren()
66 mChildren.addAll(childrenController); in setChildren()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DPreferenceCategoryControllerTest.java42 private List<AbstractPreferenceController> mChildren; field in PreferenceCategoryControllerTest
47 mChildren = new ArrayList<>(); in setUp()
48 mController = new PreferenceCategoryController(mContext, "pref_key").setChildren(mChildren); in setUp()
60 mChildren.add(child); in isAvailable_childrenAvailable_true()
61 mController.setChildren(mChildren); in isAvailable_childrenAvailable_true()
70 mChildren.add(child); in isAvailable_childrenUnavailable_false()
71 mController.setChildren(mChildren); in isAvailable_childrenUnavailable_false()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java32 private IdentityCache<String, Path> mChildren; field in Path
41 if (mChildren == null) { in getChild()
42 mChildren = new IdentityCache<String, Path>(); in getChild()
44 Path p = mChildren.get(segment); in getChild()
49 mChildren.put(segment, p); in getChild()
222 if (p.mChildren != null) { in dumpAll()
223 ArrayList<String> childrenKeys = p.mChildren.keys(); in dumpAll()
226 Path child = p.mChildren.get(key); in dumpAll()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaItem.java78 final List<TmaMediaItem> mChildren; field in TmaMediaItem
101 mChildren = Collections.unmodifiableList(children); in TmaMediaItem()
105 for (TmaMediaItem child: mChildren) { in TmaMediaItem()
159 List<TmaMediaItem> allChildren = new ArrayList<>(mChildren.size() + children.size()); in append()
160 allChildren.addAll(mChildren); in append()
DTmaBrowser.java207 List<MediaItem> items = new ArrayList<>(node.mChildren.size()); in getMediaItemsWithDelay()
208 for (TmaMediaItem child : node.mChildren) { in getMediaItemsWithDelay()
228 for (TmaMediaItem child : node.mChildren) { in addSearchResults()
DTmaLibrary.java70 result = result.append(loadAssetFile(result.mInclude).mChildren); in getMediaItemById()
92 for (TmaMediaItem child : item.mChildren) { in cacheMediaItem()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DLauncherLayoutBuilder.java150 items.put(ATTR_CHILDREN, folderBuilder.mChildren); in putFolder()
158 final ArrayList<Pair<String, HashMap<String, Object>>> mChildren = new ArrayList<>(); field in LauncherLayoutBuilder.FolderBuilder
164 mChildren.add(Pair.create(TAG_AUTO_INSTALL, items)); in addApp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningState.java608 final ArrayList<MergedItem> mChildren = new ArrayList<MergedItem>(); field in RunningState.MergedItem
642 MergedItem child0 = mChildren.get(0); in update()
649 for (int i=0; i<mChildren.size(); i++) { in update()
650 MergedItem child = mChildren.get(i); in update()
685 for (int i=0; i<mChildren.size(); i++) { in updateSize()
686 MergedItem child = mChildren.get(i); in updateSize()
884 userItem.mChildren.clear(); in addOtherUserItem()
893 userItem.mChildren.add(newItem); in addOtherUserItem()
DRunningServiceDetails.java447 items = new ArrayList<RunningState.MergedItem>(mMergedItem.mChildren);
450 items = mMergedItem.mChildren;
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java608 final ArrayList<MergedItem> mChildren = new ArrayList<MergedItem>(); field in RunningState.MergedItem
642 MergedItem child0 = mChildren.get(0); in update()
649 for (int i=0; i<mChildren.size(); i++) { in update()
650 MergedItem child = mChildren.get(i); in update()
685 for (int i=0; i<mChildren.size(); i++) { in updateSize()
686 MergedItem child = mChildren.get(i); in updateSize()
884 userItem.mChildren.clear(); in addOtherUserItem()
893 userItem.mChildren.add(newItem); in addOtherUserItem()
DRunningServiceDetails.java447 items = new ArrayList<RunningState.MergedItem>(mMergedItem.mChildren);
450 items = mMergedItem.mChildren;
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java139 private List<Preference> mChildren = new ArrayList<>(); field in AppRestrictionsFragment.AppRestrictionsPreference
176 return mChildren; in getChildren()
570 for (Preference p : preference.mChildren) { in removeRestrictionsForApp()
573 preference.mChildren.clear(); in removeRestrictionsForApp()
719 preference.mChildren.add(p); in onRestrictionsReceived()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAppRestrictionsFragment.java139 private List<Preference> mChildren = new ArrayList<>(); field in AppRestrictionsFragment.AppRestrictionsPreference
176 return mChildren; in getChildren()
570 for (Preference p : preference.mChildren) { in removeRestrictionsForApp()
573 preference.mChildren.clear(); in removeRestrictionsForApp()
719 preference.mChildren.add(p); in onRestrictionsReceived()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java278 ((MultiConversationNotificationState) state).mChildren) { in cancelStaleGroupChildren()
626 ((MultiConversationNotificationState) state).mChildren) { in createMessageNotification()
DMessageNotificationState.java358 mChildren = new ArrayList<MessageNotificationState>(); field in MessageNotificationState.MultiConversationNotificationState
383 mChildren.add(new BundledMessageNotificationState(list, i)); in MultiConversationNotificationState()