Home
last modified time | relevance | path

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

/packages/apps/Calculator/src/com/android/calculator2/
DPanelSwitcher.java36 private View mChildren[] = new View[0]; field in PanelSwitcher
94 for (int i = mChildren.length-1; i >= 0 ; --i) { in updateCurrentView()
95 mChildren[i].setVisibility(i==mCurrentView ? View.VISIBLE : View.GONE); in updateCurrentView()
118 mChildren = new View[count]; in onFinishInflate()
120 mChildren[i] = getChildAt(i); in onFinishInflate()
138 if (mCurrentView < mChildren.length - 1 && mPreviousMove != LEFT) { in moveLeft()
139 mChildren[mCurrentView+1].setVisibility(View.VISIBLE); in moveLeft()
140 mChildren[mCurrentView+1].startAnimation(inLeft); in moveLeft()
141 mChildren[mCurrentView].startAnimation(outLeft); in moveLeft()
142 mChildren[mCurrentView].setVisibility(View.GONE); in moveLeft()
[all …]
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/
DMockObserverNode.java40 private ArrayList<MockObserverNode> mChildren = new ArrayList<MockObserverNode>(); field in MockObserverNode
84 int N = mChildren.size(); in addObserver()
86 MockObserverNode node = mChildren.get(i); in addObserver()
95 mChildren.add(node); in addObserver()
100 int size = mChildren.size(); in removeObserver()
102 boolean empty = mChildren.get(i).removeObserver(observer); in removeObserver()
104 mChildren.remove(i); in removeObserver()
119 if (mChildren.size() == 0 && mObservers.size() == 0) { in removeObserver()
157 int N = mChildren.size(); in notifyMyObservers()
159 MockObserverNode node = mChildren.get(i); in notifyMyObservers()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayout.java48 protected PagedViewCellLayoutChildren mChildren; field in PagedViewCellLayout
74 mChildren = new PagedViewCellLayoutChildren(context); in PagedViewCellLayout()
75 mChildren.setCellDimensions(mCellWidth, mCellHeight); in PagedViewCellLayout()
76 mChildren.setGap(mWidthGap, mHeightGap); in PagedViewCellLayout()
78 addView(mChildren); in PagedViewCellLayout()
126 mChildren.addView(child, index, lp); in addViewToCellLayout()
135 mChildren.removeAllViews(); in removeAllViewsOnPage()
141 mChildren.removeViewAt(index); in removeViewOnPageAt()
148 int childCount = mChildren.getChildCount(); in resetChildrenOnKeyListeners()
150 mChildren.getChildAt(j).setOnKeyListener(null); in resetChildrenOnKeyListeners()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java103 Node mChildren; field in FusionDictionary.CharGroup
114 mChildren = null; in CharGroup()
123 mChildren = children; in CharGroup()
127 if (null == mChildren) { in addChild()
128 mChildren = new Node(); in addChild()
130 mChildren.mData.add(n); in addChild()
367 if (null == currentGroup.mChildren) break; in add()
370 currentNode = currentGroup.mChildren; in add()
396 currentGroup.mChildren = new Node(); in add()
397 currentGroup.mChildren.mData.add(newNode); in add()
[all …]
DBinaryDictInputOutput.java509 if (null != group.mChildren) flattenTreeInner(list, group.mChildren);
549 if (null != group.mChildren) {
551 final int offset = group.mChildren.mCachedAddress - offsetBasePoint;
704 if (null != group.mChildren) { in makeCharGroupFlags()
865 final int childrenOffset = null == group.mChildren in writePlacedNode()
866 ? NO_CHILDREN_ADDRESS : group.mChildren.mCachedAddress - groupAddress; in writePlacedNode()
/packages/apps/Browser/src/com/android/browser/view/
DBookmarkExpandableView.java124 BrowserBookmarksAdapter existing = mAdapter.mChildren.get(indexOf); in addAccount()
128 mAdapter.mChildren.remove(indexOf); in addAccount()
129 mAdapter.mChildren.add(indexOf, adapter); in addAccount()
134 mAdapter.mChildren.add(adapter); in addAccount()
215 return mAdapter.mChildren.get(groupPosition); in getChildAdapter()
228 || mAdapter.mChildren.get(groupPosition).getCount() <= childPosition) {
231 long id = mAdapter.mChildren.get(groupPosition).getItemId(childPosition);
269 ArrayList<BrowserBookmarksAdapter> mChildren; field in BookmarkExpandableView.BookmarkAccountAdapter
292 mChildren = new ArrayList<BrowserBookmarksAdapter>(); in BookmarkAccountAdapter()
298 mChildren.clear(); in clear()
[all …]
/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()
216 if (p.mChildren != null) { in dumpAll()
217 ArrayList<String> childrenKeys = p.mChildren.keys(); in dumpAll()
220 Path child = p.mChildren.get(key); in dumpAll()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableDictionary.java57 NodeArray mChildren; field in ExpandableDictionary.Node
243 if (childNode.mChildren == null) { in addWordRec()
244 childNode.mChildren = new NodeArray(); in addWordRec()
246 addWordRec(childNode.mChildren, word, depth + 1, shortcutTarget, frequency, childNode); in addWordRec()
435 final NodeArray children = node.mChildren;
577 if (childNode.mChildren == null) {
578 childNode.mChildren = new NodeArray();
580 return searchWord(childNode.mChildren, word, depth + 1, childNode);
683 if (node.mChildren != null) {
684 Node returnNode = searchNode(node.mChildren, word, offset + 1, length);
/packages/apps/Browser/src/com/android/browser/
DTab.java152 private Vector<Tab> mChildren; field in Tab
1329 if (mChildren != null) { in removeFromTree()
1330 for(Tab t : mChildren) { in removeFromTree()
1336 mParent.mChildren.remove(this); in removeFromTree()
1432 if (mChildren == null) { in addChildTab()
1433 mChildren = new Vector<Tab>(); in addChildTab()
1435 mChildren.add(child); in addChildTab()
1440 return mChildren; in getChildren()