Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 189) 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/TV/libs/
DAndroid.bp19 sdk_version: "current",
26 sdk_version: "current",
49 sdk_version: "current",
64 sdk_version: "current",
71 sdk_version: "current",
77 sdk_version: "current",
84 sdk_version: "current",
91 sdk_version: "current",
103 sdk_version: "current",
109 sdk_version: "current",
[all …]
/packages/apps/Dialer/
DAndroid.mk216 LOCAL_SDK_VERSION := current
226 LOCAL_SDK_VERSION := current
236 LOCAL_SDK_VERSION := current
246 LOCAL_SDK_VERSION := current
256 LOCAL_SDK_VERSION := current
266 LOCAL_SDK_VERSION := current
276 LOCAL_SDK_VERSION := current
286 LOCAL_SDK_VERSION := current
296 LOCAL_SDK_VERSION := current
306 LOCAL_SDK_VERSION := current
[all …]
/packages/modules/vndk/apex/
DAndroid.bp16 name: "com.android.vndk.current",
17 manifest: "apex_manifest.current.json",
18 key: "com.android.vndk.current.key",
19 certificate: ":com.android.vndk.current.certificate",
24 name: "com.android.vndk.current.on_vendor",
25 base: "com.android.vndk.current",
30 name: "com.android.vndk.current.key",
31 public_key: "com.android.vndk.current.pubkey",
32 private_key: "com.android.vndk.current.pem",
36 name: "com.android.vndk.current.certificate",
[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/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/car-lib/
DAndroid.bp149 current: {
150 api_file: "api/current.txt",
173 current: {
174 api_file: "api/system-current.txt",
190 current: {
191 api_file: "api/test-current.txt",
223 sdk_version: "current",
270 // Export the api/system-current.txt file.
272 name: "car-api-system-current.txt",
277 "api/system-current.txt",
/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/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/WallpaperPicker2/
DAndroid.mk22 LOCAL_SDK_VERSION := current
31 LOCAL_SDK_VERSION := current
39 LOCAL_SDK_VERSION := current
55 LOCAL_SDK_VERSION := current
92 LOCAL_SDK_VERSION := current
/packages/services/Telephony/src/com/android/services/telephony/
DCdmaConferenceController.java110 for (CdmaConnection current : mCdmaConnections) { in add()
111 if (current.setHoldingForConference()) { in add()
112 connectionsToReset.add(current); in add()
120 for (CdmaConnection current : connectionsToReset) { in add()
121 current.resetStateForConference(); in add()
/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/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/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/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()
528 QueueItem current = mQueue.remove(mCurrentQueueIdx); in shuffle() local
530 mQueue.add(0, current); in shuffle()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java630 private int insertApnRecord(Uri uri, String apn, String name, int current, String numeric) { in insertApnRecord() argument
634 contentValues.put(Carriers.CURRENT, current); in insertApnRecord()
654 final int current = 1; in testEnforceManagedUri() local
661 current, numeric); in testEnforceManagedUri()
667 current, numeric); in testEnforceManagedUri()
778 final int current = 1; in testTelephonyUriDpcRecordAccessControl() local
787 current, numeric); in testTelephonyUriDpcRecordAccessControl()
793 current, numeric); in testTelephonyUriDpcRecordAccessControl()
801 current, Carriers.OWNED_BY_OTHERS); in testTelephonyUriDpcRecordAccessControl()
858 final int current = 1; in testDpcUri() local
[all …]
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java332 private TcpStat calculateLatestPacketsStat(@NonNull final SocketInfo current, in calculateLatestPacketsStat() argument
336 if ((current.fwmark & mNetworkMask) != mNetworkMark) { in calculateLatestPacketsStat()
340 if (current.tcpInfo == null) { in calculateLatestPacketsStat()
345 stat.sentCount = current.tcpInfo.mSegsOut; in calculateLatestPacketsStat()
346 stat.receivedCount = current.tcpInfo.mSegsIn; in calculateLatestPacketsStat()
347 stat.lostCount = current.tcpInfo.mLost; in calculateLatestPacketsStat()
348 stat.retransmitCount = current.tcpInfo.mRetransmits; in calculateLatestPacketsStat()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DPreferredEngineOptionsPreferenceController.java73 TextToSpeech.EngineInfo current = mEnginesHelper.getEngineInfo( in onCreateInternal()
75 if (TextUtils.equals(engine.label, current.label)) { in onCreateInternal()
108 TextToSpeech.EngineInfo current = mEnginesHelper.getEngineInfo(mTts.getCurrentEngine()); in updateState() local
111 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()

12345678