Home
last modified time | relevance | path

Searched refs:mRoot (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java62 private GLRoot mRoot; field in GLView
116 Utils.assertTrue(mParent == null && mRoot == null); in attachToRoot()
122 Utils.assertTrue(mParent == null && mRoot != null); in detachFromRoot()
152 if (mRoot != null) { in addComponent()
153 component.onAttachToRoot(mRoot); in addComponent()
200 return mRoot; in getGLRoot()
432 mRoot = root; in onAttachToRoot()
442 mRoot = null; in onDetachFromRoot()
446 if (mRoot != null) { in lockRendering()
447 mRoot.lockRenderThread(); in lockRendering()
[all …]
DSynchronizedHandler.java26 private final GLRoot mRoot; field in SynchronizedHandler
29 mRoot = Utils.checkNotNull(root); in SynchronizedHandler()
34 mRoot.lockRenderThread(); in dispatchMessage()
38 mRoot.unlockRenderThread(); in dispatchMessage()
/packages/apps/Browser/src/com/android/browser/
DBrowserHistoryPage.java85 private View mRoot; field in BrowserHistoryPage
152 mRoot.findViewById(R.id.history).setVisibility(View.GONE); in checkIfEmpty()
153 mRoot.findViewById(android.R.id.empty).setVisibility(View.VISIBLE); in checkIfEmpty()
155 mRoot.findViewById(R.id.history).setVisibility(View.VISIBLE); in checkIfEmpty()
156 mRoot.findViewById(android.R.id.empty).setVisibility(View.GONE); in checkIfEmpty()
208 mRoot = inflater.inflate(R.layout.history, container, false); in onCreateView()
210 ViewStub stub = (ViewStub) mRoot.findViewById(R.id.pref_stub); in onCreateView()
221 return mRoot; in onCreateView()
225 mHistoryList = (ExpandableListView) mRoot.findViewById(R.id.history); in inflateSinglePane()
234 mGroupList = (ListView) mRoot.findViewById(android.R.id.list); in inflateTwoPane()
[all …]
DBrowserBookmarksPage.java92 View mRoot; field in BrowserBookmarksPage
390 mRoot = inflater.inflate(R.layout.bookmarks, container, false); in onCreateView()
391 mEmptyView = mRoot.findViewById(android.R.id.empty); in onCreateView()
393 mGrid = (BookmarkExpandableView) mRoot.findViewById(R.id.grid); in onCreateView()
403 return mRoot; in onCreateView()
563 mRoot.setPadding(0, paddingTop, 0, 0); in onConfigurationChanged()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DFusionDictionaryTests.java37 assertNull(FusionDictionary.findWordInTree(dict.mRoot, "aaa")); in testFindWordInTree()
38 assertNotNull(FusionDictionary.findWordInTree(dict.mRoot, "abc")); in testFindWordInTree()
41 assertNull(FusionDictionary.findWordInTree(dict.mRoot, "aaa")); in testFindWordInTree()
42 assertNotNull(FusionDictionary.findWordInTree(dict.mRoot, "aa")); in testFindWordInTree()
46 assertNull(FusionDictionary.findWordInTree(dict.mRoot, "ba")); in testFindWordInTree()
47 assertNotNull(FusionDictionary.findWordInTree(dict.mRoot, "babcd")); in testFindWordInTree()
48 assertNotNull(FusionDictionary.findWordInTree(dict.mRoot, "bacde")); in testFindWordInTree()
DUserHistoryDictIOUtilsTests.java88 final CharGroup group = FusionDictionary.findWordInTree(dict.mRoot, word); in checkWordInFusionDict()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java333 public final Node mRoot; field in FusionDictionary
336 mRoot = root; in FusionDictionary()
420 CharGroup charGroup = findWordInTree(mRoot, word1); in setBigram()
422 final CharGroup charGroup2 = findWordInTree(mRoot, word2); in setBigram()
429 charGroup = findWordInTree(mRoot, word1); in setBigram()
458 Node currentNode = mRoot; in add()
463 int nodeIndex = findIndexOfChar(mRoot, word[charIndex]); in add()
661 return null != findWordInTree(mRoot, s); in hasWord()
720 return hasBigramsInternal(mRoot); in hasBigrams()
892 return new DictionaryIterator(mRoot.mData); in iterator()
DBinaryDictInputOutput.java528 return FusionDictionary.findWordInTree(dict.mRoot, word).mCachedAddress; in findAddressOfWord()
1018 FusionDictionary.findWordInTree(dict.mRoot, bigram.mWord); in writePlacedNode()
1179 ArrayList<Node> flatNodes = flattenTree(dict.mRoot); in writeDictionaryBinary()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java73 private final File mRoot; field in DownloadCache
82 mRoot = Utils.checkNotNull(root); in DownloadCache()
205 if (!mRoot.isDirectory()) mRoot.mkdirs(); in initialize()
206 if (!mRoot.isDirectory()) { in initialize()
207 throw new RuntimeException("cannot create " + mRoot.getAbsolutePath()); in initialize()
235 for (File file : mRoot.listFiles()) { in onCreate()
321 tempFile = File.createTempFile("cache", ".tmp", mRoot); in run()
DPathMatcher.java26 private Node mRoot = new Node(); field in PathMatcher
29 mRoot = new Node(); in PathMatcher()
34 Node current = mRoot; in add()
44 Node current = mRoot; in match()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DSmartDialTrie.java67 final Node mRoot = new Node(); field in SmartDialTrie
114 Node current = mRoot; in getAllWithPrefix()
152 putForPrefix(contact, mRoot, info, 0, true); in put()
308 Node current = mRoot; in putNumber()
352 if (initialNode != this.mRoot) {
354 putForPrefix(contact, this.mRoot, info, i, false);
380 getAll(mRoot, result);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java48 private Node mRoot; field in ProfileData
55 mRoot = new Node(null, -1); // The id of the root node is unused. in ProfileData()
60 mRoot = new Node(null, -1); in reset()
80 Node node = mRoot; in addSample()
113 writeAllStacks(mRoot, 0); in dumpToFile()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilPlayer.java81 private ElementTime mRoot; field in SmilPlayer
299 mRoot = root; in init()
300 mAllEntries = getTimeline(mRoot, 0, Long.MAX_VALUE); in init()
301 mMediaTimeUpdatedEvent = ((DocumentEvent) mRoot).createEvent("Event"); in init()
448 ((EventTarget) mRoot).dispatchEvent(mMediaTimeUpdatedEvent); in waitForEntry()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLViewMock.java24 GLRoot mRoot; field in GLViewMock
41 mRoot = root; in onAttachToRoot()
48 mRoot = null; in onDetachFromRoot()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOTests.java216 final CharGroup cg = FusionDictionary.findWordInTree(dict.mRoot, word); in checkDictionary()
224 final CharGroup cg = FusionDictionary.findWordInTree(dict.mRoot, words.get(w1)); in checkDictionary()
232 final CharGroup group = FusionDictionary.findWordInTree(dict.mRoot, entry.getKey()); in checkDictionary()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDiff.java124 final CharGroup word1 = FusionDictionary.findWordInTree(dict1.mRoot, word0.mWord); in diffWords()
153 final CharGroup word0 = FusionDictionary.findWordInTree(dict0.mRoot, word1.mWord); in diffWords()
DInfo.java68 final CharGroup group = FusionDictionary.findWordInTree(dict.mRoot, word); in showWordInfo()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
DBinaryDictInputOutputTest.java42 final ArrayList<Node> result = BinaryDictInputOutput.flattenTree(dict.mRoot); in testFlattenNodes()
DFusionDictionaryTest.java75 final CharGroup cg = FusionDictionary.findWordInTree(dict.mRoot, word); in checkDictionary()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java79 resultDict.findWordInTree(resultDict.mRoot, "foo").getFrequency(), TEST_FREQ); in testGetRawDictWorks()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DUserHistoryDictIOUtils.java161 if (FusionDictionary.findWordInTree(fusionDict.mRoot, word1) == null) { in constructFusionDictionary()