Home
last modified time | relevance | path

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

12

/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java155 mLayerState.mChildren[index] = layer; in addLayer()
190 return mLayerState.mChildren[FOREGROUND_ID].mDrawable; in getForeground()
201 return mLayerState.mChildren[BACKGROUND_ID].mDrawable; in getBackground()
233 final ChildDrawable r = mLayerState.mChildren[i]; in updateLayerBoundsInternal()
278 if (mLayerState.mChildren[i] == null) { in draw()
281 final Drawable dr = mLayerState.mChildren[i].mDrawable; in draw()
328 final ChildDrawable[] array = state.mChildren; in applyTheme()
408 final ChildDrawable[] layers = mLayerState.mChildren; in isProjected()
467 final ChildDrawable[] array = mLayerState.mChildren; in setHotspot()
478 final ChildDrawable[] array = mLayerState.mChildren; in setHotspotBounds()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DPreferenceCategoryController.java29 private final List<AbstractPreferenceController> mChildren; field in PreferenceCategoryController
34 mChildren = new ArrayList<>(); in PreferenceCategoryController()
39 if (mChildren == null || mChildren.isEmpty()) { in isAvailable()
43 for (AbstractPreferenceController controller : mChildren) { in isAvailable()
58 mChildren.clear(); in setChildren()
60 mChildren.addAll(childrenController); in setChildren()
/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/modules/StatsD/statsd/src/condition/
DCombinationConditionTracker.cpp51 for (const int childIndex : mChildren) { in init()
58 evaluateCombinationCondition(mChildren, mLogicalOperation, conditionCache); in init()
108 mChildren.push_back(childIndex); in init()
116 evaluateCombinationCondition(mChildren, mLogicalOperation, conditionCache); in init()
134 mChildren.clear(); in onConfigUpdated()
162 mChildren.push_back(childIndex); in onConfigUpdated()
174 for (const int childIndex : mChildren) { in isConditionMet()
182 evaluateCombinationCondition(mChildren, mLogicalOperation, conditionCache); in isConditionMet()
195 for (const int childIndex : mChildren) { in evaluateCondition()
205 evaluateCombinationCondition(mChildren, mLogicalOperation, nonSlicedConditionCache); in evaluateCondition()
[all …]
DCombinationConditionTracker.h57 for (const auto& child : mChildren) { in getChangedToTrueDimensions()
69 for (const auto& child : mChildren) { in getChangedToFalseDimensions()
103 std::vector<int> mChildren; variable
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/
DXMLNode.java33 private final List<XMLNode> mChildren; field in XMLNode
41 mChildren = new ArrayList<>(); in XMLNode()
61 mChildren.add(child); in addChild()
87 return mChildren; in getChildren()
102 mChildren.equals(that.mChildren); in equals()
107 return Objects.hash(mTag, mText, mChildren); in hashCode()
DPpsMoParser.java353 private final List<PPSNode> mChildren; field in PpsMoParser.InternalNode
356 mChildren = children; in InternalNode()
366 return mChildren; in getChildren()
/packages/apps/Settings/tests/unit/src/com/android/settings/widget/
DPreferenceCategoryControllerTest.java43 private List<AbstractPreferenceController> mChildren; field in PreferenceCategoryControllerTest
48 mChildren = new ArrayList<>(); in setUp()
49 mController = new PreferenceCategoryController(mContext, "pref_key").setChildren(mChildren); in setUp()
61 mChildren.add(child); in isAvailable_childrenAvailable_true()
62 mController.setChildren(mChildren); in isAvailable_childrenAvailable_true()
71 mChildren.add(child); in isAvailable_childrenUnavailable_false()
72 mController.setChildren(mChildren); in isAvailable_childrenUnavailable_false()
/packages/apps/Settings/src/com/android/settings/development/tare/
DTareFactorExpandableListAdapter.java40 private final String[][] mChildren; field in TareFactorExpandableListAdapter
49 mChildren = children; in TareFactorExpandableListAdapter()
56 if (mGroups.length != mChildren.length) { in validateMappings()
59 if (mChildren.length != mKeys.length) { in validateMappings()
62 for (int i = 0; i < mChildren.length; ++i) { in validateMappings()
63 if (mChildren[i].length != mKeys[i].length) { in validateMappings()
77 return mChildren[groupPosition].length; in getChildrenCount()
87 return mChildren[groupPosition][childPosition]; in getChild()
DAlarmManagerFragment.java43 private String[][] mChildren; field in AlarmManagerFragment
60 mFactorController, LayoutInflater.from(getActivity()), mGroups, mChildren, mKeys); in onCreateView()
105 mChildren = new String[][]{ in populateArrays()
DJobSchedulerFragment.java43 private String[][] mChildren; field in JobSchedulerFragment
60 mFactorController, LayoutInflater.from(getActivity()), mGroups, mChildren, mKeys); in onCreateView()
106 mChildren = new String[][]{ in populateArrays()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java137 private final List<BrowseNode> mChildren = new ArrayList<BrowseNode>(); field in BrowseTree.BrowseNode
206 mChildren.add(node); in addChild()
221 mChildren.remove(node); in removeChild()
227 return mChildren.size(); in getChildrenCount()
231 return mChildren; in getChildren()
235 if (index < 0 || index >= mChildren.size()) { in getChild()
238 return mChildren.get(index); in getChild()
258 if (mChildren.size() > 0 || mCached) { in getContents()
259 List<MediaItem> contents = new ArrayList<MediaItem>(mChildren.size()); in getContents()
260 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/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/modules/StatsD/statsd/src/matchers/
DCombinationAtomMatchingTracker.cpp84 mChildren.push_back(childIndex); in init()
100 mChildren.clear(); in onConfigUpdated()
108 mChildren.push_back(pair->second); in onConfigUpdated()
127 for (const int childIndex : mChildren) { in onLogEvent()
134 bool matched = combinationMatch(mChildren, mLogicalOperation, matcherResults); in onLogEvent()
DCombinationAtomMatchingTracker.h50 std::vector<int> mChildren; variable
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/
DPreferenceCategoryController.java30 private final List<AbstractPreferenceController> mChildren; field in PreferenceCategoryController
36 mChildren = new ArrayList<>(); in PreferenceCategoryController()
56 mChildren.clear(); in setChildren()
58 mChildren.addAll(childrenController); in setChildren()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DLauncherLayoutBuilder.java160 items.put(ATTR_CHILDREN, folderBuilder.mChildren); in putFolder()
168 final ArrayList<Pair<String, HashMap<String, Object>>> mChildren = new ArrayList<>(); field in LauncherLayoutBuilder.FolderBuilder
174 mChildren.add(Pair.create(TAG_AUTO_INSTALL, items)); in addApp()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java614 final ArrayList<MergedItem> mChildren = new ArrayList<MergedItem>(); field in RunningState.MergedItem
648 MergedItem child0 = mChildren.get(0); in update()
655 for (int i = 0; i < mChildren.size(); i++) { in update()
656 MergedItem child = mChildren.get(i); in update()
691 for (int i = 0; i < mChildren.size(); i++) { in updateSize()
692 MergedItem child = mChildren.get(i); in updateSize()
890 userItem.mChildren.clear(); in addOtherUserItem()
899 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.java141 private List<Preference> mChildren = new ArrayList<>(); field in AppRestrictionsFragment.AppRestrictionsPreference
178 return mChildren; in getChildren()
578 for (Preference p : preference.mChildren) { in removeRestrictionsForApp()
581 preference.mChildren.clear(); in removeRestrictionsForApp()
732 preference.mChildren.add(p); in onRestrictionsReceived()
/packages/modules/Connectivity/service-t/src/com/android/server/
DIpSecService.java199 private final List<RefcountedResource> mChildren; field in IpSecService.RefcountedResource
206 this.mChildren = new ArrayList<>(children.length); in RefcountedResource()
210 mChildren.add(child); in RefcountedResource()
296 for (RefcountedResource<? extends IResource> child : mChildren) { in releaseReference()
314 .append(mChildren) in toString()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java358 mChildren = new ArrayList<MessageNotificationState>(); field in MessageNotificationState.MultiConversationNotificationState
383 mChildren.add(new BundledMessageNotificationState(list, i)); in MultiConversationNotificationState()
DBugleNotifications.java278 ((MultiConversationNotificationState) state).mChildren) { in cancelStaleGroupChildren()
626 ((MultiConversationNotificationState) state).mChildren) { in createMessageNotification()

12