Searched refs:offset (Results 251 - 275 of 635) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/speech/tts/
H A DPlaybackSynthesisCallback.java166 public int audioAvailable(byte[] buffer, int offset, int length) { argument
169 + offset + "," + length + ")");
186 System.arraycopy(buffer, offset, bufferCopy, 0, length);
/frameworks/base/core/java/android/widget/
H A DSpellChecker.java325 SuggestionsInfo suggestionsInfo, int offset, int length) {
344 editable, suggestionsInfo, spellCheckSpan, offset, length);
354 if (offset != USE_SPAN_RANGE && length != USE_SPAN_RANGE) {
355 start = spellCheckSpanStart + offset;
411 final int offset = ssi.getOffsetAt(j);
414 suggestionsInfo, offset, length);
455 SpellCheckSpan spellCheckSpan, int offset, int length) {
463 if (offset != USE_SPAN_RANGE && length != USE_SPAN_RANGE) {
464 start = spellCheckSpanStart + offset;
741 private <T> void removeSpansAt(Editable editable, int offset, argument
324 onGetSuggestionsInternal( SuggestionsInfo suggestionsInfo, int offset, int length) argument
454 createMisspelledSuggestionSpan(Editable editable, SuggestionsInfo suggestionsInfo, SpellCheckSpan spellCheckSpan, int offset, int length) argument
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DLayout.cpp94 /// setFragmentLayoutOffset - set the fragment's layout offset. This function
96 /// If the offset of the fragment was set before, return immediately.
102 // find the most-recent fragment whose offset was set.
112 uint64_t offset = 0; local
115 offset = 0;
119 offset = first->getOffset();
120 offset += computeFragmentSize(*this, *first);
125 frag_not_set->setOffset(offset);
126 offset += computeFragmentSize(*this, *frag_not_set);
134 /// 2. compute the layout offset o
619 uint64_t offset = pBackend.sectionStartOffset(); local
[all...]
H A DELFDynObjReader.cpp105 pInput.fileOffset() + symtab_shdr->offset(), symtab_shdr->size());
108 pInput.fileOffset() + strtab_shdr->offset(), strtab_shdr->size());
/frameworks/base/media/java/android/media/
H A DSoundPool.java228 * binary. The offset specifies the offset from the start of the file
232 * @param offset offset to the start of the sound
238 public int load(FileDescriptor fd, long offset, long length, int priority) { argument
239 return _load(fd, offset, length, priority);
244 private native final int _load(FileDescriptor fd, long offset, long length, int priority); argument
H A DMediaExtractor.java174 * @param offset the offset into the file where the data to be extracted starts, in bytes
178 FileDescriptor fd, long offset, long length);
250 * starting at the given offset. Returns the sample size (or -1 if
253 public native int readSampleData(ByteBuffer byteBuf, int offset); argument
177 setDataSource( FileDescriptor fd, long offset, long length) argument
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_api.c1311 static int32_t drm_readContentFromBuf(T_DRM_Session_Node* s, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen) argument
1315 if (offset > s->contentLength)
1318 if (offset == s->contentLength)
1321 if (offset + mediaBufLen > s->contentLength)
1322 readBytes = s->contentLength - offset;
1327 memcpy(mediaBuf, s->rawContent + offset, readBytes);
1329 memcpy(mediaBuf, s->rawContent + s->contentOffset + offset, readBytes);
1334 static int32_t drm_readB64ContentFromInputStream(T_DRM_Session_Node* s, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen) argument
1341 if (offset < ((T_DRM_DM_Base64_Node *)(s->infoStruct))->b64DecodeDataLen) {
1342 readBytes = ((T_DRM_DM_Base64_Node *)(s->infoStruct))->b64DecodeDataLen - offset;
1445 drm_readBase64Content(T_DRM_Session_Node* s, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen) argument
1465 drm_readBinaryContentFromInputStream(T_DRM_Session_Node* s, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen) argument
1554 drm_readBinaryContent(T_DRM_Session_Node* s, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen) argument
1573 drm_readAesContent(T_DRM_Session_Node* s, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen) argument
1696 SVC_drm_getContent(int32_t session, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrame.java106 public abstract void setData(ByteBuffer buffer, int offset, int length); argument
112 public void setData(byte[] bytes, int offset, int length) { argument
113 setData(ByteBuffer.wrap(bytes, offset, length));
H A DSimpleFrame.java112 public void setData(ByteBuffer buffer, int offset, int length) { argument
114 setGenericObjectValue(ByteBuffer.wrap(buffer.array(), offset, length));
/frameworks/av/drm/libdrmframework/include/
H A DDrmManagerService.h102 int uniqueId, int fd, off64_t offset, off64_t length, const char *mime);
121 void* buffer, ssize_t numBytes, off64_t offset);
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
H A DDrmPassthruPlugIn.h77 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length);
93 void* buffer, ssize_t numBytes, off64_t offset);
/frameworks/av/include/drm/
H A DDrmManagerClient.h67 * @param[in] offset Start position of the content
73 sp<DecryptHandle> openDecryptSession(int fd, off64_t offset, off64_t length, const char* mime);
180 * @param[in] offset Offset with which to update the file position.
185 void* buffer, ssize_t numBytes, off64_t offset);
349 * the output converted data and offset. In this case the
350 * application will ignore the offset information.
365 * the application on which offset these signature data
/frameworks/av/media/libstagefright/chromium_http/
H A Dsupport.cpp415 off64_t offset) {
426 offset));
434 off64_t offset) {
435 me->onInitiateConnection(url, headers, offset);
441 off64_t offset) {
449 if (offset != 0 || extra != NULL) {
453 if (offset != 0) {
455 StringPrintf("Range: bytes=%lld-", offset).c_str());
412 initiateConnection( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument
431 OnInitiateConnectionWrapper( SfDelegate *me, GURL url, const KeyedVector<String8, String8> *headers, off64_t offset) argument
438 onInitiateConnection( const GURL &url, const KeyedVector<String8, String8> *extra, off64_t offset) argument
/frameworks/base/core/java/android/database/
H A DCursorWrapper.java157 public boolean move(int offset) { argument
158 return mCursor.move(offset);
/frameworks/base/core/java/android/text/
H A DTextLine.java273 * @param offset the line-relative character offset, between 0 and the
276 * before offset, false to measure the leading edge of the character
277 * at offset.
280 * @return the signed offset from the leading margin to the requested
283 float measure(int offset, boolean trailing, FontMetricsInt fmi) { argument
284 int target = trailing ? offset - 1 : offset;
293 return measureRun(0, offset, mLen, false, fmi);
296 return measureRun(0, offset, mLe
412 measureRun(int start, int offset, int limit, boolean runIsRtl, FontMetricsInt fmi) argument
612 getOffsetBeforeAfter(int runIndex, int runStart, int runLimit, boolean runIsRtl, int offset, boolean after) argument
[all...]
/frameworks/base/core/java/android/view/
H A DGLES20RecordingCanvas.java131 public void drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, argument
133 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
138 public void drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, argument
140 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
173 public void drawLines(float[] pts, int offset, int count, Paint paint) { argument
174 super.drawLines(pts, offset, count, paint);
209 public void drawPoints(float[] pts, int offset, int count, Paint paint) { argument
210 super.drawPoints(pts, offset, count, paint);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMutateActivity.java46 mAnimator = ObjectAnimator.ofInt(view, "offset", 0, PATTERN_SIZE - 1);
78 public void setOffset(int offset) { argument
79 mOffset = offset;
H A DTransform3dActivity.java77 private void drawBitmap(Canvas canvas, float centerX, float centerY, float offset, argument
80 canvas.translate(offset, 0.0f);
/frameworks/compile/libbcc/lib/AndroidBitcode/Mips/
H A DMipsABCExpandVAArg.cpp71 uint64_t offset = local
74 builder.CreateGEP(aligned_addr, llvm::ConstantInt::get(int_ty, offset),
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.h45 void updateSubBuffer(GLintptr offset, const GLvoid* data, GLsizeiptr size);
80 void updateBufferSubData(GLuint bufferId, GLintptr offset, GLvoid *data, GLsizeiptr size);
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Dsvc_drm.h125 * \param offset The offset from the start position to be seek.
131 int32_t (*seekInputData)(int32_t inputHandle, int32_t offset);
270 * \param offset The offset to start to get content.
281 int32_t SVC_drm_getContent(int32_t session, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen);
/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/core/jni/
H A Dandroid_opengl_GLES10.cpp78 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
98 *offset = _env->CallStaticIntMethod(nioAccessClass,
414 (JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) {
428 if (offset < 0) {
431 _exceptionMessage = "offset < 0";
434 _remaining = _env->GetArrayLength(textures_ref) - offset;
438 _exceptionMessage = "length - offset < n < needed";
443 textures = textures_base + offset;
648 (JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) {
662 if (offset <
413 android_glDeleteTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument
647 android_glFogfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
793 android_glFogxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
966 android_glGenTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument
1061 android_glGetIntegerv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
1834 android_glLightModelfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
1962 android_glLightModelxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
2091 android_glLightfv__II_3FI(JNIEnv *_env, jobject _this, jint light, jint pname, jfloatArray params_ref, jint offset) argument
2274 android_glLightxv__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument
2471 android_glLoadMatrixf___3FI(JNIEnv *_env, jobject _this, jfloatArray m_ref, jint offset) argument
2535 android_glLoadMatrixx___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument
2619 android_glMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
2774 android_glMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
2927 android_glMultMatrixf___3FI(JNIEnv *_env, jobject _this, jfloatArray m_ref, jint offset) argument
2991 android_glMultMatrixx___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument
3397 android_glTexEnvfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument
3540 android_glTexEnvxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_est.cpp155 Int mbnum, offset; local
182 offset = 0;
264 offset = width * (j << 4) + (start_i << 4);
274 cur = currFrame->yChan + offset;
456 offset += (incr_i << 4);
473 offset = 0;
544 Int *offset, *offset2; local
566 offset = htfm_stat->offsetArray;
578 offset = video->nrmlz_th + 16;
582 offset[
679 Int *offset; local
1193 Int offset = i0 + j0 * lx; local
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp173 size_t offset = 0; local
177 memcpy(dup->data() + offset, csd->data(), csd->size());
178 offset += csd->size();
181 memcpy(dup->data() + offset, accessUnit->data(), accessUnit->size());
767 size_t offset = copy; local
768 while (offset < accessUnit->size()) {
769 bool padding = (accessUnit->size() - offset) < (188 - 4);
790 size_t paddingSize = 188 - 4 - (accessUnit->size() - offset);
802 size_t copy = accessUnit->size() - offset;
807 memcpy(ptr, accessUnit->data() + offset, cop
[all...]

Completed in 9163 milliseconds

<<11121314151617181920>>