/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | Folder.java | 899 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 D | DeadKeyCombiner.java | 221 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 D | OpenWnnEngineEN.java | 104 * @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 D | GLES20Canvas.java | 402 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 D | ScheduledRecording.java | 363 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 D | RadioBackgroundScanner.java | 113 int index = mScannedStations.indexOf(station); 119 if (index == -1) { 122 mScannedStations.set(index, station);
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
H A D | CitySelectionActivity.java | 352 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 D | OverScroller.java | 671 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 D | ClusterAlbumSet.java | 46 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 D | ManageCacheDrawer.java | 65 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 D | InLineSettingKnob.java | 122 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 D | DndCondition.java | 128 public void onActionClick(int index) { argument 129 if (index == 0) { 135 throw new IllegalArgumentException("Unexpected index " + index);
|
H A D | HotspotCondition.java | 108 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 D | SpellCheckerPreference.java | 83 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 D | DevelopmentSettingsTest.java | 105 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 D | ProgramUtils.java | 62 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 D | ConversationsInOutboxTipView.java | 139 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 D | header_policy.cpp | 175 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 D | int_array_view.h | 71 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 D | SqlChecker.java | 125 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 D | Helpers.java | 278 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 D | CarDiagnosticEvent.java | 436 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 D | CarRadioService.java | 169 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 D | MpegTsSampleExtractor.java | 139 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 D | trie_map.h | 323 // 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...] |