Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DAbstractSuggestionWrapper.java28 protected abstract Suggestion current(); in current() method in AbstractSuggestionWrapper
31 return current().getShortcutId(); in getShortcutId()
35 return current().getSuggestionFormat(); in getSuggestionFormat()
39 return current().getSuggestionIcon1(); in getSuggestionIcon1()
43 return current().getSuggestionIcon2(); in getSuggestionIcon2()
47 return current().getSuggestionIntentAction(); in getSuggestionIntentAction()
51 return current().getSuggestionIntentComponent(); in getSuggestionIntentComponent()
55 return current().getSuggestionIntentDataString(); in getSuggestionIntentDataString()
59 return current().getSuggestionIntentExtraData(); in getSuggestionIntentExtraData()
63 return current().getSuggestionLogType(); in getSuggestionLogType()
[all …]
/packages/apps/Browser/src/com/android/browser/
DTabControl.java173 for (Tab current : mTabs) { in addPreloadedTab()
174 if (current != null && current.getId() == tab.getId()) { in addPreloadedTab()
176 + current.toString()); in addPreloadedTab()
245 Tab current = getCurrentTab(); in removeTab() local
251 if (current == t) { in removeTab()
257 mCurrentTab = getTabPosition(current); in removeTab()
326 Tab current = getCurrentTab(); in saveState() local
328 if (current != null) { in saveState()
329 cid = current.getId(); in saveState()
347 long current = -1; in canRestoreState() local
[all …]
DIntentHandler.java67 Tab current = mTabControl.getCurrentTab(); in onNewIntent() local
70 if (current == null) { in onNewIntent()
72 current = mTabControl.getTab(0); in onNewIntent()
73 if (current == null) { in onNewIntent()
77 mController.setActiveTab(current); in onNewIntent()
156 if (current != appTab) { in onNewIntent()
178 current.getWebViewClassic().dumpDomTree(false); in onNewIntent()
180 current.getWebViewClassic().dumpDomTree(true); in onNewIntent()
182 current.getWebViewClassic().dumpRenderTree(false); in onNewIntent()
184 current.getWebViewClassic().dumpRenderTree(true); in onNewIntent()
[all …]
DController.java697 Tab current = mTabControl.getCurrentTab(); in onResume() local
698 if (current != null) { in onResume()
699 current.resume(); in onResume()
700 resumeWebViewTimers(current); in onResume()
1633 Tab current = mTabControl.getCurrentTab(); in onOptionsItemSelected() local
1634 loadUrl(current, mSettings.getHomePage()); in onOptionsItemSelected()
2294 Tab current = mTabControl.getCurrentTab(); in closeEmptyTab() local
2295 if (current != null in closeEmptyTab()
2296 && current.getWebView().copyBackForwardList().getSize() == 0) { in closeEmptyTab()
2495 final Tab current = mTabControl.getCurrentTab(); in closeCurrentTab() local
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPathMatcher.java34 Node current = mRoot; in add() local
36 current = current.addChild(segments[i]); in add()
38 current.setKind(kind); in add()
44 Node current = mRoot; in match() local
46 Node next = current.getChild(segments[i]); in match()
48 next = current.getChild("*"); in match()
55 current = next; in match()
57 return current.getKind(); in match()
DPath.java103 Path current = sRoot; in fromString() local
105 current = current.getChild(segments[i]); in fromString()
107 return current; in fromString()
190 Path current = this; in getPrefixPath() local
191 if (current == sRoot) { in getPrefixPath()
194 while (current.mParent != sRoot) { in getPrefixPath()
195 current = current.mParent; in getPrefixPath()
197 return current; in getPrefixPath()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c577 NJ_UINT32 current,hindo_max_data, bottom, next; in search_node() local
845 loctset->loct.current = 0; in search_node()
968 current = j; in search_node()
980 hindo_max_data = current; in search_node()
985 current += j; in search_node()
991 loctset->loct.current = hindo_max_data; in search_node()
1001 NJ_INT16 i, current = 0; in bdic_search_data() local
1006 data += loctset->loct.top + loctset->loct.current; in bdic_search_data()
1020 current += i; in bdic_search_data()
1036 loctset->loct.current += current; in bdic_search_data()
[all …]
Dndldic.c927 NJ_UINT16 current, from, to; in get_cand_by_sequential() local
954 current = from; in get_cand_by_sequential()
957 current = (NJ_UINT16)(loctset->loct.current + 1); in get_cand_by_sequential()
965 p = ptr + (current * NJ_INDEX_SIZE); in get_cand_by_sequential()
967 while (current <= loctset->loct.bottom) { in get_cand_by_sequential()
1010 loctset->loct.current = current; in get_cand_by_sequential()
1039 loctset->loct.current = current; in get_cand_by_sequential()
1049 current++; in get_cand_by_sequential()
1061 NJ_UINT32 max_value, eval, current; in get_cand_by_evaluate() local
1077 current = 0; in get_cand_by_evaluate()
[all …]
Dndfdic.c87 offset = loctset->loct.current; in search_data()
129 loctset->loct.current = offset; in search_data()
131 … hindo = DATA_HINDO(STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current); in search_data()
329 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current; in njd_f_get_word()
370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_stroke()
413 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_candidate()
/packages/apps/Calculator/src/com/android/calculator2/
DHistory.java75 current().setEdited(text); in update()
95 current().clearEdited(); in enter()
107 HistoryEntry current() { in current() method in History
112 return current().getEdited(); in getText()
116 return current().getBase(); in getBase()
DPanelSwitcher.java83 void setCurrentIndex(int current) { in setCurrentIndex() argument
84 boolean changed = mCurrentView != current; in setCurrentIndex()
85 mCurrentView = current; in setCurrentIndex()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java128 private static void addDirectory(Context context, ZipOutputStream os, File current, in addDirectory() argument
130 for (File child : current.listFiles()) { in addDirectory()
156 private static void addFile(ZipOutputStream os, File current, String storedPath) in addFile() argument
158 Log.i(TAG, "Adding " + current.getAbsolutePath() + " ..."); in addFile()
159 final InputStream is = new FileInputStream(current); in addFile()
173 Log.i(TAG, "Added " + current.getAbsolutePath() + " as " + storedPath + in addFile()
/packages/apps/Music/src/com/android/music/
DSortCursor.java77 String current = mCursors[j].getString(mSortColumns[j]); in SortCursor() local
78 if (mCursor == null || current.compareToIgnoreCase(smallest) < 0) { in SortCursor()
79 smallest = current; in SortCursor()
161 String current = mCursors[j].getString(mSortColumns[j]); in onMove() local
162 if (smallestIdx < 0 || current.compareToIgnoreCase(smallest) < 0) { in onMove()
163 smallest = current; in onMove()
/packages/apps/Contacts/src/com/android/contacts/util/
DStopWatch.java76 final long current = mTimes.get(i); in stopAndLog() local
79 sb.append((current - last)); in stopAndLog()
81 last = current; in stopAndLog()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DBitmapCache.java56 int current = 0; in getOldestPosition() local
60 current = i; in getOldestPosition()
63 return current; in getOldestPosition()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEmailAsyncTask.java80 /* package */ void cancelOthers(EmailAsyncTask<?, ?, ?> current) { in cancelOthers() argument
81 final Class<?> clazz = current.getClass(); in cancelOthers()
86 if ((task != current) && task.getClass().equals(clazz)) { in cancelOthers()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java175 mAdapter.setCheckedItem(data.current); in onLoadFinished()
178 dialog.getListView().setItemChecked(data.current, true); in onLoadFinished()
320 keyboards.current = i; in loadInBackground()
328 keyboards.current = 0; in loadInBackground()
348 public int current = -1; field in KeyboardLayoutDialogFragment.Keyboards
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportProcessor.java164 int current = 1; // 1-origin in runInternal() local
186 if (current % 100 == 1) { in runInternal()
187 doProgressNotification(uri, total, current); in runInternal()
189 current++; in runInternal()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java680 MediaItem current = mModel.getMediaItem(0); in launchTinyPlanet() local
683 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchTinyPlanet()
699 MediaItem current = mModel.getMediaItem(0); in launchPhotoEditor() local
700 if (current == null || (current.getSupportedOperations() in launchPhotoEditor()
707 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchPhotoEditor()
1020 MediaItem current = mModel.getMediaItem(0); in onItemSelected() local
1022 if (current == null) { in onItemSelected()
1028 Path path = current.getPath(); in onItemSelected()
1052 intent.setDataAndType(manager.getContentUri(path), current.getMimeType()) in onItemSelected()
1054 activity.startActivityForResult(intent, PicasaSource.isPicasaImage(current) in onItemSelected()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java168 long current = 0; in updateWithLocked() local
173 current += info.mCurrentBytes; in updateWithLocked()
180 final int percent = (int) ((current * 100) / total); in updateWithLocked()
184 final long remainingMillis = ((total - current) * 1000) / speed; in updateWithLocked()
/packages/experimental/CameraPreviewTest/
DAndroid.mk25 LOCAL_SDK_VERSION := current
/packages/apps/QuickSearchBox/tests/naughty/
DAndroid.mk22 LOCAL_SDK_VERSION := current
/packages/apps/QuickSearchBox/benchmarks/
DAndroid.mk22 LOCAL_SDK_VERSION := current
/packages/apps/Music/tests/
DAndroid.mk16 LOCAL_SDK_VERSION := current
/packages/apps/Camera/src/com/android/camera/
DLocationManager.java56 Location l = mLocationListeners[i].current(); in getCurrentLocation()
177 public Location current() { in current() method in LocationManager.LocationListener

123