Searched defs:offset (Results 251 - 275 of 575) sorted by relevance

<<11121314151617181920>>

/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCallbackProcessor.cpp404 ssize_t offset; local
407 mCallbackHeap->mBuffers[heapIdx]->getMemory(&offset,
409 uint8_t *data = (uint8_t*)heap->getBase() + offset;
H A DJpegProcessor.cpp347 size_t offset = size - MARKER_LENGTH; local
348 uint8_t *end = jpegBuffer + offset;
372 ALOGV("JPEG stream found beginning at offset %zu", size);
376 ALOGE("Got premature End before JPEG data, offset %zu", size);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServer.java133 int offset, boolean isLong, int srvcType, int srvcInstId,
148 mCallback.onCharacteristicReadRequest(device, transId, offset, characteristic);
159 int offset, boolean isLong, int srvcType, int srvcInstId,
180 mCallback.onDescriptorReadRequest(device, transId, offset, descriptor);
191 int offset, int length, boolean isPrep, boolean needRsp,
208 isPrep, needRsp, offset, value);
220 int offset, int length, boolean isPrep, boolean needRsp,
244 isPrep, needRsp, offset, value);
489 * @param offset Value offset fo
492 sendResponse(BluetoothDevice device, int requestId, int status, int offset, byte[] value) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java33 * offset and length of that entry's data in the file.
106 * Returns the byte offset where this asset entry's data starts.
225 public int read(byte[] buffer, int offset, int count) throws IOException { argument
229 int res = super.read(buffer, offset, count);
234 return super.read(buffer, offset, count);
300 public void write(byte[] buffer, int offset, int count) throws IOException { argument
304 super.write(buffer, offset, count);
309 super.write(buffer, offset, count);
H A DStringBlock.java54 public StringBlock(byte[] data, int offset, int size, boolean useSparse) { argument
55 mNative = nativeCreate(data, offset, size);
486 int offset,
485 nativeCreate(byte[] data, int offset, int size) argument
/frameworks/base/core/java/android/database/
H A DCursor.java85 * @param offset the offset to be applied from the current position.
88 boolean move(int offset); argument
H A DCursorWrapper.java157 public boolean move(int offset) { argument
158 return mCursor.move(offset);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DTonemapCurve.java215 * {@link #POINT_SIZE} elements after the {@code offset}
216 * @param offset
217 * a non-negative offset into the array
221 * If offset was negative
224 * offset.
233 int offset) {
234 checkArgumentNonnegative(offset, "offset must not be negative");
237 if (destination.length + offset < getPointCount(colorChannel) * POINT_SIZE) {
242 System.arraycopy(curve, /*srcPos*/0, destination, offset, curv
232 copyColorCurve(int colorChannel, float[] destination, int offset) argument
[all...]
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiTvClient.java356 void onReceived(int portId, int offset, int length, byte[] data); argument
379 public void onReceived(int portId, int offset, int length, byte[] data) {
380 listener.onReceived(portId, offset, length, data);
389 * @param offset offset in the in given data
390 * @param length length of data. offset + length should be bound to length of data.
394 public void sendMhlVendorCommand(int portId, int offset, int length, byte[] data) { argument
398 if (offset < 0 || offset >= VENDOR_DATA_SIZE) {
399 throw new IllegalArgumentException("Invalid offset
[all...]
/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/os/
H A DMemoryFile.java192 * @param srcOffset offset into the memory file to read from.
193 * @param destOffset offset into the byte array buffer to read into.
217 * @param srcOffset offset into the byte array buffer to write from.
218 * @param destOffset offset into the memory file to write to.
303 public int read(byte buffer[], int offset, int count) throws IOException { argument
304 if (offset < 0 || count < 0 || offset + count > buffer.length) {
313 int result = readBytes(buffer, mOffset, offset, count);
336 public void write(byte buffer[], int offset, int count) throws IOException { argument
337 writeBytes(buffer, offset, mOffse
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DFileSynthesisCallback.java149 public int audioAvailable(byte[] buffer, int offset, int length) { argument
151 Log.d(TAG, "FileSynthesisRequest.audioAvailable(" + buffer + "," + offset
177 fileChannel.write(ByteBuffer.wrap(buffer, offset, length));
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java625 private static String formatZoneOffset(int offset, int count) { argument
626 offset /= 1000; // milliseconds to seconds
629 if (offset < 0) {
631 offset = -offset;
636 int hours = offset / 3600;
637 int minutes = (offset % 3600) / 60;
/frameworks/base/core/java/android/util/
H A DBase64.java88 public abstract boolean process(byte[] input, int offset, int len, boolean finish); argument
147 * @param offset the position within the input array at which to start
155 public static byte[] decode(byte[] input, int offset, int len, int flags) { argument
160 if (!decoder.process(input, offset, len, true)) {
263 public boolean process(byte[] input, int offset, int len, boolean finish) { argument
266 int p = offset;
267 len += offset;
468 * @param offset the position within the input array at which to
475 public static String encodeToString(byte[] input, int offset, int len, int flags) { argument
477 return new String(encode(input, offset, le
509 encode(byte[] input, int offset, int len, int flags) argument
603 process(byte[] input, int offset, int len, boolean finish) argument
[all...]
H A DTimeUtils.java59 * Tries to return a time zone that would have had the specified offset
63 public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) { argument
78 if (currentOffset == offset && currentDst == dst) {
84 // country that has the correct current offset and DST.
89 if (tz.getOffset(when) == offset &&
120 // See if we already have this offset,
131 Log.d(TAG, "getTimeZonesWithUniqueOffsets: add unique offset=" +
/frameworks/base/core/java/android/widget/
H A DScrollBarDrawable.java88 public void setParameters(int range, int offset, int extent, boolean vertical) { argument
93 if (mRange != range || mOffset != offset || mExtent != extent) {
98 mOffset = offset;
128 int offset = Math.round((float) (size - length) * mOffset / (range - extent));
136 if (offset + length > size) {
137 offset = size - length;
140 drawThumb(canvas, r, offset, length, vertical);
165 protected void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { argument
170 thumbRect.set(bounds.left, bounds.top + offset,
171 bounds.right, bounds.top + offset
[all...]
H A DSpellChecker.java324 SuggestionsInfo suggestionsInfo, int offset, int length) {
343 editable, suggestionsInfo, spellCheckSpan, offset, length);
353 if (offset != USE_SPAN_RANGE && length != USE_SPAN_RANGE) {
354 start = spellCheckSpanStart + offset;
410 final int offset = ssi.getOffsetAt(j);
413 suggestionsInfo, offset, length);
454 SpellCheckSpan spellCheckSpan, int offset, int length) {
462 if (offset != USE_SPAN_RANGE && length != USE_SPAN_RANGE) {
463 start = spellCheckSpanStart + offset;
744 private <T> void removeSpansAt(Editable editable, int offset, argument
323 onGetSuggestionsInternal( SuggestionsInfo suggestionsInfo, int offset, int length) argument
453 createMisspelledSuggestionSpan(Editable editable, SuggestionsInfo suggestionsInfo, SpellCheckSpan spellCheckSpan, int offset, int length) argument
[all...]
H A DYearPickerView.java165 public void postSetSelectionFromTop(final int position, final int offset) { argument
170 setSelectionFromTop(position, offset);
/frameworks/base/core/java/com/android/internal/util/
H A DFastPrintWriter.java32 public void write(char[] buf, int offset, int count) throws IOException { argument
546 * offset} to the target.
553 * @param offset
558 * if {@code offset < 0} or {@code count < 0}, or if {@code
559 * offset + count} is greater than the length of {@code buf}.
562 public void write(char[] buf, int offset, int count) { argument
565 appendLocked(buf, offset, count);
609 * offset} to the target.
613 * @param offset
618 * if {@code offset <
622 write(String str, int offset, int count) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuPresenter.java156 public void setItemIndexOffset(int offset) { argument
157 mItemIndexOffset = offset;
/frameworks/base/core/jni/android/graphics/
H A DMovie.cpp119 jint offset, jint length) {
124 if ((offset | length) < 0 || offset + length > totalLength) {
130 SkMovie* moov = SkMovie::DecodeMemory(ar.ptr() + offset, length);
117 movie_decodeByteArray(JNIEnv* env, jobject clazz, jbyteArray byteArray, jint offset, jint length) argument
H A DYuvToJpegEncoder.cpp103 int offset = (i >> 1) * (width >> 1); local
104 cb[i/2] = uRows + offset;
105 cr[i/2] = vRows + offset;
120 int offset = ((rowIndex >> 1) + row) * fStrides[1]; local
121 uint8_t* vu = vuPlanar + offset;
177 int offset = i * (width >> 1); local
178 cb[i] = uRows + offset;
179 cr[i] = vRows + offset;
/frameworks/base/core/jni/
H A Dandroid_media_JetPlayer.cpp166 jobject fileDescriptor, jlong offset, jlong length)
181 (long long)offset, (long long)length); // cast params to types used by EAS_FILE
165 android_media_JetPlayer_loadFromFileD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java504 * @param offset offset into imageData for where the decoder should begin
506 * @param length the number of bytes, beginning at offset, to parse
513 public static Bitmap decodeByteArray(byte[] data, int offset, int length, Options opts) { argument
514 if ((offset | length) < 0 || data.length < offset + length) {
522 bm = nativeDecodeByteArray(data, offset, length, opts);
539 * @param offset offset into imageData for where the decoder should begin
541 * @param length the number of bytes, beginning at offset, t
544 decodeByteArray(byte[] data, int offset, int length) argument
712 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument
[all...]
H A DRect.java286 public void offset(int dx, int dy) { method in class:Rect

Completed in 366 milliseconds

<<11121314151617181920>>