/frameworks/base/graphics/java/android/graphics/ |
H A D | RectF.java | 238 public void offset(float dx, float dy) { method in class:RectF
|
/frameworks/base/include/androidfw/ |
H A D | CursorWindow.h | 44 * an offset to the next chunk in a linked-list of additional chunk of RowSlots in case 46 * FieldSlot per column, which has the size, offset, and type of the data for that field. 73 uint32_t offset; member in struct:android::CursorWindow::FieldSlot::__anon892::__anon893 131 return static_cast<char*>(offsetToPtr(fieldSlot->data.buffer.offset)); 136 return offsetToPtr(fieldSlot->data.buffer.offset); 154 uint32_t offset; member in struct:android::CursorWindow::RowSlot 169 inline void* offsetToPtr(uint32_t offset) { argument 170 return static_cast<uint8_t*>(mData) + offset; 178 * Allocate a portion of the window. Returns the offset
|
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 184 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/libs/hwui/ |
H A D | PatchCache.h | 148 BufferBlock(uint32_t offset, uint32_t size): offset(offset), size(size), next(NULL) { argument 151 uint32_t offset; member in struct:android::uirenderer::PatchCache::BufferBlock
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 192 * @param offset the offset into the file where the data to be extracted starts, in bytes 196 FileDescriptor fd, long offset, long length) throws IOException; 300 * starting at the given offset. 307 public native int readSampleData(ByteBuffer byteBuf, int offset); argument 195 setDataSource( FileDescriptor fd, long offset, long length) argument
|
H A D | MediaHTTPConnection.java | 166 private void seekTo(long offset) throws IOException { argument 195 if (offset > 0) { 197 "Range", "bytes=" + offset + "-"); 283 if (offset > 0 && response != HttpURLConnection.HTTP_PARTIAL) { 292 mCurrentOffset = offset; 304 public int readAt(long offset, int size) { argument 305 return native_readAt(offset, size); 308 private int readAt(long offset, byte[] data, int size) { argument 315 if (offset != mCurrentOffset) { 316 seekTo(offset); 395 native_readAt(long offset, int size) argument [all...] |
H A D | MediaMetadataRetriever.java | 123 * @param offset the offset into the file where the data to be played starts, 129 public native void setDataSource(FileDescriptor fd, long offset, long length) argument
|
H A D | MediaMuxer.java | 95 int offset, int size, long presentationTimeUs, int flags); 318 if (bufferInfo.size < 0 || bufferInfo.offset < 0 319 || (bufferInfo.offset + bufferInfo.size) > byteBuf.capacity() 322 " valid buffer offset, size and presentation time"); 334 bufferInfo.offset, bufferInfo.size, 93 nativeWriteSampleData(long nativeObject, int trackIndex, ByteBuffer byteBuf, int offset, int size, long presentationTimeUs, int flags) argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 75 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) { 108 if (dstSize < (offset + size)) { 109 ALOGE("writeSampleData saw wrong dstSize %lld, size %d, offset %d", 110 dstSize, size, offset); 119 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, size); 73 android_media_MediaMuxer_writeSampleData( JNIEnv *env, jclass clazz, jlong nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument
|
/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool_SoundPoolImpl.cpp | 65 jlong offset, jlong length, jint priority) 71 int64_t(offset), int64_t(length), int(priority)); 64 android_media_SoundPool_SoundPoolImpl_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length, jint priority) argument
|
/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
|
H A D | SerializedFrame.java | 226 public void setData(ByteBuffer buffer, int offset, int length) { argument 228 setGenericObjectValue(ByteBuffer.wrap(buffer.array(), offset, length));
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_frame.cpp | 115 jint offset, 121 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), length); 112 Java_android_filterfw_core_GLFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
|
H A D | jni_native_frame.cpp | 56 jint offset, 62 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), 53 Java_android_filterfw_core_NativeFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 248 // offset and stride to select the correct data portion. 254 // offset: The offset of the first element. 263 int offset, 278 int offset, 416 int offset; member in struct:android::filterfw::ShaderProgram::VertexAttrib
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | BassBoostTest.java | 209 private int byteArrayToInt(byte[] valueBuf, int offset) { argument 212 return converter.getInt(offset); 215 private short byteArrayToShort(byte[] valueBuf, int offset) { argument 218 return converter.getShort(offset);
|
H A D | EqualizerTest.java | 341 private int byteArrayToInt(byte[] valueBuf, int offset) { argument 344 return converter.getInt(offset); 347 private short byteArrayToShort(byte[] valueBuf, int offset) { argument 350 return converter.getShort(offset);
|
H A D | PresetReverbTest.java | 235 private int byteArrayToInt(byte[] valueBuf, int offset) { argument 238 return converter.getInt(offset); 241 private short byteArrayToShort(byte[] valueBuf, int offset) { argument 244 return converter.getShort(offset);
|
H A D | VirtualizerTest.java | 206 private int byteArrayToInt(byte[] valueBuf, int offset) { argument 209 return converter.getInt(offset); 212 private short byteArrayToShort(byte[] valueBuf, int offset) { argument 215 return converter.getShort(offset);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerMetadataParserTest.java | 65 // current position at the beginning of the parcel (offset 0). 70 // Write the number of bytes from the offset to the current 71 // position at position pointed by offset. 72 private void adjustSize(int offset) { argument 75 mParcel.setDataPosition(offset); 76 mParcel.writeInt(pos - offset);
|
/frameworks/base/media/tests/players/ |
H A D | invoke_mock_media_player.cpp | 72 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) {return OK;} argument
|
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) argument 178 return asset->mAsset->seek(offset, whence); 181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) argument 183 return asset->mAsset->seek(offset, whence);
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11Ext.java | 40 void glTexParameterfv(int target, int pname, float[] param, int offset); argument 56 int offset 73 int offset 90 int offset 107 int offset 136 int offset 150 int offset
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifOutputStream.java | 106 , int offset, int length) { 109 mBuffer.put(buffer, offset, byteToRead); 118 public void write(byte[] buffer, int offset, int length) throws IOException { argument 125 offset += byteToProcess; 129 out.write(buffer, offset, byteToProcess); 132 offset += byteToProcess; 139 int byteRead = requestByteToBuffer(2, buffer, offset, length); 140 offset += byteRead; 157 byteRead = requestByteToBuffer(4, buffer, offset, length); 158 offset 105 requestByteToBuffer(int requestByteCount, byte[] buffer , int offset, int length) argument 309 calculateOffsetOfIfd(IfdData ifd, int offset) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecMessageValidator.java | 259 private boolean isValidPhysicalAddress(byte[] params, int offset) { argument 266 int path = HdmiUtils.twoBytesToInt(params, offset);
|