/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | IfdData.java | 109 * Sets the offset of next IFD. 111 protected void setOffsetToNextIfd(int offset) { argument 112 mOffsetToNextIfd = offset; 116 * Gets the offset of next IFD. 124 * IFDs offset or thumbnail offset will be ignored.
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | UnsafeByteSequence.java | 50 public void write(byte[] buffer, int offset, int length) { argument 56 System.arraycopy(buffer, offset, bytes, count, length);
|
/frameworks/native/include/android/ |
H A D | asset_manager.h | 82 * Attempt to read 'count' bytes of data from the current offset. 89 * Seek to the specified offset within the asset data. 'whence' uses the 94 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 97 * Seek to the specified offset within the asset data. 'whence' uses the 105 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 155 * Uses a 64-bit number for the offset and length instead of 32-bit instead of
|
/frameworks/native/include/binder/ |
H A D | MemoryHeapBase.h | 45 MemoryHeapBase(int fd, size_t size, uint32_t flags = 0, uint32_t offset = 0); 89 status_t mapfd(int fd, size_t size, uint32_t offset = 0);
|
/frameworks/rs/driver/ |
H A D | rsdVertexArray.h | 37 size_t offset; member in class:RsdVertexArray::Attrib 46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | PoolingByteArrayOutputStream.java | 83 public synchronized void write(byte[] buffer, int offset, int len) { argument 85 super.write(buffer, offset, len);
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES20.cpp | 99 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument 119 *offset = _env->CallStaticIntMethod(nioAccessClass, 231 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { 246 if (offset < 0) { 249 _exceptionMessage = "offset < 0"; 252 _remaining = _env->GetArrayLength(params_ref) - offset; 260 _exceptionMessage = "length - offset < needed"; 265 params = params_base + offset; 513 /* void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data ) */ 516 (JNIEnv *_env, jobject _this, jint target, jint offset, jin 230 get(JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) argument 515 android_glBufferSubData__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint offset, jint size, jobject data_buf) argument 745 android_glDeleteBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument 831 android_glDeleteFramebuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument 926 android_glDeleteRenderbuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument 1021 android_glDeleteTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument 1174 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument 1297 android_glGenBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument 1392 android_glGenFramebuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument 1478 android_glGenRenderbuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument 1564 android_glGenTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument 2483 android_glGetBooleanv__I_3ZI(JNIEnv *_env, jobject _this, jint pname, jbooleanArray params_ref, jint offset) argument 2496 android_glGetBufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 2593 android_glGetFloatv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument 2606 android_glGetFramebufferAttachmentParameteriv__III_3II(JNIEnv *_env, jobject _this, jint target, jint attachment, jint pname, jintArray params_ref, jint offset) argument 2676 android_glGetIntegerv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument 2690 android_glGetProgramiv__II_3II(JNIEnv *_env, jobject _this, jint program, jint pname, jintArray params_ref, jint offset) argument 2797 android_glGetRenderbufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 2885 android_glGetShaderiv__II_3II(JNIEnv *_env, jobject _this, jint shader, jint pname, jintArray params_ref, jint offset) argument 3246 android_glGetTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument 3334 android_glGetTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 3422 android_glGetUniformfv__II_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jfloatArray params_ref, jint offset) argument 3510 android_glGetUniformiv__II_3II(JNIEnv *_env, jobject _this, jint program, jint location, jintArray params_ref, jint offset) argument 3632 android_glGetVertexAttribfv__II_3FI(JNIEnv *_env, jobject _this, jint index, jint pname, jfloatArray params_ref, jint offset) argument 3742 android_glGetVertexAttribiv__II_3II(JNIEnv *_env, jobject _this, jint index, jint pname, jintArray params_ref, jint offset) argument 4046 android_glShaderBinary__I_3IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint n, jintArray shaders_ref, jint offset, jint binaryformat, jobject binary_buf, jint length) argument 4287 android_glTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument 4386 android_glTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 4516 android_glUniform1fv__II_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jfloatArray v_ref, jint offset) argument 4614 android_glUniform1iv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray v_ref, jint offset) argument 4713 android_glUniform2fv__II_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jfloatArray v_ref, jint offset) argument 4812 android_glUniform2iv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray v_ref, jint offset) argument 4912 android_glUniform3fv__II_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jfloatArray v_ref, jint offset) argument 5012 android_glUniform3iv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray v_ref, jint offset) argument 5113 android_glUniform4fv__II_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jfloatArray v_ref, jint offset) argument 5214 android_glUniform4iv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray v_ref, jint offset) argument 5302 android_glUniformMatrix2fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument 5392 android_glUniformMatrix3fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument 5482 android_glUniformMatrix4fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument 5600 android_glVertexAttrib1fv__I_3FI(JNIEnv *_env, jobject _this, jint indx, jfloatArray values_ref, jint offset) argument 5697 android_glVertexAttrib2fv__I_3FI(JNIEnv *_env, jobject _this, jint indx, jfloatArray values_ref, jint offset) argument 5795 android_glVertexAttrib3fv__I_3FI(JNIEnv *_env, jobject _this, jint indx, jfloatArray values_ref, jint offset) argument 5894 android_glVertexAttrib4fv__I_3FI(JNIEnv *_env, jobject _this, jint indx, jfloatArray values_ref, jint offset) argument 5980 android_glVertexAttribPointer__IIIZII(JNIEnv *_env, jobject _this, jint indx, jint size, jint type, jboolean normalized, jint stride, jint offset) argument [all...] |
H A D | android_opengl_GLES10.cpp | 99 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument 119 *offset = _env->CallStaticIntMethod(nioAccessClass, 231 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) { 246 if (offset < 0) { 249 _exceptionMessage = "offset < 0"; 252 _remaining = _env->GetArrayLength(params_ref) - offset; 260 _exceptionMessage = "length - offset < needed"; 265 params = params_base + offset; 608 (JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) { 622 if (offset < 230 get(JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) argument 607 android_glDeleteTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument 841 android_glFogfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument 959 android_glFogxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument 1104 android_glGenTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument 1199 android_glGetIntegerv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument 1238 android_glLightModelfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument 1356 android_glLightModelxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument 1475 android_glLightfv__II_3FI(JNIEnv *_env, jobject _this, jint light, jint pname, jfloatArray params_ref, jint offset) argument 1624 android_glLightxv__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument 1787 android_glLoadMatrixf___3FI(JNIEnv *_env, jobject _this, jfloatArray m_ref, jint offset) argument 1851 android_glLoadMatrixx___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument 1935 android_glMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument 2080 android_glMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument 2223 android_glMultMatrixf___3FI(JNIEnv *_env, jobject _this, jfloatArray m_ref, jint offset) argument 2287 android_glMultMatrixx___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument 2693 android_glTexEnvfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument 2814 android_glTexEnvxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument [all...] |
H A D | BindTest.cpp | 250 offset_instanceString = fb->offset; 275 offset_mObj = findField(clazz, "mObj", "Ljava/lang/Object;")->offset; 276 offset_mBool = findField(clazz, "mBool", "Z" )->offset; 277 offset_mInt = findField(clazz, "mInt", "I")->offset; 278 offset_mString = findField(clazz, "mString", "Ljava/lang/String;")->offset; 279 offset_mDouble = findField(clazz, "mDouble", "D")->offset; 280 offset_mLong = findField(clazz, "mLong", "J")->offset;
|
/frameworks/native/libs/binder/ |
H A D | MemoryDealer.cpp | 115 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size); 133 status_t deallocate(size_t offset); 166 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) 167 : MemoryBase(heap, offset, size), mDealer(dealer) 170 void* const start_ptr = (void*)(intptr_t(heap->base()) + offset); 182 * and could alias some real allocation (their offset is zero). */ 242 const ssize_t offset = allocator()->allocate(size); local 243 if (offset >= 0) { 244 memory = new Allocation(this, heap(), offset, size); 249 void MemoryDealer::deallocate(size_t offset) argument 164 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument 296 ssize_t offset = alloc(size, flags); local 300 deallocate(size_t offset) argument [all...] |
H A D | MemoryHeapBase.cpp | 80 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_t flags, uint32_t offset) argument 86 mapfd(dup(fd), size, offset); local 102 status_t MemoryHeapBase::mapfd(int fd, size_t size, uint32_t offset) argument 114 PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset); 130 mOffset = offset;
|
/frameworks/av/media/libstagefright/ |
H A D | MediaBuffer.cpp | 135 void MediaBuffer::set_range(size_t offset, size_t length) { argument 136 if ((mGraphicBuffer == NULL) && (offset + length > mSize)) { 137 ALOGE("offset = %zu, length = %zu, mSize = %zu", offset, length, mSize); 139 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize)); 141 mRangeOffset = offset;
|
H A D | AMRExtractor.cpp | 101 off64_t offset, bool isWide, size_t *frameSize) { 103 if (source->readAt(offset, &header, 1) < 1) { 136 off64_t offset = mIsWide ? 9 : 6; local 142 while (offset < streamSize) { 143 if (getFrameSizeByOffset(source, offset, mIsWide, &frameSize) != OK) { 149 mOffsetTable[mOffsetTableLength] = offset - (mIsWide ? 9: 6); 153 offset += frameSize; 100 getFrameSizeByOffset(const sp<DataSource> &source, off64_t offset, bool isWide, size_t *frameSize) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 832 * @param offset Number of values to skip before the first color in the 844 public static Bitmap createBitmap(int colors[], int offset, int stride, argument 846 return createBitmap(null, colors, offset, stride, width, height, config); 857 * @param offset Number of values to skip before the first color in the 870 int offset, int stride, int width, int height, Config config) { 876 int lastScanline = offset + (height - 1) * stride; 878 if (offset < 0 || (offset + width > length) || lastScanline < 0 || 885 Bitmap bm = nativeCreate(colors, offset, stride, width, height, 1320 * @param offset Th 869 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument 1335 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1375 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument 1449 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1607 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument 1626 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1631 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument [all...] |
H A D | BitmapFactory.java | 504 * @param offset offset into imageData for where the decoder should begin 506 * @param length the number of bytes, beginning at offset, to parse 513 public static Bitmap decodeByteArray(byte[] data, int offset, int length, Options opts) { argument 514 if ((offset | length) < 0 || data.length < offset + length) { 522 bm = nativeDecodeByteArray(data, offset, length, opts); 539 * @param offset offset into imageData for where the decoder should begin 541 * @param length the number of bytes, beginning at offset, t 544 decodeByteArray(byte[] data, int offset, int length) argument 712 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument [all...] |
/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
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | OrientationHelper.java | 154 * @param view View to offset 155 * @param offset offset amount 157 public abstract void offsetChild(View view, int offset); argument 252 public void offsetChild(View view, int offset) { 253 view.offsetLeftAndRight(offset); 328 public void offsetChild(View view, int offset) { 329 view.offsetTopAndBottom(offset);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | get_pred_adv_b_add.cpp | 90 int offset, offset2; local 94 /* initialize offset to adjust pixel counter */ 96 offset = width - B_SIZE; /* offset for prev */ 97 offset2 = (pred_width_rnd >> 1) - 4; /* offset for pred_block */ 129 prev += offset; 152 prev += offset; 174 prev += offset; 190 int offset, offset2; local 196 /* initialize offset t 519 int offset, offset2; local 866 int offset, offset2; local [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IDynamicInterfaceManagement.c | 54 size_t offset = x->mOffset; local 55 void *thisItf = (char *) thisObject + offset; 162 size_t offset = x->mOffset; local 163 void *thisItf = (char *) thisObject + offset; 231 size_t offset = x->mOffset; local 232 void *thisItf = (char *) thisObject + offset; 310 size_t offset = x->mOffset; local 311 void *thisItf = (char *) thisObject + offset; 410 size_t offset = x->mOffset; local 411 void *thisItf = (char *) thiz + offset; [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPWriter.cpp | 366 buffer->setRange(buffer->offset(), buffer->size() + 28); 378 size_t offset = 8; local 380 data[offset++] = 1; // CNAME 383 data[offset++] = strlen(kCNAME); 385 memcpy(&data[offset], kCNAME, strlen(kCNAME)); 386 offset += strlen(kCNAME); 388 data[offset++] = 7; // NOTE 391 data[offset++] = strlen(kNOTE); 393 memcpy(&data[offset], kNOTE, strlen(kNOTE)); 394 offset 613 size_t offset = 1; local 682 size_t offset = 2; local [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | TiffIfd.cpp | 75 uint32_t TiffIfd::checkAndGetOffset(uint32_t offset) const { 90 if (offset == BAD_OFFSET) { 91 ALOGW("%s: Could not calculate IFD offsets, IFD %u had a bad initial offset.", 98 return offset + ifdSize; 101 status_t TiffIfd::writeData(uint32_t offset, /*out*/EndianOutput* out) const { argument 102 assert((offset % TIFF_WORD_SIZE) == 0); 105 ALOGV("%s: IFD %u written to offset %u", __FUNCTION__, mIfdId, offset ); 106 uint32_t valueOffset = checkAndGetOffset(offset); 123 // Writer IFD footer (4 bytes, offset t 296 setStripOffset(uint32_t offset) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 639 * Return the text offset of the beginning of the specified line ( 682 * Returns true if the character at offset and the preceding character 684 * @param offset the offset 688 public boolean isLevelBoundary(int offset) { argument 689 int line = getLineForOffset(offset); 698 if (offset == lineStart || offset == lineEnd) { 700 int runIndex = offset == lineStart ? 0 : runs.length - 2; 704 offset 718 isRtlCharAt(int offset) argument 741 primaryIsTrailingPrevious(int offset) argument 795 getPrimaryHorizontal(int offset) argument 804 getPrimaryHorizontal(int offset, boolean clamped) argument 814 getSecondaryHorizontal(int offset) argument 823 getSecondaryHorizontal(int offset, boolean clamped) argument 828 getHorizontal(int offset, boolean trailing, boolean clamped) argument 834 getHorizontal(int offset, boolean trailing, int line, boolean clamped) argument 1033 getLineForOffset(int offset) argument 1189 getOffsetToLeftOf(int offset) argument 1193 getOffsetToRightOf(int offset) argument 1249 getOffsetAtStartOf(int offset) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 152 // TODO: We could sort patchesToRemove by offset to merge 159 BufferBlock* block = new BufferBlock(patch->offset, patch->getSize()); 220 newMesh->offset = (GLintptr) (block->offset); 221 newMesh->textureOffset = newMesh->offset + gMeshTextureOffset; 222 glBufferSubData(GL_ARRAY_BUFFER, newMesh->offset, size, vertices); 234 block->offset += size; 281 dump.appendFormat("->(%d, %d)", block->offset, block->size);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | NativeCrashListener.java | 170 static int unpackInt(byte[] buf, int offset) { argument 173 b0 = ((int) buf[offset]) & 0xFF; // mask against sign extension 174 b1 = ((int) buf[offset+1]) & 0xFF; 175 b2 = ((int) buf[offset+2]) & 0xFF; 176 b3 = ((int) buf[offset+3]) & 0xFF; 180 static int readExactly(FileDescriptor fd, byte[] buffer, int offset, int numBytes) argument 184 int n = Os.read(fd, buffer, offset + totalRead, numBytes);
|
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSInfo.cpp | 124 mHeader.pragmaList.offset = initial_offset + 129 #define AFTER(_list) ((_list).offset + (_list).itemSize * (_list).count) 130 mHeader.objectSlotList.offset = AFTER(mHeader.pragmaList); 133 mHeader.exportVarNameList.offset = AFTER(mHeader.objectSlotList); 136 mHeader.exportFuncNameList.offset = AFTER(mHeader.exportVarNameList); 139 mHeader.exportForeachFuncList.offset = AFTER(mHeader.exportFuncNameList); 167 ALOGV("\toffset: %u", (_header).offset); \
|