Home
last modified time | relevance | path

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

123456

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DCursorPhotoSource.java41 protected ImageData naturalNext(ImageData current) { in naturalNext() argument
42 if (current.cursor == null || current.cursor.isClosed()) { in naturalNext()
43 openCursor(current); in naturalNext()
45 findPosition(current); in naturalNext()
46 current.cursor.moveToPosition(current.position); in naturalNext()
47 current.cursor.moveToNext(); in naturalNext()
49 if (!current.cursor.isAfterLast()) { in naturalNext()
50 data = unpackImageData(current.cursor, null); in naturalNext()
51 data.cursor = current.cursor; in naturalNext()
52 data.position = current.cursor.getPosition(); in naturalNext()
[all …]
DPhotoSourcePlexor.java75 protected ImageData naturalNext(ImageData current) { in naturalNext() argument
76 return current.naturalNext(); in naturalNext()
80 protected ImageData naturalPrevious(ImageData current) { in naturalPrevious() argument
81 return current.naturalPrevious(); in naturalPrevious()
85 protected void donePaging(ImageData current) { in donePaging() argument
86 current.donePaging(); in donePaging()
DPhotoSource.java283 public Bitmap naturalNext(Bitmap current, BitmapFactory.Options options, in naturalNext() argument
286 ImageData data = mImageMap.get(current); in naturalNext()
297 public Bitmap naturalPrevious(Bitmap current, BitmapFactory.Options options, in naturalPrevious() argument
300 ImageData data = mImageMap.get(current); in naturalPrevious()
301 if (current != null) { in naturalPrevious()
311 public void donePaging(Bitmap current) { in donePaging() argument
312 ImageData data = mImageMap.get(current); in donePaging()
327 protected abstract ImageData naturalNext(ImageData current); in naturalNext() argument
328 protected abstract ImageData naturalPrevious(ImageData current); in naturalPrevious() argument
329 protected abstract void donePaging(ImageData current); in donePaging() argument
DStockSource.java98 public ImageData naturalNext(ImageData current) { in naturalNext() argument
99 int idx = Integer.valueOf(current.id); in naturalNext()
105 public ImageData naturalPrevious(ImageData current) { in naturalPrevious() argument
106 int idx = Integer.valueOf(current.id); in naturalPrevious()
112 protected void donePaging(ImageData current) { in donePaging() argument
/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/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/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary_utils.cpp33 std::vector<DicNode> current; in getMaxProbabilityOfExactMatches() local
41 current.emplace_back(); in getMaxProbabilityOfExactMatches()
42 DicNodeUtils::initAsRoot(dictionaryStructurePolicy, prevWordIds, &current.front()); in getMaxProbabilityOfExactMatches()
46 for (const DicNode &dicNode : current) { in getMaxProbabilityOfExactMatches()
54 current.clear(); in getMaxProbabilityOfExactMatches()
55 current.swap(next); in getMaxProbabilityOfExactMatches()
59 for (const DicNode &dicNode : current) { in getMaxProbabilityOfExactMatches()
/packages/services/Car/
Dapicheck.mk114 $(filter-out current, \
138 $(car_module)-checkapi-current, \
139 $(car_module_api_dir)/current.txt, \
155 @echo Copying $(PRIVATE_MODULE) current.txt
156 $(hide) $(ACP) $< $(PRIVATE_API_DIR)/current.txt
173 $(filter-out system-current, \
197 $(car_module)-checksystemapi-current, \
198 $(car_module_api_dir)/system-current.txt, \
214 @echo Copying $(PRIVATE_MODULE) system-current.txt
215 $(hide) $(ACP) $< $(PRIVATE_API_DIR)/system-current.txt
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java140 private static void addDirectory(Context context, ZipOutputStream os, File current, in addDirectory() argument
142 for (File child : current.listFiles()) { in addDirectory()
168 private static void addFile(ZipOutputStream os, File current, String storedPath) in addFile() argument
170 Log.i(TAG, "Adding " + current.getAbsolutePath() + " ..."); in addFile()
171 final InputStream is = new FileInputStream(current); in addFile()
185 Log.i(TAG, "Added " + current.getAbsolutePath() + " as " + storedPath + in addFile()
/packages/apps/DeskClock/
DAndroid.mk13 LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/design/res
14 LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/appcompat/res
15 LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/gridlayout/res
16 LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/recyclerview/res
20 LOCAL_SDK_VERSION := current
/packages/services/Telephony/src/com/android/services/telephony/
DCdmaConferenceController.java103 for (CdmaConnection current : mCdmaConnections) { in add()
104 if (current.setHoldingForConference()) { in add()
105 connectionsToReset.add(current); in add()
113 for (CdmaConnection current : connectionsToReset) { in add()
114 current.resetStateForConference(); in add()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java662 MediaItem current = mModel.getMediaItem(0); in launchTinyPlanet() local
665 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchTinyPlanet()
679 MediaItem current = mModel.getMediaItem(0); in launchPhotoEditor() local
680 if (current == null || (current.getSupportedOperations() in launchPhotoEditor()
687 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchPhotoEditor()
701 MediaItem current = mModel.getMediaItem(0); in launchSimpleEditor() local
702 if (current == null || (current.getSupportedOperations() in launchSimpleEditor()
709 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchSimpleEditor()
1012 MediaItem current = mModel.getMediaItem(0); in onItemSelected() local
1016 if (current instanceof SnailItem) return true; in onItemSelected()
[all …]
/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/ExactCalculator/src/com/android/calculator2/
DCalculator.java936 int current = 0; in addChars() local
941 switchToInput(KeyMaps.keyForChar(moreChars.charAt(current))); in addChars()
943 while (current < len) { in addChars()
944 char c = moreChars.charAt(current); in addChars()
948 if (lastWasDigit && current != in addChars()
949 (expEnd = Evaluator.exponentEnd(moreChars, current))) { in addChars()
953 mEvaluator.addExponent(moreChars, current, expEnd); in addChars()
954 current = expEnd; in addChars()
959 if (current == 0 && (isDigit || k == R.id.dec_point) in addChars()
977 current += 2; in addChars()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImageSavingTask.java50 int current; field in ImageSavingTask.UpdateProgress
110 public void onProgress(int max, int current) { in doInBackground()
113 updateProgress.current = current; in doInBackground()
144 mProcessingService.updateProgress(progress.max, progress.current); in onUpdate()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DDaysOfWeek.java179 public int calculateDaysToPreviousAlarm(Calendar current) { in calculateDaysToPreviousAlarm() argument
188 int currentDayIndex = convertDayToBitIndex(current.get(Calendar.DAY_OF_WEEK)); in calculateDaysToPreviousAlarm()
208 public int calculateDaysToNextAlarm(Calendar current) { in calculateDaysToNextAlarm() argument
214 int currentDayIndex = convertDayToBitIndex(current.get(Calendar.DAY_OF_WEEK)); in calculateDaysToNextAlarm()
/packages/apps/TV/usbtuner/
DAndroid.mk31 $(TOP)/prebuilts/sdk/current/support/v7/recyclerview/res \
32 $(TOP)/prebuilts/sdk/current/support/v17/leanback/res
75 $(TOP)/prebuilts/sdk/current/support/v7/recyclerview/res \
76 $(TOP)/prebuilts/sdk/current/support/v17/leanback/res
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapFolderElement.java118 BluetoothMapFolderElement current = mParent; in getFullPath() local
119 while(current != null) { in getFullPath()
120 if(current.getParent() != null) { in getFullPath()
121 sb.insert(0, current.mName + "/"); in getFullPath()
123 current = current.getParent(); in getFullPath()
/packages/apps/ContactsCommon/src/com/android/contacts/common/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/Bluetooth/src/com/android/bluetooth/pbapclient/
DPhonebookPullRequest.java201 PhonebookEntry current = new PhonebookEntry(e); in onPullComplete() local
202 PhonebookEntry.Name key = current.name; in onPullComplete()
206 contactsToAdd.add(current); in onPullComplete()
207 } else if (!contact.equals(current)) { in onPullComplete()
212 contactsToAdd.add(current); in onPullComplete()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DDragListener.java68 State current = (State) array.getItem(origin); in onDrag() local
69 array.remove(current); in onDrag()
70 array.insert(current, pos); in onDrag()

123456