Searched refs:offset (Results 226 - 250 of 980) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/midi/
H A DMidiInputPort.java76 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { argument
77 if (offset < 0 || count < 0 || offset + count > msg.length) {
78 throw new IllegalArgumentException("offset or count out of range");
88 int length = MidiPortImpl.packData(msg, offset, count, timestamp, mBuffer);
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.h38 // Write the specified data of the given size to the frame at the specified offset. The
40 bool WriteData(const uint8_t* data, int offset, int size);
/frameworks/base/services/net/java/android/net/netlink/
H A DNetlinkSocket.java138 public boolean sendMessage(byte[] bytes, int offset, int count) argument
140 return sendMessage(bytes, offset, count, 0);
149 public boolean sendMessage(byte[] bytes, int offset, int count, long timeoutMs) argument
162 return (count == Os.write(mDescriptor, bytes, offset, count));
/frameworks/compile/mclinker/lib/LD/
H A DBranchIslandFactory.cpp87 if ((pFragment.getOffset() < (*it).offset()) &&
88 ((pFragment.getOffset() + m_MaxFwdBranchRange) >= (*it).offset())) {
93 if ((pFragment.getOffset() > (*prev).offset()) &&
94 (bwd_off <= (int64_t)(*prev).offset())) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGuidanceStylingRelativeLayout.java61 int offset = guidanceTextContainerTop - mBreadcrumbView.getTop();
64 mBreadcrumbView.offsetTopAndBottom(offset);
67 mTitleView.offsetTopAndBottom(offset);
70 mDescriptionView.offsetTopAndBottom(offset);
/frameworks/wilhelm/src/android/
H A DBufferQueueSource.h40 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
50 // a monotonically increasing offset used to translate an offset from the beginning
51 // of the stream, to an offset in each buffer from the buffer queue source
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiTvClient.java384 void onReceived(int portId, int offset, int length, byte[] data); argument
407 public void onReceived(int portId, int offset, int length, byte[] data) {
408 listener.onReceived(portId, offset, length, data);
417 * @param offset offset in the in given data
418 * @param length length of data. offset + length should be bound to length of data.
422 public void sendMhlVendorCommand(int portId, int offset, int length, byte[] data) { argument
426 if (offset < 0 || offset >= VENDOR_DATA_SIZE) {
427 throw new IllegalArgumentException("Invalid offset
[all...]
/frameworks/base/core/java/android/util/
H A DEventLog.java104 int offset = mBuffer.getShort(HEADER_SIZE_OFFSET);
105 if (offset == 0) {
106 offset = V1_PAYLOAD_START;
108 return mBuffer.getInt(offset);
114 int offset = mBuffer.getShort(HEADER_SIZE_OFFSET);
115 if (offset == 0) {
116 offset = V1_PAYLOAD_START;
118 mBuffer.limit(offset + mBuffer.getShort(LENGTH_OFFSET));
119 mBuffer.position(offset + DATA_OFFSET); // Just after the tag.
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DAppFuseTest.java107 public long readObjectBytes(int inode, long offset, long size, byte[] bytes)
111 while (i < size && i + offset < fileBytes.length) {
112 bytes[i] = fileBytes[(int) (i + offset)];
117 return super.readObjectBytes(inode, offset, size, bytes);
149 long fileHandle, int inode, long offset, int size, byte[] bytes) {
151 resultBytes[(int)(offset + i)] = bytes[i];
214 long fileHandle, int inode, long offset, int size, byte[] bytes) {
245 public long readObjectBytes(int inode, long offset, long size, byte[] bytes) argument
251 public int writeObjectBytes(long fileHandle, int inode, long offset, int size, byte[] bytes) argument
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp48 static size_t getFrameSize(const sp<DataSource> &source, off64_t offset) { argument
55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE);
133 off64_t offset = 0, numFrames = 0; local
134 while (offset < streamSize) {
136 if ((frameSize = getFrameSize(mDataSource, offset)) == 0) {
140 SL_LOGE("AacAdtsExtractor() failed querying framesize at offset=%lld", (long long) offset);
144 offset += frameSize;
145 if (offset > streamSize) {
146 SL_LOGE("AacAdtsExtractor() frame of size %zu at offset
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp409 int offset = -1; local
433 offset = convSession->output.fromConvertData.errorPos;
437 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset);
444 int offset = -1; local
455 offset = convSession->output.fromCloseSession.fileOffset;
468 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset);
475 off64_t offset,
481 int offset,
499 -1 < ::lseek(fileDesc, offset, SEEK_SET) &&
547 // offset i
472 onOpenDecryptSession(int , DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t ) argument
653 onLseek(int , DecryptHandle* decryptHandle, off64_t offset, int whence) argument
673 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11Ext.cpp103 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
123 *offset = _env->CallStaticIntMethod(nioAccessClass,
346 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) {
361 if (offset < 0) {
364 _exceptionMessage = "offset < 0";
367 _remaining = _env->GetArrayLength(params_ref) - offset;
375 _exceptionMessage = "length - offset < needed";
380 params = params_base + offset;
518 (JNIEnv *_env, jobject _this, jshortArray coords_ref, jint offset) {
532 if (offset <
345 get(JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) argument
517 android_glDrawTexsvOES___3SI(JNIEnv *_env, jobject _this, jshortArray coords_ref, jint offset) argument
601 android_glDrawTexivOES___3II(JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) argument
685 android_glDrawTexxvOES___3II(JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) argument
782 android_glDrawTexfvOES___3FI(JNIEnv *_env, jobject _this, jfloatArray coords_ref, jint offset) argument
943 android_glClipPlanexOES__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
1041 android_glFogxvOES__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
1121 android_glGetClipPlanexOES__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray eqn_ref, jint offset) argument
1207 android_glGetFixedvOES__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
1273 android_glGetLightxvOES__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument
1341 android_glGetMaterialxvOES__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1409 android_glGetTexEnvxvOES__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
1477 android_glGetTexParameterxvOES__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
1555 android_glLightModelxvOES__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
1632 android_glLightxvOES__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument
1709 android_glLoadMatrixxOES___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument
1784 android_glMaterialxvOES__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1852 android_glMultMatrixxOES___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument
1964 android_glPointParameterxvOES__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
2093 android_glTexEnvxvOES__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
2172 android_glTexParameterxvOES__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
2272 android_glDeleteRenderbuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument
2358 android_glGenRenderbuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument
2456 android_glGetRenderbufferParameterivOES__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
2565 android_glDeleteFramebuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument
2651 android_glGenFramebuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument
2773 android_glGetFramebufferAttachmentParameterivOES__III_3II(JNIEnv *_env, jobject _this, jint target, jint attachment, jint pname, jintArray params_ref, jint offset) argument
2974 android_glClipPlanefOES__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
3040 android_glGetClipPlanefOES__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray eqn_ref, jint offset) argument
3146 android_glTexGenfvOES__II_3FI(JNIEnv *_env, jobject _this, jint coord, jint pname, jfloatArray params_ref, jint offset) argument
3225 android_glTexGenivOES__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
3304 android_glTexGenxvOES__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
3372 android_glGetTexGenfvOES__II_3FI(JNIEnv *_env, jobject _this, jint coord, jint pname, jfloatArray params_ref, jint offset) argument
3440 android_glGetTexGenivOES__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
3508 android_glGetTexGenxvOES__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp121 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
144 *offset = _env->CallStaticIntMethod(nioAccessClass,
185 jint offset; local
186 buf = getPointer(_env, buffer, &array, &remaining, &offset);
190 buf = (char*)buf + offset;
546 (JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) {
560 if (offset < 0) {
563 _exceptionMessage = "offset < 0";
566 _remaining = _env->GetArrayLength(textures_ref) - offset;
570 _exceptionMessage = "length - offset <
545 android_glDeleteTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument
779 android_glFogfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
925 android_glFogxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
1098 android_glGenTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument
1193 android_glGetIntegerv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
1966 android_glLightModelfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
2094 android_glLightModelxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
2223 android_glLightfv__II_3FI(JNIEnv *_env, jobject _this, jint light, jint pname, jfloatArray params_ref, jint offset) argument
2406 android_glLightxv__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument
2603 android_glLoadMatrixf___3FI(JNIEnv *_env, jobject _this, jfloatArray m_ref, jint offset) argument
2667 android_glLoadMatrixx___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument
2751 android_glMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
2906 android_glMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
3059 android_glMultMatrixf___3FI(JNIEnv *_env, jobject _this, jfloatArray m_ref, jint offset) argument
3123 android_glMultMatrixx___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument
3529 android_glTexEnvfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument
3672 android_glTexEnvxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
4137 android_glBufferSubData__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint offset, jint size, jobject data_buf) argument
4176 android_glClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
4262 android_glClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
4360 android_glColorPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
4372 android_glDeleteBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument
4458 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument
4476 android_glGenBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument
4562 android_glGetBooleanv__I_3ZI(JNIEnv *_env, jobject _this, jint pname, jbooleanArray params_ref, jint offset) argument
4628 android_glGetBufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
4644 android_glGetClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray eqn_ref, jint offset) argument
4710 android_glGetClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray eqn_ref, jint offset) argument
4776 android_glGetFixedv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
4842 android_glGetFloatv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
4908 android_glGetLightfv__II_3FI(JNIEnv *_env, jobject _this, jint light, jint pname, jfloatArray params_ref, jint offset) argument
5080 android_glGetLightxv__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument
5252 android_glGetMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
5396 android_glGetMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
5540 android_glGetTexEnviv__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
5672 android_glGetTexEnvxv__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
5804 android_glGetTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument
5892 android_glGetTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
5980 android_glGetTexParameterxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
6101 android_glNormalPointer__III(JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) argument
6122 android_glPointParameterfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
6218 android_glPointParameterxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
6327 android_glTexCoordPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
6350 android_glTexEnviv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
6482 android_glTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument
6581 android_glTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
6669 android_glTexParameterxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
6757 android_glVertexPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
6791 android_glDrawTexfvOES___3FI(JNIEnv *_env, jobject _this, jfloatArray coords_ref, jint offset) argument
6888 android_glDrawTexivOES___3II(JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) argument
6985 android_glDrawTexsvOES___3SI(JNIEnv *_env, jobject _this, jshortArray coords_ref, jint offset) argument
7082 android_glDrawTexxvOES___3II(JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) argument
7197 android_glMatrixIndexPointerOES__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
7233 android_glWeightPointerOES__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
7337 android_glDeleteFramebuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument
7433 android_glDeleteRenderbuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument
7578 android_glGenFramebuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument
7674 android_glGenRenderbuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument
7770 android_glGetFramebufferAttachmentParameterivOES__III_3II(JNIEnv *_env, jobject _this, jint target, jint attachment, jint pname, jintArray params_ref, jint offset) argument
7850 android_glGetRenderbufferParameterivOES__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
7928 android_glGetTexGenfv__II_3FI(JNIEnv *_env, jobject _this, jint coord, jint pname, jfloatArray params_ref, jint offset) argument
8006 android_glGetTexGeniv__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
8084 android_glGetTexGenxv__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
8227 android_glTexGenfv__II_3FI(JNIEnv *_env, jobject _this, jint coord, jint pname, jfloatArray params_ref, jint offset) argument
8321 android_glTexGeniv__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
8415 android_glTexGenxv__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
[all...]
H A Dandroid_opengl_GLES31.cpp101 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
121 *offset = _env->CallStaticIntMethod(nioAccessClass,
344 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) {
359 if (offset < 0) {
362 _exceptionMessage = "offset < 0";
365 _remaining = _env->GetArrayLength(params_ref) - offset;
373 _exceptionMessage = "length - offset < needed";
378 params = params_base + offset;
456 // 'indirect' is a byte offset, not a pointer. GL checks for negative and too-large values.
461 jniThrowException(_env, "java/lang/IllegalArgumentException", "indirect offset to
343 get(JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) argument
504 android_glGetFramebufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
572 android_glGetProgramInterfaceiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint programInterface, jint pname, jintArray params_ref, jint offset) argument
966 android_glDeleteProgramPipelines__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray pipelines_ref, jint offset) argument
1032 android_glGenProgramPipelines__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray pipelines_ref, jint offset) argument
1109 android_glGetProgramPipelineiv__II_3II(JNIEnv *_env, jobject _this, jint pipeline, jint pname, jintArray params_ref, jint offset) argument
1327 android_glProgramUniform1iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1397 android_glProgramUniform2iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1467 android_glProgramUniform3iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1537 android_glProgramUniform4iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1607 android_glProgramUniform1uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1677 android_glProgramUniform2uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1747 android_glProgramUniform3uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1817 android_glProgramUniform4uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1887 android_glProgramUniform1fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
1957 android_glProgramUniform2fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
2027 android_glProgramUniform3fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
2097 android_glProgramUniform4fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
2167 android_glProgramUniformMatrix2fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2239 android_glProgramUniformMatrix3fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2311 android_glProgramUniformMatrix4fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2383 android_glProgramUniformMatrix2x3fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2455 android_glProgramUniformMatrix3x2fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2527 android_glProgramUniformMatrix2x4fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2599 android_glProgramUniformMatrix4x2fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2671 android_glProgramUniformMatrix3x4fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2743 android_glProgramUniformMatrix4x3fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2858 android_glGetBooleani_v__II_3ZI(JNIEnv *_env, jobject _this, jint target, jint index, jbooleanArray data_ref, jint offset) argument
2958 android_glGetMultisamplefv__II_3FI(JNIEnv *_env, jobject _this, jint pname, jint index, jfloatArray val_ref, jint offset) argument
3036 android_glGetTexLevelParameteriv__III_3II(JNIEnv *_env, jobject _this, jint target, jint level, jint pname, jintArray params_ref, jint offset) argument
3106 android_glGetTexLevelParameterfv__III_3FI(JNIEnv *_env, jobject _this, jint target, jint level, jint pname, jfloatArray params_ref, jint offset) argument
3176 android_glBindVertexBuffer__IIJI(JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) argument
[all...]
/frameworks/av/media/libstagefright/
H A Davc_utils.cpp271 size_t offset = 0; local
274 for (; offset + 2 < size; ++offset) {
275 if (data[offset + 2] == 0x01 && data[offset] == 0x00
276 && data[offset + 1] == 0x00) {
280 if (offset + 2 >= size) {
281 *_data = &data[offset];
285 offset += 3;
287 size_t startOffset = offset;
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java26 * m[offset + 0] m[offset + 4] m[offset + 8] m[offset + 12]
27 * m[offset + 1] m[offset + 5] m[offset + 9] m[offset + 13]
28 * m[offset + 2] m[offset
323 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument
380 perspectiveM(float[] m, int offset, float fovy, float aspect, float zNear, float zFar) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp142 int32 offset; local
182 /* offset to (x,y) position in current luminance MB */
185 offset = (int32)ypos * width + xpos;
192 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3);
253 c_comp = video->currVop->yChan + offset;
453 /* x position in prediction data offset by motion vector */
458 /* y position in prediction data offset by motion vector */
463 cu_comp = video->currVop->uChan + (offset >> 2) + (xpos >> 2);
464 cv_comp = video->currVop->vChan + (offset >> 2) + (xpos >> 2);
559 int32 offset; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddatapart_encode.cpp44 Int offset = 0; local
111 getMotionCompensatedMB(video, ind_x, ind_y, offset);
130 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
168 offset += 16;
171 offset += (lx << 4) - width;
224 Int offset = video->offset; /* get current MB location */ local
317 getMotionCompensatedMB(video, ind_x, ind_y, offset);
341 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
419 video->offset
[all...]
H A Dcombined_encode.cpp45 Int offset = 0; local
139 getMotionCompensatedMB(video, ind_x, ind_y, offset);
159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
207 offset += 16;
210 offset += (lx << 4) - width;
277 Int offset = video->offset; /* get current MB location */ local
404 getMotionCompensatedMB(video, ind_x, ind_y, offset);
427 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
490 video->offset
[all...]
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp184 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/core/java/android/text/
H A DLayout.java684 * Return the text offset of the beginning of the specified line (
743 * Returns true if the character at offset and the preceding character
745 * @param offset the offset
749 public boolean isLevelBoundary(int offset) { argument
750 int line = getLineForOffset(offset);
759 if (offset == lineStart || offset == lineEnd) {
761 int runIndex = offset == lineStart ? 0 : runs.length - 2;
765 offset
779 isRtlCharAt(int offset) argument
808 getRunRange(int offset) argument
827 primaryIsTrailingPrevious(int offset) argument
881 getPrimaryHorizontal(int offset) argument
890 getPrimaryHorizontal(int offset, boolean clamped) argument
900 getSecondaryHorizontal(int offset) argument
909 getSecondaryHorizontal(int offset, boolean clamped) argument
914 getHorizontal(int offset, boolean primary) argument
918 getHorizontal(int offset, boolean trailing, boolean clamped) argument
924 getHorizontal(int offset, boolean trailing, int line, boolean clamped) argument
1123 getLineForOffset(int offset) argument
1309 getOffsetToLeftOf(int offset) argument
1313 getOffsetToRightOf(int offset) argument
1369 getOffsetAtStartOf(int offset) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DEditor.java517 * Returns the X offset to make the pointy top of the error point
531 int offset;
535 offset = - (dr != null ? dr.mDrawableSizeRight : 0) / 2 + (int) (25 * scale + 0.5f);
537 mTextView.getPaddingRight() + offset;
540 offset = (dr != null ? dr.mDrawableSizeLeft : 0) / 2 - (int) (25 * scale + 0.5f);
541 errorX = mTextView.getPaddingLeft() + offset;
548 * Returns the Y offset to make the pointy top of the error point
760 private int getWordStart(int offset) { argument
763 int retOffset = getWordIteratorWithText().prevBoundary(offset);
766 retOffset = getWordIteratorWithText().getPunctuationBeginning(offset);
777 getWordEnd(int offset) argument
960 getNextCursorOffset(int offset, boolean findAfterGivenOffset) argument
967 getCharClusterRange(int offset) argument
1056 isOffsetVisible(int offset) argument
4133 startTouchUpFilter(int offset) argument
4138 addPositionToTouchUpFilter(int offset) argument
4227 updateSelection(int offset) argument
4231 isAtRtlRun(@onNull Layout layout, int offset) argument
4236 getHorizontal(@onNull Layout layout, int offset) argument
4249 positionAtCursorOffset(int offset, boolean forceUpdatePosition) argument
4288 getCursorHorizontalPosition(Layout layout, int offset) argument
4526 getCursorHorizontalPosition(Layout layout, int offset) argument
4588 updateSelection(int offset) argument
4682 updateSelection(int offset) argument
4869 positionAtCursorOffset(int offset, boolean forceUpdatePosition) argument
4886 positionAndAdjustForCrossingHandles(int offset) argument
4936 isAtRtlRun(@onNull Layout layout, int offset) argument
4942 getHorizontal(@onNull Layout layout, int offset) argument
4946 getHorizontal(@onNull Layout layout, int offset, boolean startHandle) argument
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DABuffer.h40 size_t offset() const { return mRangeOffset; } function in struct:android::ABuffer
42 void setRange(size_t offset, size_t size);
/frameworks/av/media/img_utils/src/
H A DFileInput.cpp48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { argument
54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp);
H A DFileOutput.cpp47 status_t FileOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
53 ::fwrite(buf + offset, sizeof(uint8_t), count, mFp);

Completed in 769 milliseconds

1234567891011>>