Searched refs:offset (Results 76 - 100 of 900) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/pm/
H A DMacAuthenticatedInputStream.java71 public int read(byte[] buffer, int offset, int count) throws IOException { argument
72 int numRead = super.read(buffer, offset, count);
74 mMac.update(buffer, offset, numRead);
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.cpp30 bool NativeFrame::WriteData(const uint8_t* data, int offset, int size) { argument
31 if (size_ >= (offset + size)) {
32 memcpy(data_ + offset, data, size);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DPixelUtils.java28 * <p>The transformation is specified by specifying the initial offset in the output buffer, the
40 * @param offset The start offset in the output (in pixels)
48 int offset,
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride);
71 int offset,
44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
H A DBridgeBufferIterator.java37 public void seek(int offset) { argument
38 assert offset <= mSize;
39 mByteBuffer.position(offset);
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java207 public void glDeleteTextures(int n, int[] textures, int offset) { argument
209 mgl.glDeleteTextures(n, textures, offset);
297 public void glFogfv(int pname, float[] params, int offset) { argument
299 mgl.glFogfv(pname, params, offset);
315 public void glFogxv(int pname, int[] params, int offset) { argument
317 mgl.glFogxv(pname, params, offset);
347 public void glGenTextures(int n, int[] textures, int offset) { argument
349 mgl.glGenTextures(n, textures, offset);
365 public void glGetIntegerv(int pname, int[] params, int offset) { argument
367 mgl.glGetIntegerv(pname, params, offset);
396 glLightModelfv(int pname, float[] params, int offset) argument
414 glLightModelxv(int pname, int[] params, int offset) argument
432 glLightfv(int light, int pname, float[] params, int offset) argument
450 glLightxv(int light, int pname, int[] params, int offset) argument
480 glLoadMatrixf(float[] m, int offset) argument
492 glLoadMatrixx(int[] m, int offset) argument
516 glMaterialfv(int face, int pname, float[] params, int offset) argument
534 glMaterialxv(int face, int pname, int[] params, int offset) argument
552 glMultMatrixf(float[] m, int offset) argument
564 glMultMatrixx(int[] m, int offset) argument
749 glTexEnvfv(int target, int pname, float[] params, int offset) argument
767 glTexEnvxv(int target, int pname, int[] params, int offset) argument
800 glTexParameteriv(int target, int pname, int[] params, int offset) argument
846 glClipPlanef(int plane, float[] equation, int offset) argument
858 glClipPlanex(int plane, int[] equation, int offset) argument
879 glDrawTexfvOES(float[] coords, int offset) argument
897 glDrawTexivOES(int[] coords, int offset) argument
916 glDrawTexsvOES(short[] coords, int offset) argument
934 glDrawTexxvOES(int[] coords, int offset) argument
974 glBufferSubData(int target, int offset, int size, Buffer data) argument
985 glColorPointer(int size, int type, int stride, int offset) argument
991 glDeleteBuffers(int n, int[] buffers, int offset) argument
1003 glDrawElements(int mode, int count, int type, int offset) argument
1009 glGenBuffers(int n, int[] buffers, int offset) argument
1021 glGetBooleanv(int pname, boolean[] params, int offset) argument
1033 glGetBufferParameteriv(int target, int pname, int[] params, int offset) argument
1046 glGetClipPlanef(int pname, float[] eqn, int offset) argument
1058 glGetClipPlanex(int pname, int[] eqn, int offset) argument
1070 glGetFixedv(int pname, int[] params, int offset) argument
1082 glGetFloatv(int pname, float[] params, int offset) argument
1094 glGetLightfv(int light, int pname, float[] params, int offset) argument
1106 glGetLightxv(int light, int pname, int[] params, int offset) argument
1118 glGetMaterialfv(int face, int pname, float[] params, int offset) argument
1130 glGetMaterialxv(int face, int pname, int[] params, int offset) argument
1148 glGetTexEnviv(int env, int pname, int[] params, int offset) argument
1160 glGetTexEnvxv(int env, int pname, int[] params, int offset) argument
1172 glGetTexParameterfv(int target, int pname, float[] params, int offset) argument
1185 glGetTexParameteriv(int target, int pname, int[] params, int offset) argument
1198 glGetTexParameterxv(int target, int pname, int[] params, int offset) argument
1232 glNormalPointer(int type, int stride, int offset) argument
1244 glPointParameterfv(int pname, float[] params, int offset) argument
1262 glPointParameterxv(int pname, int[] params, int offset) argument
1280 glTexCoordPointer(int size, int type, int stride, int offset) argument
1292 glTexEnviv(int target, int pname, int[] params, int offset) argument
1304 glTexParameterfv(int target, int pname, float[] params, int offset) argument
1323 glTexParameterxv(int target, int pname, int[] params, int offset) argument
1335 glVertexPointer(int size, int type, int stride, int offset) argument
1360 glMatrixIndexPointerOES(int size, int type, int stride, int offset) argument
1374 glWeightPointerOES(int size, int type, int stride, int offset) argument
1425 glDeleteFramebuffersOES(int n, int[] framebuffers, int offset) argument
1439 glDeleteRenderbuffersOES(int n, int[] renderbuffers, int offset) argument
1476 glGenFramebuffersOES(int n, int[] framebuffers, int offset) argument
1490 glGenRenderbuffersOES(int n, int[] renderbuffers, int offset) argument
1504 glGetFramebufferAttachmentParameterivOES(int target, int attachment, int pname, int[] params, int offset) argument
1520 glGetRenderbufferParameterivOES(int target, int pname, int[] params, int offset) argument
1536 glGetTexGenfv(int coord, int pname, float[] params, int offset) argument
1550 glGetTexGeniv(int coord, int pname, int[] params, int offset) argument
1564 glGetTexGenxv(int coord, int pname, int[] params, int offset) argument
1609 glTexGenfv(int coord, int pname, float[] params, int offset) argument
1630 glTexGeniv(int coord, int pname, int[] params, int offset) argument
1651 glTexGenxv(int coord, int pname, int[] params, int offset) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DRggbChannelVector.java137 * {@code offset}
138 * @param offset
139 * a non-negative offset into the array
145 * offset.
147 public void copyTo(final float[] destination, final int offset) { argument
149 if (destination.length - offset < COUNT) {
153 destination[offset + RED] = mRed;
154 destination[offset + GREEN_EVEN] = mGreenEven;
155 destination[offset + GREEN_ODD] = mGreenOdd;
156 destination[offset
[all...]
/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/av/include/media/
H A DMidiIoWrapper.h29 MidiIoWrapper(int fd, off64_t offset, int64_t size);
34 int readAt(void *buffer, int offset, int size);
/frameworks/av/media/img_utils/src/
H A DByteArrayOutput.cpp32 status_t ByteArrayOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
33 if (mByteArray.appendArray(buf + offset, count) < 0) {
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java131 * To specify a different offset, use
165 * @param offset the index of the first byte in the buffer to send or receive
172 byte[] buffer, int offset, int length, int timeout) {
173 checkBounds(buffer, offset, length);
175 buffer, offset, length, timeout);
183 * To specify a different offset, use
205 * @param offset the index of the first byte in the buffer to send or receive
212 byte[] buffer, int offset, int length, int timeout) {
213 checkBounds(buffer, offset, length);
214 return native_bulk_request(endpoint.getAddress(), buffer, offset, lengt
171 controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument
211 bulkTransfer(UsbEndpoint endpoint, byte[] buffer, int offset, int length, int timeout) argument
260 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument
262 native_bulk_request(int endpoint, byte[] buffer, int offset, int length, int timeout) argument
[all...]
/frameworks/base/core/java/android/view/
H A DAccessibilityIterators.java95 public int[] following(int offset) { argument
100 if (offset >= textLegth) {
103 int start = offset;
121 public int[] preceding(int offset) { argument
126 if (offset <= 0) {
129 int end = offset;
185 public int[] following(int offset) { argument
190 if (offset >= mText.length()) {
193 int start = offset;
211 public int[] preceding(int offset) { argument
266 following(int offset) argument
293 preceding(int offset) argument
[all...]
/frameworks/base/media/java/android/media/
H A DIMediaHTTPConnection.aidl29 int readAt(long offset, int size);
/frameworks/minikin/libs/minikin/
H A DMeasurement.cpp32 size_t count, size_t offset) {
36 for (size_t i = start; i < offset; i++) {
44 if (offset < start + count && layout.getCharAdvance(offset - layoutStart) == 0.0f) {
49 for (nextCluster = offset + 1; nextCluster < start + count; nextCluster++) {
55 bool isAfter = i >= offset;
71 size_t offset) {
72 return getRunAdvance(layout, buf, start, start, count, offset);
76 * Essentially the inverse of getRunAdvance. Compute the value of offset for which the
31 getRunAdvance(Layout& layout, const uint16_t* buf, size_t layoutStart, size_t start, size_t count, size_t offset) argument
70 getRunAdvance(Layout& layout, const uint16_t* buf, size_t start, size_t count, size_t offset) argument
/frameworks/native/include/binder/
H A DMemoryBase.h33 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size);
35 virtual sp<IMemoryHeap> getMemory(ssize_t* offset, size_t* size) const;
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetBooleanv.cpp4 (JNIEnv *_env, jobject _this, jint pname, jbooleanArray params_ref, jint offset) {
6 _env, _this, pname, params_ref, offset);
3 android_glGetBooleanv__I_3ZI(JNIEnv *_env, jobject _this, jint pname, jbooleanArray params_ref, jint offset) argument
H A DglGetFloatv.cpp4 (JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) {
6 _env, _this, pname, params_ref, offset);
3 android_glGetFloatv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
H A DglGetIntegerv.cpp4 (JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) {
6 _env, _this, pname, params_ref, offset);
3 android_glGetIntegerv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGrid.java52 public int offset; field in class:StaggeredGrid.Location
59 public Location(int row, int offset, int size) { argument
61 this.offset = offset;
149 int offset;
153 offset = getLocation(mFirstVisibleIndex).offset;
158 offset = 0;
185 mProvider.addItem(mTmpItem[0], itemIndex, size, rowIndex, edge - offset);
190 offset
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp281 "at offset %zd",
314 "at offset %zd",
349 "offset %zd",
383 "offset %zd",
410 "syncword at offset %zd",
656 size_t offset = 0; local
657 while (offset < info.mLength) {
658 if (offset + 7 > mBuffer->size()) {
662 ABitReader bits(mBuffer->data() + offset, mBuffer->size() - offset);
1058 size_t offset = 0; local
1184 size_t offset = 3; local
1218 size_t offset = 0; local
[all...]
/frameworks/av/media/img_utils/include/img_utils/
H A DEndianUtils.h97 * EndianOutput. If the given offset is greater than zero, that many elements will
102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
104 virtual status_t write(const int8_t* buf, size_t offset, size_t count);
106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count);
108 virtual status_t write(const int16_t* buf, size_t offset, size_t count);
110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count);
112 virtual status_t write(const int32_t* buf, size_t offset, size_t count);
114 virtual status_t write(const uint64_t* buf, size_t offset, size_t count);
116 virtual status_t write(const int64_t* buf, size_t offset, size_t count);
118 virtual status_t write(const float* buf, size_t offset, size_
132 writeHelper(const T* buf, size_t offset, size_t count) argument
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp86 off64_t offset = 0; local
92 status_t err = getNextSubtitleInfo(&offset, &startTimeUs, &info);
126 off64_t *offset, int64_t *startTimeUs, TextInfo *info) {
132 if ((err = readNextLine(offset, &data)) != OK) {
139 if ((err = readNextLine(offset, &data)) != OK) {
156 info->offset = *offset;
159 if ((err = readNextLine(offset, &data)) != OK) {
173 info->textLen = *offset - info->offset;
125 getNextSubtitleInfo( off64_t *offset, int64_t *startTimeUs, TextInfo *info) argument
177 readNextLine(off64_t *offset, AString *data) argument
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java292 int offset
391 int offset
413 int offset
456 int offset
476 int offset
521 int offset
543 int offset
567 int offset
592 int offset
624 int offset
1184 glBufferSubData( int target, int offset, int size, java.nio.Buffer data ) argument
[all...]
/frameworks/av/include/drm/
H A DDrmConvertedStatus.h26 * data/checksum data and the offset. Offset is going to be used in the case of close
61 int offset; member in class:android::DrmConvertedStatus
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp77 void ABuffer::setRange(size_t offset, size_t size) { argument
78 CHECK_LE(offset, mCapacity);
79 CHECK_LE(offset + size, mCapacity);
81 mRangeOffset = offset;
/frameworks/av/media/libstagefright/include/
H A DESDS.h36 status_t getCodecSpecificOffset(size_t *offset, size_t *size) const;
60 size_t offset, size_t size,
64 status_t parseESDescriptor(size_t offset, size_t size);
65 status_t parseDecoderConfigDescriptor(size_t offset, size_t size);

Completed in 1225 milliseconds

1234567891011>>