Home
last modified time | relevance | path

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

12345678

/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.uri = current.uri; 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/UniversalMediaPlayer/java/com/android/pump/fragment/
DOtherFragment.java174 int current = 0; in recalculateSpans() local
175 while (current < mOthers.size()) { in recalculateSpans()
176 int orientation = getOrientation(current); in recalculateSpans()
178 orientation = getOrientation(current + 1); in recalculateSpans()
181 mSpanSize.append(current++, SPAN_COUNT / 2); in recalculateSpans()
182 mSpanSize.append(current++, SPAN_COUNT / 2); in recalculateSpans()
185 mSpanSize.append(current++, SPAN_COUNT * 2 / 3); in recalculateSpans()
186 mSpanSize.append(current++, SPAN_COUNT * 1 / 3); in recalculateSpans()
189 mSpanSize.append(current++, SPAN_COUNT); in recalculateSpans()
192 orientation = getOrientation(current + 1); in recalculateSpans()
[all …]
/packages/apps/Dialer/
DAndroid.mk221 LOCAL_SDK_VERSION := current
231 LOCAL_SDK_VERSION := current
241 LOCAL_SDK_VERSION := current
251 LOCAL_SDK_VERSION := current
261 LOCAL_SDK_VERSION := current
271 LOCAL_SDK_VERSION := current
281 LOCAL_SDK_VERSION := current
291 LOCAL_SDK_VERSION := current
301 LOCAL_SDK_VERSION := current
311 LOCAL_SDK_VERSION := current
[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/apps/TV/libs/
DAndroid.bp19 sdk_version: "current",
40 sdk_version: "current",
55 sdk_version: "current",
62 sdk_version: "current",
68 sdk_version: "current",
80 sdk_version: "current",
87 sdk_version: "current",
93 sdk_version: "current",
118 sdk_version: "current",
136 sdk_version: "current",
[all …]
/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/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/WallpaperPicker2/
DAndroid.mk28 LOCAL_SDK_VERSION := current
34 LOCAL_SDK_VERSION := current
42 LOCAL_SDK_VERSION := current
50 LOCAL_SDK_VERSION := current
66 LOCAL_SDK_VERSION := current
107 LOCAL_SDK_VERSION := current
/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/services/Telephony/src/com/android/services/telephony/
DCdmaConferenceController.java109 for (CdmaConnection current : mCdmaConnections) { in add()
110 if (current.setHoldingForConference()) { in add()
111 connectionsToReset.add(current); in add()
119 for (CdmaConnection current : connectionsToReset) { in add()
120 current.resetStateForConference(); in add()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java606 private int insertApnRecord(Uri uri, String apn, String name, int current, String numeric) { in insertApnRecord() argument
610 contentValues.put(Carriers.CURRENT, current); in insertApnRecord()
628 final int current = 1; in testEnforceManagedUri() local
635 current, numeric); in testEnforceManagedUri()
641 current, numeric); in testEnforceManagedUri()
750 final int current = 1; in testTelephonyUriDpcRecordAccessControl() local
759 current, numeric); in testTelephonyUriDpcRecordAccessControl()
765 current, numeric); in testTelephonyUriDpcRecordAccessControl()
773 current, Carriers.OWNED_BY_OTHERS); in testTelephonyUriDpcRecordAccessControl()
828 final int current = 1; in testDpcUri() local
[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/services/Car/car-lib/
DAndroid.bp137 current: {
138 api_file: "api/current.txt",
164 current: {
165 api_file: "api/system-current.txt",
184 current: {
185 api_file: "api/test-current.txt",
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapFolderElement.java120 BluetoothMapFolderElement current = mParent; in getFullPath() local
121 while (current != null) { in getFullPath()
122 if (current.getParent() != null) { in getFullPath()
123 sb.insert(0, current.mName + "/"); in getFullPath()
125 current = current.getParent(); in getFullPath()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java329 QueueItem current = mQueue.get(mCurrentQueueIdx); in startPlayback() local
330 String path = current.getDescription().getExtras().getString(DataModel.PATH_KEY); in startPlayback()
331 MediaMetadata metadata = mDataModel.getMetadata(current.getDescription().getMediaId()); in startPlayback()
359 MediaDescription current = mQueue.get(mCurrentQueueIdx).getDescription(); in postMediaNotification() local
362 .setContentTitle(current.getTitle()) in postMediaNotification()
363 .setContentText(current.getSubtitle()) in postMediaNotification()
527 QueueItem current = mQueue.remove(mCurrentQueueIdx); in shuffle() local
529 mQueue.add(0, current); in shuffle()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillPickerFragment.java106 DefaultAppInfo current = AutofillHelper.getCurrentAutofill(context, candidates); in bind() local
117 if (current == appInfo) { in bind()
141 final DefaultAppInfo current = AutofillHelper.getCurrentAutofill(context, in onPreferenceTreeClick() local
143 final String currentKey = current != null ? current.getKey() : KEY_FOR_NONE; in onPreferenceTreeClick()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DPreferredEngineOptionsPreferenceController.java72 TextToSpeech.EngineInfo current = mEnginesHelper.getEngineInfo( in onCreateInternal()
74 if (TextUtils.equals(engineInfo.label, current.label)) { in onCreateInternal()
107 TextToSpeech.EngineInfo current = mEnginesHelper.getEngineInfo(mTts.getCurrentEngine()); in updateState() local
110 if (pref.getTitle().equals(current.label)) { in updateState()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DPumpActivity.java168 Pages current = mActivityPagerAdapter.getPages(); in selectPages() local
169 if (current != null) { in selectPages()
170 current.setCurrent(mViewPager.getCurrentItem()); in selectPages()
277 void setCurrent(int current) { in setCurrent() argument
278 mCurrent = current; in setCurrent()
/packages/apps/Car/Radio/src/com/android/car/radio/
DManualTunerFragment.java52 ProgramInfo current = mRadioController.getCurrentProgram().getValue(); in setUserVisibleHint()
53 if (current == null) return; in setUserVisibleHint()
54 mController.switchProgramType(ProgramType.fromSelector(current.getSelector())); in setUserVisibleHint()
/packages/apps/Car/libs/glide/
DAndroid.mk21 LOCAL_SDK_VERSION := current
33 LOCAL_SDK_VERSION := current
45 LOCAL_SDK_VERSION := current

12345678