Searched refs:index (Results 276 - 300 of 638) sorted by relevance

<<11121314151617181920>>

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DFolder.java899 int index = 1;
900 f.folderUri = new FolderUri(Folder.getValidUri(split[index++]));
901 f.name = split[index++];
902 f.hasChildren = Integer.parseInt(split[index++]) != 0;
903 f.capabilities = Integer.parseInt(split[index++]);
904 f.syncWindow = Integer.parseInt(split[index++]);
905 f.conversationListUri = getValidUri(split[index++]);
906 f.childFoldersListUri = getValidUri(split[index++]);
907 f.unreadCount = Integer.parseInt(split[index++]);
908 f.totalCount = Integer.parseInt(split[index
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
H A DDeadKeyCombiner.java221 int index = text.length();
222 if (index <= 0) {
227 final int codePoint = Character.codePointBefore(text, index);
230 index -= Character.charCount(codePoint);
231 } while (index > 0);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DOpenWnnEngineEN.java104 * @param index Index of candidate
105 * @return A candidate; {@code null} if no candidate for the index.
107 private WnnWord getCandidate(int index) { argument
110 while (mConvResult.size() < PREDICT_LIMIT && index >= mConvResult.size()) {
136 if (index >= mConvResult.size()) {
150 if (index >= mConvResult.size()) {
153 return mConvResult.get(index);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java402 int index = mCurrentMatrixIndex;
404 m[index + 12] += m[index + 0] * x + m[index + 4] * y;
405 m[index + 13] += m[index + 1] * x + m[index + 5] * y;
406 m[index + 14] += m[index + 2] * x + m[index
[all...]
/packages/apps/TV/src/com/android/tv/dvr/data/
H A DScheduledRecording.java363 int index = -1;
365 .setId(c.getLong(++index))
366 .setPriority(c.getLong(++index))
367 .setType(recordingType(c.getString(++index)))
368 .setInputId(c.getString(++index))
369 .setChannelId(c.getLong(++index))
370 .setProgramId(c.getLong(++index))
371 .setProgramTitle(c.getString(++index))
372 .setStartTimeMs(c.getLong(++index))
373 .setEndTimeMs(c.getLong(++index))
[all...]
/packages/apps/Car/Radio/src/com/android/car/radio/
H A DRadioBackgroundScanner.java113 int index = mScannedStations.indexOf(station);
119 if (index == -1) {
122 mScannedStations.set(index, station);
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DCitySelectionActivity.java352 final TextView index = (TextView) view.findViewById(R.id.index);
356 view.setTag(new CityItemHolder(index, name, time, selected));
369 holder.index.setVisibility(showIndex ? View.VISIBLE : View.INVISIBLE);
373 holder.index.setText(city.getIndexString());
374 holder.index.setTextSize(TypedValue.COMPLEX_UNIT_SP, 24);
378 holder.index.setText(Utils.getGMTHourOffset(timeZone, false));
379 holder.index.setTextSize(TypedValue.COMPLEX_UNIT_SP, 14);
438 // Add a section if this position should show the section index.
570 // None of the original user selections should show their index
602 private final TextView index; field in class:CitySelectionActivity.CityAdapter.CityItemHolder
607 CityItemHolder(TextView index, TextView name, TextView time, CheckBox selected) argument
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DOverScroller.java671 final int index = (int) (NB_SAMPLES * x);
672 if (index < NB_SAMPLES) {
673 final float x_inf = (float) index / NB_SAMPLES;
674 final float x_sup = (float) (index + 1) / NB_SAMPLES;
675 final float t_inf = SPLINE_TIME[index];
676 final float t_sup = SPLINE_TIME[index + 1];
916 final int index = (int) (NB_SAMPLES * t);
919 if (index < NB_SAMPLES) {
920 final float t_inf = (float) index / NB_SAMPLES;
921 final float t_sup = (float) (index
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DClusterAlbumSet.java46 public MediaSet getSubMediaSet(int index) { argument
47 return mAlbums.get(index);
134 public void consume(int index, MediaItem item) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DManageCacheDrawer.java65 public int renderSlot(GLCanvas canvas, int index, int pass, int width, int height) { argument
66 AlbumSetEntry entry = mDataWindow.get(index);
89 renderRequestFlags |= renderOverlay(canvas, index, entry, width, height);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DInLineSettingKnob.java122 int index = mPreference.findIndexOfValue(mOverrideValue);
123 if (index != -1) {
124 mEntry.setText(mPreference.getEntries()[index]);
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
H A DDndCondition.java128 public void onActionClick(int index) { argument
129 if (index == 0) {
135 throw new IllegalArgumentException("Unexpected index " + index);
H A DHotspotCondition.java108 public void onActionClick(int index) { argument
109 if (index == 0) {
122 throw new IllegalArgumentException("Unexpected index " + index);
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DSpellCheckerPreference.java83 int index = value != null ? Integer.parseInt(value) : -1;
84 if (index == -1) {
88 SpellCheckerInfo sci = mScis[index];
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
H A DDevelopmentSettingsTest.java105 final List<SearchIndexableResource> index =
109 assertThat(index.size()).isEqualTo(1);
110 assertThat(index.get(0).xmlResId).isEqualTo(R.xml.development_prefs);
/packages/apps/TV/tests/common/src/com/android/tv/testing/
H A DProgramUtils.java62 int index = program.getIndex(timeMs, channelId);
63 timeMs = program.getStartTimeMs(index, channelId);
67 ProgramInfo programAt = program.build(context, index++);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationsInOutboxTipView.java139 final int index = entireString.indexOf(subString);
140 text.setSpan(new TextAppearanceSpan(getContext(), R.style.LinksInTipTextAppearance), index,
141 index + subString.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
H A Dheader_policy.cpp175 const int index = getIndexFromNgramType(ngramType); local
177 MAX_NGRAM_COUNT_KEYS[index], DEFAULT_MAX_NGRAM_COUNTS[index]);
/packages/inputmethods/LatinIME/native/jni/src/utils/
H A Dint_array_view.h71 AK_FORCE_INLINE int operator[](const size_t index) const {
72 ASSERT(index < mSize);
73 return mPtr[index];
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/
H A DSqlChecker.java125 private static char peek(String s, int index) { argument
126 return index < s.length() ? s.charAt(index) : '\0';
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DHelpers.java278 int index = hint.lastIndexOf('/') + 1;
279 if (index > 0) {
280 filename = hint.substring(index);
293 int index = filename.lastIndexOf('/') + 1;
294 if (index > 0) {
295 filename = filename.substring(index);
309 int index = decodedContentLocation.lastIndexOf('/') + 1;
310 if (index > 0) {
311 filename = decodedContentLocation.substring(index);
323 int index
[all...]
/packages/services/Car/car-lib/src/android/car/diagnostic/
H A DCarDiagnosticEvent.java436 int index = intValues.indexOfKey(sensor);
437 if (index < 0) return null;
438 return intValues.valueAt(index);
447 int index = floatValues.indexOfKey(sensor);
448 if (index < 0) return null;
449 return floatValues.valueAt(index);
457 int index = intValues.indexOfKey(sensor);
458 if (index < 0) return null;
459 return intValues.valueAt(index);
467 int index
[all...]
/packages/services/Car/service/src/com/android/car/
H A DCarRadioService.java169 public CarRadioPreset getPreset(int index) { argument
171 Log.d(TAG, "getPreset " + index);
173 return mRadioHal.getRadioPreset(index);
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
H A DMpegTsSampleExtractor.java139 public void selectTrack(int index) { argument
140 if (index == mCea708TextTrackIndex) {
144 mSampleExtractor.selectTrack(index);
148 public void deselectTrack(int index) { argument
149 if (index == mCea708TextTrackIndex) {
153 mSampleExtractor.deselectTrack(index);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Dtrie_map.h323 // Returns whether an entry for the index is existing by testing if the index-th bit in the
325 AK_FORCE_INLINE bool exists(const uint32_t bitmap, const int index) const {
326 return (bitmap & (1 << index)) != 0;
329 // Set index-th bit in the bitmap.
330 AK_FORCE_INLINE uint32_t setExist(const uint32_t bitmap, const int index) const {
331 return bitmap | (1 << index);
334 // Count set bits before index in the bitmap.
335 AK_FORCE_INLINE int popCount(const uint32_t bitmap, const int index) const {
336 return popCount(bitmap & ((1 << index)
[all...]

Completed in 758 milliseconds

<<11121314151617181920>>