Searched defs:offset (Results 51 - 75 of 575) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_seek_synch.cpp208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3); local
210 offset >>= INBUF_ARRAY_INDEX_SHIFT;
211 uint8 *pElem = pVars->inputStream.pBuffer + offset;
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp69 void ABuffer::setRange(size_t offset, size_t size) { argument
70 CHECK_LE(offset, mCapacity);
71 CHECK_LE(offset + size, mCapacity);
73 mRangeOffset = offset;
/frameworks/base/core/java/android/bluetooth/le/
H A DResultStorageDescriptor.java50 * @param offset Offset from start of the advertise packet payload.
53 public ResultStorageDescriptor(int type, int offset, int length) { argument
55 mOffset = offset;
/frameworks/base/core/java/android/hardware/camera2/params/
H A DBlackLevelPattern.java35 * Create a new {@link BlackLevelPattern} from a given offset array.
37 * <p>The given offset array must contain offsets for each color channel in
58 * Return the color channel offset for a given index into the array of raw pixel values.
62 * @return a color channel offset.
79 * {@code offset}
80 * @param offset a non-negative offset into the array
82 * @throws IllegalArgumentException if the offset is invalid.
86 public void copyTo(int[] destination, int offset) { argument
88 if (offset <
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisCallback.java65 * @param offset The offset into {@code buffer} where the audio data starts.
71 public int audioAvailable(byte[] buffer, int offset, int length); argument
/frameworks/base/core/java/android/util/
H A DLogWriter.java64 @Override public void write(char[] buf, int offset, int count) { argument
66 char c = buf[offset + i];
/frameworks/base/core/java/android/view/inputmethod/
H A DCorrectionInfo.java33 * @param offset The offset in the edited text where the old and new text start.
37 public CorrectionInfo(int offset, CharSequence oldText, CharSequence newText) { argument
38 mOffset = offset;
50 * Return the offset position of this correction in the text. Both the {@link #getOldText()} and
51 * {@link #getNewText()} start at this offset.
/frameworks/base/core/java/com/android/internal/util/
H A DHexDump.java28 public static String dumpHexString(byte[] array, int offset, int length) argument
36 result.append(toHexString(offset));
38 for (int i = offset ; i < offset + length ; i++)
104 public static String toHexString(byte[] array, int offset, int length) argument
109 for (int i = offset ; i < offset + length; i++)
/frameworks/base/drm/java/android/drm/
H A DDrmOutputStream.java72 Os.lseek(mFd, status.offset, SEEK_SET);
93 public void write(byte[] buffer, int offset, int count) throws IOException { argument
94 Arrays.checkOffsetAndCount(buffer.length, offset, count);
101 System.arraycopy(buffer, offset, exactBuffer, 0, count);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_vertex_frame.cpp72 jint offset,
78 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset),
69 Java_android_filterfw_core_VertexFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java106 public synchronized int read(byte[] b, int offset, int length) throws IOException { argument
111 if ((offset | length) < 0 || length > b.length - offset) {
118 int offset1 = offset;
H A DPrivateOutputStream.java97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { argument
98 int offset1 = offset;
104 if ((offset | count) < 0 || count > buffer.length - offset) {
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20IdImpl.java19 public void glGenBuffers(int n, int[] buffers, int offset) { argument
20 GLES20.glGenBuffers(n, buffers, offset);
25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument
26 GLES20.glDeleteTextures(n, textures, offset);
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument
33 GLES20.glDeleteBuffers(n, buffers, offset);
38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { argument
39 GLES20.glDeleteFramebuffers(n, buffers, offset);
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DUsbAccessoryBulkTransport.java55 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument
59 return mConnection.bulkTransfer(mBulkInEndpoint, buffer, offset, count, -1);
63 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument
68 buffer, offset, count, TIMEOUT_MILLIS);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DColoredRectsActivity.java65 public RectsView(Context c, float offset, int color) { argument
67 mOffset = offset;
/frameworks/base/tools/aapt/
H A DCrunchCache.cpp42 // and offset our beginning pointer to the length of the sourcePath
48 int offset = 0; local
50 offset = 1;
51 relativePath = String8(rPathPtr + offset);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java114 /*package*/ static Bitmap nativeDecodeByteArray(byte[] data, int offset, argument
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DCharsets.java52 public static byte[] toAsciiBytes(char[] chars, int offset, int length) { argument
54 cb.put(chars, offset, length);
62 public static byte[] toIsoLatin1Bytes(char[] chars, int offset, int length) { argument
64 cb.put(chars, offset, length);
72 public static byte[] toUtf8Bytes(char[] chars, int offset, int length) { argument
74 cb.put(chars, offset, length);
82 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { argument
84 int end = offset + length;
86 for (int i = offset; i < end; ++i) {
102 public static void asciiBytesToChars(byte[] bytes, int offset, in argument
121 isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars) argument
[all...]
H A DUnsafeByteSequence.java50 public void write(byte[] buffer, int offset, int length) { argument
56 System.arraycopy(buffer, offset, bytes, count, length);
/frameworks/compile/mclinker/lib/LD/
H A DRelocator.cpp38 // 1. update the relocation target offset
40 uint64_t offset = input_sym->fragRef()->getOutputOffset(); local
41 pReloc.target() += offset;
58 FragmentRef::Offset undef_sym_pos = pReloc.targetRef().offset();
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureFBO.h64 off_t offset = (y * stride + x) * PIXEL_SIZE; local
65 buf[offset + 0] = r;
66 buf[offset + 1] = g;
67 buf[offset + 2] = b;
68 buf[offset + 3] = a;
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreatePbufferFromClientBuffer.cpp4 (JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) {
22 if (offset < 0) {
25 _exceptionMessage = "offset < 0";
28 _remaining = _env->GetArrayLength(attrib_list_ref) - offset;
31 attrib_list = attrib_list_base + offset;
67 (JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) {
72 return android_eglCreatePbufferFromClientBuffer(_env, _this, dpy, buftype, buffer, config, attrib_list_ref, offset);
3 android_eglCreatePbufferFromClientBuffer(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
66 android_eglCreatePbufferFromClientBufferInt(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java51 int tag = pack(jpeg, offset, 4, false);
52 count = pack(jpeg, offset - 2, 2, littleEndian);
62 has(jpeg, byteSize, offset + length - 1)
73 int offset = 0;
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
87 final int marker = jpeg.get(offset) & 0xFF;
93 offset++;
102 jpeg.advanceTo(offset - readBackwards);
107 length = pack(jpeg, offset,
187 pack(final InputStreamBuffer bytes, int offset, int length, final boolean littleEndian) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java46 int tag = pack(jpeg, offset, 4, false);
47 count = pack(jpeg, offset - 2, 2, littleEndian);
57 has(jpeg, byteSize, offset + length - 1)
68 int offset = 0;
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
82 final int marker = jpeg.get(offset) & 0xFF;
88 offset++;
97 jpeg.advanceTo(offset - readBackwards);
102 length = pack(jpeg, offset,
182 pack(final InputStreamBuffer bytes, int offset, int length, final boolean littleEndian) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSmsAddress.java35 * @param offset the offset of the Address-Length byte
41 public GsmSmsAddress(byte[] data, int offset, int length) throws ParseException { argument
43 System.arraycopy(data, offset, origBytes, 0, length);
54 offset + OFFSET_TOA);

Completed in 816 milliseconds

1234567891011>>