/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
H A D | CharSequenceReader.java | 34 private int idx; field in class:CharSequenceReader 50 idx = 0; 60 mark = idx; 79 if (idx >= charSequence.length()) { 82 return charSequence.charAt(idx++); 96 if (idx >= charSequence.length()) { 123 idx = mark; 137 if (idx >= charSequence.length()) { 140 int dest = (int)Math.min(charSequence.length(), (idx + n)); 141 int count = dest - idx; [all...] |
H A D | ProxyInputStream.java | 107 * @param idx read ahead limit 109 public synchronized void mark(int idx) { argument 110 in.mark(idx);
|
H A D | ProxyReader.java | 107 * @param idx read ahead limit 110 public synchronized void mark(int idx) throws IOException { argument 111 in.mark(idx);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | StockSource.java | 87 int idx = Integer.valueOf(data.id); 88 is = mResources.openRawResource(PHOTOS[idx]); 99 int idx = Integer.valueOf(current.id); 100 idx = (idx + 1) % PHOTOS.length; 101 return mImageCache.get(idx); 106 int idx = Integer.valueOf(current.id); 107 idx = (PHOTOS.length + idx - 1) % PHOTOS.length; 108 return mImageCache.get(idx); [all...] |
H A D | PhotoDreamSettingsReceiver.java | 64 for (int idx = 0; idx < settings.length; idx++) { 65 settings[idx].setAlbumEnabled(albumId, shown);
|
H A D | PhotoTouchListener.java | 162 int idx = ev.findPointerIndex(mA); 163 float x = pts[2 * idx]; 164 float y = pts[2 * idx + 1]; 201 int idx = ev.findPointerIndex(mA); 202 float x0 = pts[2 * idx]; 203 float y0 = pts[2 * idx + 1];
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Fingerprint.java | 114 for (int idx = STREAM_ID_CS_PREFIX.length(); idx < STREAM_ID_CS_01_LENGTH; 115 idx += 2) { 116 int value = (toDigit(streamId, idx) << 4) | toDigit(streamId, idx + 1); 181 for (int idx = 0; idx < FINGERPRINT_BYTE_LENGTH; idx++) { 182 int value = bytes[idx];
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
H A D | EncoderUtil.java | 224 for (int idx = 0; idx < text.length(); idx++) { 225 char ch = text.charAt(idx); 361 int idx = 0; 363 for (; idx < end - 2; idx += 3) { 364 int data = (bytes[idx] & 0xff) << 16 | (bytes[idx + 1] & 0xff) << 8 365 | bytes[idx [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
H A D | ProxyOutputStream.java | 46 * @param idx the byte to write 49 public void write(int idx) throws IOException { argument 50 out.write(idx);
|
H A D | NullWriter.java | 44 * @param idx The character to write 46 public void write(int idx) { argument
|
H A D | ProxyWriter.java | 48 * @param idx the character to write 51 public void write(int idx) throws IOException { argument 52 out.write(idx);
|
H A D | FileWriterWithEncoding.java | 262 * @param idx the character to write 265 public void write(int idx) throws IOException { argument 266 out.write(idx);
|
H A D | LockableFileWriter.java | 278 * @param idx the character to write 281 public void write(int idx) throws IOException { argument 282 out.write(idx);
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
H A D | MosaicFrameProcessor.java | 210 int idx = mOldestIdx; 211 mTotalTranslationX -= mDeltaX[idx]; 212 mTotalTranslationY -= mDeltaY[idx]; 213 mTotalDeltaTime -= mDeltaTime[idx]; 214 mDeltaX[idx] = Math.abs(translationCurrX - mTranslationLastX); 215 mDeltaY[idx] = Math.abs(translationCurrY - mTranslationLastY); 216 mDeltaTime[idx] = (now - mLastProcessedFrameTimestamp) / 1000.0f; 217 mTotalTranslationX += mDeltaX[idx]; 218 mTotalTranslationY += mDeltaY[idx]; 219 mTotalDeltaTime += mDeltaTime[idx]; [all...] |
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_ssession/src/ |
H A D | SYNCML_DM_MultipleChoiceAlert.cc | 81 char idx[4]; // Max 3 digits index by default; local 85 snprintf(idx, 4, "%d", first); 86 this->defaultResponses.push_back(idx);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | MosaicFrameProcessor.java | 212 int idx = mOldestIdx; 213 mTotalTranslationX -= mDeltaX[idx]; 214 mTotalTranslationY -= mDeltaY[idx]; 215 mDeltaX[idx] = Math.abs(translationCurrX - mTranslationLastX); 216 mDeltaY[idx] = Math.abs(translationCurrY - mTranslationLastY); 217 mTotalTranslationX += mDeltaX[idx]; 218 mTotalTranslationY += mDeltaY[idx];
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | ScreensaverSettingsActivity.java | 52 final int idx = listPref.findIndexOfValue((String) newValue); 53 listPref.setSummary(listPref.getEntries()[idx]);
|
H A D | SettingsActivity.java | 164 final int idx = listPref.findIndexOfValue((String) newValue); 165 listPref.setSummary(listPref.getEntries()[idx]); 168 final int idx = listPref.findIndexOfValue((String) newValue); 169 listPref.setSummary(listPref.getEntries()[idx]); 178 final int idx = listPref.findIndexOfValue((String) newValue); 179 listPref.setSummary(listPref.getEntries()[idx]);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/unit/ |
H A D | PhoneAccountRegistrarTest.java | 194 private PhoneAccount.Builder makeQuickAccountBuilder(String id, int idx) { argument 197 "label" + idx 201 private PhoneAccount makeQuickAccount(String id, int idx) { argument 202 return makeQuickAccountBuilder(id, idx) 203 .setAddress(Uri.parse("http://foo.com/" + idx)) 204 .setSubscriptionAddress(Uri.parse("tel:555-000" + idx)) 205 .setCapabilities(idx) 206 .setIconResId(idx) 207 .setShortDescription("desc" + idx)
|
/packages/apps/OMA-DM/engine/jni/ |
H A D | DMServiceAlert.cc | 355 int idx = 0; local 357 idx = atoi(defaultResponses[i].c_str()) - 1; 358 if ( idx < size ) { 359 ds[idx] = true; 385 char idx[4]; // Max 3 digits index by default; local 390 snprintf(idx, 4, "%d", i + 1); 391 response->responses.push_back(idx);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastSettings.java | 149 final int idx = listPref.findIndexOfValue((String) newValue); 150 listPref.setSummary(listPref.getEntries()[idx]); 170 final int idx = listPref.findIndexOfValue((String) newValue); 171 listPref.setSummary(listPref.getEntries()[idx]);
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | Serializer.java | 237 int idx = 0; 240 buf[idx++] = (byte) (i & 0x7f); 245 while (idx > 1) { 246 out.write(buf[--idx] | 0x80);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | OpenWnnClauseConverterJAJP.java | 173 int idx = end - 1; 176 if (sentence[idx] != null) { 178 if (sentence[idx].frequency > sentence[start-1].frequency + CLAUSE_COST + FREQ_LEARN) { 183 if (sentence[idx].frequency > CLAUSE_COST + FREQ_LEARN) { 216 if (sentence[idx] == null || (sentence[idx].frequency < ws.frequency)) { 217 sentence[idx] = ws;
|
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
H A D | RecurrencePickerDialog.java | 762 int idx = Utils.getFirstDayOfWeek(getActivity()); 792 mWeekByDayButtons[idx] = (ToggleButton) mWeekGroup.getChildAt(i); 793 mWeekByDayButtons[idx].setTextOff(dayOfWeekString[TIME_DAY_TO_CALENDAR_DAY[idx]]); 794 mWeekByDayButtons[idx].setTextOn(dayOfWeekString[TIME_DAY_TO_CALENDAR_DAY[idx]]); 795 mWeekByDayButtons[idx].setOnCheckedChangeListener(this); 797 if (++idx >= 7) { 798 idx = 0; 808 mWeekByDayButtons[idx] [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndfdic.c | 155 NJ_UINT16 i, idx, yib, ret; local 175 idx = (NJ_UINT16)((*index - 1) * yib); 177 char_len = UTL_CHAR(wkc + idx); 183 NJ_CHAR_COPY(wky, wkc + idx + j); 192 *wky++ = (NJ_CHAR)(*(wkc + idx));
|