Searched refs:children (Results 1 - 24 of 24) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DSimpleNode.java7 protected Node[] children; field in class:SimpleNode
30 if (children == null) {
31 children = new Node[i + 1];
32 } else if (i >= children.length) {
34 System.arraycopy(children, 0, c, 0, children.length);
35 children = c;
37 children[i] = n;
41 return children[i];
45 return (children
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DProfileData.java41 public ArrayList<Node> children; field in class:ProfileData.Node
82 if (node.children == null) {
83 node.children = new ArrayList<Node>();
87 ArrayList<Node> children = node.children;
89 for (j = 0; j < children.size(); j++) {
90 if (children.get(j).id == id) break;
92 if (j == children.size()) {
93 children.add(new Node(node, id));
96 node = children
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAppsCustomizeCellLayout.java57 ShortcutAndWidgetContainer children = getShortcutsAndWidgets();
58 int childCount = children.getChildCount();
60 children.getChildAt(j).setOnKeyListener(null);
H A DFolder.java371 ArrayList<ShortcutInfo> children = info.contents;
373 setupContentForNumItems(children.size());
374 placeInReadingOrder(children);
376 for (int i = 0; i < children.size(); i++) {
377 ShortcutInfo child = (ShortcutInfo) children.get(i);
H A DFocusHelper.java534 final ShortcutAndWidgetContainer children = layout.getShortcutsAndWidgets();
535 final View newIcon = getIconInDirection(layout, children, -1, 1);
563 * Private helper method to sort all the CellLayout children in order of their (x,y) spatially
568 // First we order each the CellLayout children by their x,y coordinates
H A DWorkspace.java98 // These animators are used to fade the children's outlines
460 throw new IllegalArgumentException("A Workspace can only have CellLayout children.");
800 * @param insert When true, the child is inserted at the beginning of the children list.
3827 // hardware layers on children are enabled on startup, but should be disabled until
3932 ArrayList<View> children = new ArrayList<View>();
3935 children.add(v);
3939 View v = children.get(i);
4068 // We don't dispatch restoreInstanceState to our children using this code path.
4203 * We should only use this to search for specific children. Do not use this method to modify
4322 final HashMap<ItemInfo, View> children
[all...]
/packages/apps/Mms/src/com/android/mms/dom/smil/
H A DElementSequentialTimeContainerImpl.java61 NodeList children = getTimeChildren();
62 for (int i = 0; i < children.getLength(); ++i) {
63 ElementTime child = (ElementTime) children.item(i);
H A DElementParallelTimeContainerImpl.java88 NodeList children = getTimeChildren();
89 for (int i = 0; i < children.getLength(); ++i) {
90 ElementTime child = (ElementTime) children.item(i);
116 NodeList children = getTimeChildren();
117 int childrenLen = children.getLength();
121 ElementTime child = (ElementTime) children.item(i);
H A DSmilPlayer.java121 NodeList children = par.getTimeChildren();
122 for (int i = 0; i < children.getLength(); ++i) {
123 ElementTime child = (ElementTime) children.item(i);
130 // Add end-event to timeline for all active children
179 // Get children's timelines
180 NodeList children = seq.getTimeChildren();
181 for (int i = 0; i < children.getLength(); ++i) {
182 ElementTime child = (ElementTime) children.item(i);
190 // Add end-event to timeline for all active children
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DEntityDiff.java92 // Build lookup maps for children on both sides
96 // Walk through "before" children looking for deletes and updates
119 // Walk through remaining "after" children, which are inserts
139 final ArrayList<NamedContentValues> children = entity.getSubValues();
141 children.size());
142 for (NamedContentValues child : children) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DExpandableDictionary.java177 * @param children The node to recursively search for addition. Initially, the root of the tree.
186 private void addWordRec(final NodeArray children, final String word, final int depth, argument
192 // Does children have the current character?
193 final int childrenLength = children.mLength;
196 final Node node = children.mData[i];
208 children.add(childNode);
393 * @param roots node whose children have to be search for matches
428 final NodeArray children = node.mChildren;
444 if (children != null) {
445 getWordsRec(children, code
559 searchWord(final NodeArray children, final String word, final int depth, final Node parentNode) argument
648 searchNode(final NodeArray children, final CharSequence word, final int offset, final int length) argument
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DSlideshowActivity.java86 NodeList children = head.getChildNodes();
87 if (children == null || children.getLength() != 1) {
91 Node layout = children.item(0);
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DMiscFilesHandler.java147 String[] children = dir.list();
148 if (children != null) {
149 for (int i=0; i < children.length; i++) {
150 boolean success = deleteDir(new File(dir, children[i]));
/packages/apps/VideoEditor/src/com/android/videoeditor/util/
H A DFileUtils.java278 final String[] children = dir.list();
279 for (int i = 0; i < children.length; i++) {
280 final File f = new File(dir, children[i]);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictDecoderUtils.java445 * @return the read node array with all his children already read.
475 PtNodeArray children = reverseNodeArrayMap.get(info.mChildrenAddress);
476 if (null == children) {
479 children = readNodeArray(dictDecoder, headerSize, reverseNodeArrayMap,
487 0 != (info.mFlags & FormatSpec.FLAG_IS_BLACKLISTED), children));
H A DFusionDictionary.java96 * PtNode is a group of characters, with a frequency, shortcut targets, bigrams, and children
102 * of the trie tree; as such, it can be a terminal, and it can have children.
106 * bigrams, but a non-terminal may not. Moreover, children, if present, are null.
144 final PtNodeArray children) {
149 mChildren = children;
789 // if (!isEqual(aPtNode.children, bPtNode.children)) return false;
800 // if (null != ptNode.children) {
801 // String pseudoHash = getPseudoHash(ptNode.children);
809 // if (isEqual(ptNode.children, simila
141 PtNode(final int[] chars, final ArrayList<WeightedString> shortcutTargets, final ArrayList<WeightedString> bigrams, final int frequency, final boolean isNotAWord, final boolean isBlacklistEntry, final PtNodeArray children) argument
[all...]
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DContactsSyncParser.java110 ArrayList<String> children = new ArrayList<String>();
231 childrenParser(children);
322 if (!children.isEmpty()) {
323 ops.addChildren(entity, children);
369 private void childrenParser(ArrayList<String> children) throws IOException { argument
373 if (children.size() < EasChildren.MAX_CHILDREN) {
374 children.add(getValue());
1023 public void addChildren(Entity entity, ArrayList<String> children) { argument
1026 for (String child: children) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolder.java355 ArrayList<ShortcutInfo> children = info.contents;
357 setupContentForNumItems(children.size());
358 placeInReadingOrder(children);
360 for (int i = 0; i < children.size(); i++) {
361 ShortcutInfo child = (ShortcutInfo) children.get(i);
496 // recreate all the children if the data set changes under us. We may want to do this more
H A DFocusHelper.java535 final ShortcutAndWidgetContainer children = layout.getShortcutsAndWidgets();
536 final View newIcon = getIconInDirection(layout, children, -1, 1);
564 * Private helper method to sort all the CellLayout children in order of their (x,y) spatially
569 // First we order each the CellLayout children by their x,y coordinates
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DEmlAttachmentProvider.java464 final File[] children = file.listFiles();
465 for (final File child : children) {
/packages/apps/UnifiedEmail/assets/
H A Dscript.js729 var body = msg.children[0]; // toss the outer div, it was just to render innerHTML into
730 var border = msg.children[1]; // get the border spacer as well
759 msgBodyDiv = msgDiv.children[1];
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactActivity.java575 List<Action> children = mActions.get(mimeType);
577 final Action firstInfo = children.get(0);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageHeaderView.java586 private static void setChildVisibility(int visibility, View... children) { argument
587 for (View v : children) {
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventView.java1291 int children = vg.getChildCount();
1292 for (int i = 0; i < children; i++) {

Completed in 1354 milliseconds