/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/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
H A D | VhalEventVerifier.java | 39 public final int idx; field in class:VhalEventVerifier.MismatchedEventPair 44 int idx) { 45 this.idx = idx; 89 resultBuilder.append("Index " + pair.idx + ": Expected " 43 MismatchedEventPair(VehiclePropValue expectedEvent, VehiclePropValue mismatchedEvent, int idx) argument
|
/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);
|
/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/services/Car/tools/emulator/ |
H A D | diagnostic_builder.py | 67 def addIntSensor(self, idx, value): 68 self.int32_values[idx] = value 69 self.bitmask.setBit(idx) 72 def addFloatSensor(self, idx, value): 73 self.float_values[idx] = value 74 self.bitmask.setBit(len(self.int32_values)+idx)
|
H A D | vhal_emulator_test.py | 66 def _generateTestValue(self, cfg, idx, origValue): 77 testValue = self._getMidpoint(cfg.area_configs[idx].min_int32_value, 78 cfg.area_configs[idx].max_int32_value) 84 testValue = self._getMidpoint(cfg.area_configs[idx].min_int64_value, 85 cfg.area_configs[idx].max_int64_value) 91 testValue = self._getMidpoint(cfg.area_configs[idx].min_float_value, 92 cfg.area_configs[idx].max_float_value) 215 idx = -1 216 while (idx == -1) | (areas != 0): 217 idx [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
H A D | AddressedMediaPlayer.java | 328 for (int idx = 0; idx < AvrcpConstants.UID_SIZE; idx++) { 329 folderDataNative.mItemUid[itemIndex * AvrcpConstants.UID_SIZE + idx] = uid[idx]; 352 for (int idx = 0; idx < maxAttributesRequested; idx++) { 357 isAllAttribRequested ? (idx + 1) : folderItemsReqObj.mAttrIDs[idx]; [all...] |
H A D | BrowsedMediaPlayer.java | 238 for (int idx = 1; idx <= AvrcpConstants.MAX_NUM_ATTR; idx++) { 239 attrReqIds.add(idx); /* attr id 0x00 is unused */ 243 for (int idx = 0; idx < mAttrReq.mNumAttr; idx++) { 244 attrReqIds.add(mAttrReq.mAttrIDs[idx]); 636 for (int idx = 0; idx < AvrcpConstant [all...] |
/packages/services/BuiltInPrintService/jni/ipphelper/ |
H A D | ippstatus_monitor.c | 341 int idx; local 342 for (idx = 0; idx < ippGetCount(attr); idx++) { 343 LOGD("before job-state-reason (%d): %s", idx, 344 ippGetString(attr, idx, NULL)); 383 int idx; local 384 for (idx = 0; ippGetCount(attr); idx++) { 385 LOGD("job-state-reason (%d): %s", idx, ippGetStrin [all...] |
H A D | ipphelper.c | 284 int idx = 0; local 315 for (idx = 0; idx < ippGetCount(attrptr); idx++) { 318 ippGetString(attrptr, idx, NULL)); 319 if (strncmp(ippGetString(attrptr, idx, NULL), IPP_PRNT_STATE_NONE, 333 } else if (strncmp(ippGetString(attrptr, idx, NULL), IPP_PRNT_STATE_SPOOL_FULL, 347 } else if (strncmp(ippGetString(attrptr, idx, NULL), IPP_PRNT_STATE_MARKER_SUPPLY_LOW, 350 } else if (strncmp(ippGetString(attrptr, idx, NULL), IPP_PRNT_STATE_TONER_LOW, 353 } else if (strncmp(ippGetString(attrptr, idx, NUL 640 int idx = 0; local 664 int idx = 0; local 721 int idx = 0; local 1166 int idx = 0; local [all...] |
/packages/services/Car/evs/sampleDriver/ |
H A D | EvsV4lCamera.cpp | 438 size_t idx = 0; local 450 for (idx = 0; idx < mBuffers.size(); idx++) { 451 if (!mBuffers[idx].inUse) { 452 if (mBuffers[idx].handle != nullptr) { 458 if (idx >= mBuffers.size()) { 463 mBuffers[idx].inUse = true; 481 buff.bufferId = idx; 482 buff.memHandle = mBuffers[idx] [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
H A D | ObexAppParameters.java | 80 int idx = 0; 84 ret[idx++] = entry.getKey(); 85 ret[idx++] = (byte) length; 86 System.arraycopy(entry.getValue(), 0, ret, idx, length); 87 idx += length;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | ObexAppParameters.java | 80 int idx = 0; 84 ret[idx++] = entry.getKey(); 85 ret[idx++] = (byte) length; 86 System.arraycopy(entry.getValue(), 0, ret, idx, length); 87 idx += length;
|
/packages/apps/Camera2/jni/ |
H A D | jpegutil.h | 243 for (int idx = plane_start; idx >= min(plane_start, plane_end) && 244 idx <= max(plane_start, plane_end); 245 idx += stride) { 246 buf_ptrs[i][outX] = plane_.data[idx];
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | Action.java | 248 long idx = 0; 250 idx = ++sActionIdx; 252 return idx;
|
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/ |
H A D | ProgramSelectorExt.java | 294 int idx = identifierType - ProgramSelector.IDENTIFIER_TYPE_VENDOR_START; 295 return URI_VENDOR_PREFIX + idx; 303 int idx; 305 idx = Integer.parseInt(typeUri.substring(URI_VENDOR_PREFIX.length())); 309 if (idx > ProgramSelector.IDENTIFIER_TYPE_VENDOR_END 313 return ProgramSelector.IDENTIFIER_TYPE_VENDOR_START + idx;
|