/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ListMenuPresenter.java | 158 public void setItemIndexOffset(int offset) { argument 159 mItemIndexOffset = offset;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 58 jint offset, jint length, jboolean isShareable) { 64 SkMemoryStream* stream = new SkMemoryStream(ar.ptr() + offset, length, true); 57 nativeNewInstanceFromByteArray(JNIEnv* env, jobject, jbyteArray byteArray, jint offset, jint length, jboolean isShareable) argument
|
H A D | YuvToJpegEncoder.cpp | 105 int offset = (i >> 1) * (width >> 1); local 106 cb[i/2] = uRows + offset; 107 cr[i/2] = vRows + offset; 122 int offset = ((rowIndex >> 1) + row) * fStrides[1]; local 123 uint8_t* vu = vuPlanar + offset; 179 int offset = i * (width >> 1); local 180 cb[i] = uRows + offset; 181 cr[i] = vRows + offset;
|
/frameworks/base/core/jni/ |
H A D | android_media_JetPlayer.cpp | 166 jobject fileDescriptor, jlong offset, jlong length) 181 (long long)offset, (long long)length); // cast params to types used by EAS_FILE 165 android_media_JetPlayer_loadFromFileD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) argument
|
H A D | android_text_StaticLayout.cpp | 122 static jlong nLoadHyphenator(JNIEnv* env, jclass, jobject buffer, jint offset) { argument 127 bytebuf = reinterpret_cast<const uint8_t*>(rawbuf) + offset;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 515 * @param offset offset into imageData for where the decoder should begin 517 * @param length the number of bytes, beginning at offset, to parse 524 public static Bitmap decodeByteArray(byte[] data, int offset, int length, Options opts) { argument 525 if ((offset | length) < 0 || data.length < offset + length) { 533 bm = nativeDecodeByteArray(data, offset, length, opts); 550 * @param offset offset into imageData for where the decoder should begin 552 * @param length the number of bytes, beginning at offset, t 555 decodeByteArray(byte[] data, int offset, int length) argument 723 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument [all...] |
H A D | Rect.java | 292 public void offset(int dx, int dy) { method in class:Rect
|
H A D | RectF.java | 237 public void offset(float dx, float dy) { method in class:RectF
|
/frameworks/base/include/androidfw/ |
H A D | CursorWindow.h | 44 * an offset to the next chunk in a linked-list of additional chunk of RowSlots in case 46 * FieldSlot per column, which has the size, offset, and type of the data for that field. 73 uint32_t offset; member in struct:android::CursorWindow::FieldSlot::__anon968::__anon969 131 return static_cast<char*>(offsetToPtr(fieldSlot->data.buffer.offset)); 136 return offsetToPtr(fieldSlot->data.buffer.offset); 154 uint32_t offset; member in struct:android::CursorWindow::RowSlot 169 inline void* offsetToPtr(uint32_t offset) { argument 170 return static_cast<uint8_t*>(mData) + offset; 178 * Allocate a portion of the window. Returns the offset
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreSignatureSpiBase.java | 380 protected final boolean engineVerify(byte[] sigBytes, int offset, int len) argument 382 return engineVerify(ArrayUtils.subarray(sigBytes, offset, len));
|
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 184 LOG_WINDOW("Allocated row %u, rowSlot is at offset %u, fieldDir is %d bytes at offset %u\n", 186 rowSlot->offset = fieldDirOffset; 210 uint32_t offset = mHeader->freeOffset + padding; local 211 uint32_t nextFreeOffset = offset + size; 220 return offset; 269 FieldSlot* fieldDir = static_cast<FieldSlot*>(offsetToPtr(rowSlot->offset)); 293 uint32_t offset = alloc(size); local 294 if (!offset) { 298 memcpy(offsetToPtr(offset), valu [all...] |
/frameworks/base/libs/hwui/ |
H A D | FrameInfo.h | 143 int64_t offset = get(FrameInfoIndex::SyncStart) local 145 if (offset > 0) { 146 gap -= offset;
|
H A D | PatchCache.h | 149 BufferBlock(uint32_t offset, uint32_t size): offset(offset), size(size), next(nullptr) { argument 152 uint32_t offset; member in struct:android::uirenderer::PatchCache::BufferBlock
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 229 * @param offset the offset into the file where the data to be extracted starts, in bytes 233 @NonNull FileDescriptor fd, long offset, long length) throws IOException; 504 * starting at the given offset. 511 public native int readSampleData(@NonNull ByteBuffer byteBuf, int offset); argument 232 setDataSource( @onNull FileDescriptor fd, long offset, long length) argument
|
H A D | MediaHTTPConnection.java | 170 private void seekTo(long offset) throws IOException { argument 200 if (offset > 0) { 202 "Range", "bytes=" + offset + "-"); 288 if (offset > 0 && response != HttpURLConnection.HTTP_PARTIAL) { 297 mCurrentOffset = offset; 309 public int readAt(long offset, int size) { argument 310 return native_readAt(offset, size); 313 private int readAt(long offset, byte[] data, int size) { argument 320 if (offset != mCurrentOffset) { 321 seekTo(offset); 403 native_readAt(long offset, int size) argument [all...] |
H A D | MediaMetadataRetriever.java | 115 * @param offset the offset into the file where the data to be played starts, 121 public native void setDataSource(FileDescriptor fd, long offset, long length) argument
|
H A D | MediaMuxer.java | 109 int offset, int size, long presentationTimeUs, @MediaCodec.BufferFlag int flags); 458 if (bufferInfo.size < 0 || bufferInfo.offset < 0 459 || (bufferInfo.offset + bufferInfo.size) > byteBuf.capacity() 462 " valid buffer offset, size and presentation time"); 474 bufferInfo.offset, bufferInfo.size, 107 nativeWriteSampleData( long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, int offset, int size, long presentationTimeUs, @MediaCodec.BufferFlag int flags) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 75 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) { 108 if (dstSize < (offset + size)) { 109 ALOGE("writeSampleData saw wrong dstSize %lld, size %d, offset %d", 110 (long long)dstSize, size, offset); 119 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, size); 73 android_media_MediaMuxer_writeSampleData( JNIEnv *env, jclass , jlong nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument
|
/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool.cpp | 51 jlong offset, jlong length, jint priority) 57 int64_t(offset), int64_t(length), int(priority)); 50 android_media_SoundPool_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length, jint priority) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeFrame.java | 142 // TODO: This function may be a bit confusing: Is the offset the target or source offset? Maybe 145 public void setData(ByteBuffer buffer, int offset, int length) { argument 148 if ((length + offset) > buffer.limit()) { 150 (length + offset) + " bytes given, but only " + buffer.limit() + 156 } else if (!setNativeData(bytes, offset, length)) { 242 private native boolean setNativeData(byte[] data, int offset, int length); argument
|
H A D | SerializedFrame.java | 226 public void setData(ByteBuffer buffer, int offset, int length) { argument 228 setGenericObjectValue(ByteBuffer.wrap(buffer.array(), offset, length));
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_frame.cpp | 115 jint offset, 121 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), length); 112 Java_android_filterfw_core_GLFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
|
H A D | jni_native_frame.cpp | 56 jint offset, 62 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), 53 Java_android_filterfw_core_NativeFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 248 // offset and stride to select the correct data portion. 254 // offset: The offset of the first element. 263 int offset, 278 int offset, 416 int offset; member in struct:android::filterfw::ShaderProgram::VertexAttrib
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | BassBoostTest.java | 209 private int byteArrayToInt(byte[] valueBuf, int offset) { argument 212 return converter.getInt(offset); 215 private short byteArrayToShort(byte[] valueBuf, int offset) { argument 218 return converter.getShort(offset);
|