Searched defs:offset (Results 1 - 25 of 138) sorted by relevance

123456

/packages/apps/Gallery2/jni_jpegstream/src/
H A Doutputstream_wrapper.cpp22 int32_t OutputStreamWrapper::write(int32_t length, int32_t offset) { argument
23 if (offset < 0 || length < 0 || (offset + length) > getBufferSize()) {
36 mEnv->CallVoidMethod(mStream, sWriteID, mByteArray, offset, length);
H A Dinputstream_wrapper.cpp23 int32_t InputStreamWrapper::read(int32_t length, int32_t offset) { argument
24 if (offset < 0 || length < 0 || (offset + length) > getBufferSize()) {
34 mByteArray, offset, length));
/packages/apps/Mms/src/org/w3c/dom/smil/
H A DElementTimeControl.java42 * constraints), at the passed offset from the current time when the
43 * method is called. If the offset is &gt;= 0, the semantics are
44 * equivalent to an event-base begin with the specified offset. If the
45 * offset is &lt; 0, the semantics are equivalent to beginElement(), but
47 * begun at the passed (negative) offset from the current time when the
49 * @param offset The offset in seconds at which to begin the element.
64 public boolean beginElementAt(float offset) argument
85 * constraints) at the specified offset from the current time when the
87 * @param offset Th
99 endElementAt(float offset) argument
[all...]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DFakeInputStream.java44 public int read(byte[] buffer, int offset, int length) { argument
45 Arrays.checkOffsetAndCount(buffer.length, offset, length);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMessageListing.java103 public void segment(int count, int offset) { argument
105 if (offset + count <= list.size()) {
106 list = list.subList(offset, offset + count);
H A DBluetoothMapFolderElement.java96 public byte[] encode(int offset, int count) throws UnsupportedEncodingException { argument
100 if(offset > subFolders.size())
101 throw new IllegalArgumentException("FolderListingEncode: offset > subFolders.size()");
103 stopIndex = offset + count;
113 for(i = offset; i<stopIndex; i++)
/packages/apps/Dialer/src/com/android/dialer/
H A DBackScrollManager.java32 /** Sets the offset by which to scroll. */
33 public void setOffset(int offset); argument
34 /** Gets the maximum offset that should be applied to the header. */
57 int offset = Math.min(
60 mHeader.setOffset(offset);
/packages/apps/Email/src/com/android/email/
H A DFixedLengthInputStream.java53 public int read(byte[] b, int offset, int length) throws IOException { argument
55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length));
H A DPeekableInputStream.java55 public int read(byte[] b, int offset, int length) throws IOException { argument
57 return mIn.read(b, offset, length);
61 int r = mIn.read(b, offset + 1, length - 1);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLId.java26 public void glGenBuffers(int n, int[] buffers, int offset); argument
28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); argument
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); argument
32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); argument
H A DGLES11IdImpl.java38 public void glGenBuffers(int n, int[] buffers, int offset) { argument
41 buffers[offset + n] = sNextId++;
47 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument
49 gl.glDeleteTextures(n, textures, offset);
54 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument
56 gl.glDeleteBuffers(n, buffers, offset);
61 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { argument
63 gl11ep.glDeleteFramebuffersOES(n, buffers, offset);
H A DGLES20IdImpl.java19 public void glGenBuffers(int n, int[] buffers, int offset) { argument
20 GLES20.glGenBuffers(n, buffers, offset);
25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument
26 GLES20.glDeleteTextures(n, textures, offset);
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument
33 GLES20.glDeleteBuffers(n, buffers, offset);
38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { argument
39 GLES20.glDeleteFramebuffers(n, buffers, offset);
/packages/apps/Launcher3/src/com/android/gallery3d/glrenderer/
H A DGLId.java26 public void glGenBuffers(int n, int[] buffers, int offset); argument
28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); argument
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); argument
32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); argument
H A DGLES20IdImpl.java19 public void glGenBuffers(int n, int[] buffers, int offset) { argument
20 GLES20.glGenBuffers(n, buffers, offset);
25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument
26 GLES20.glDeleteTextures(n, textures, offset);
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument
33 GLES20.glDeleteBuffers(n, buffers, offset);
38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { argument
39 GLES20.glDeleteFramebuffers(n, buffers, offset);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DExif.java29 int offset = 0;
33 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) {
34 int marker = jpeg[offset] & 0xFF;
40 offset++;
52 length = pack(jpeg, offset, 2, false);
53 if (length < 2 || offset + length > jpeg.length) {
60 pack(jpeg, offset + 2, 4, false) == 0x45786966 &&
61 pack(jpeg, offset + 6, 2, false) == 0) {
62 offset
121 pack(byte[] bytes, int offset, int length, boolean littleEndian) argument
[all...]
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DParsedNdefRecord.java38 int offset);
37 getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) argument
H A DUnknownRecord.java30 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) { argument
H A DImageRecord.java47 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) { argument
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DHexDump.java47 * @param offset its offset, whatever that might mean
59 public static void dump(byte[] data, long offset, argument
72 long display_offset = offset + index;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DAssetFileAddress.java25 * also the offset in the file and the length of this data. This class encapsulates these three.
32 public AssetFileAddress(final String filename, final long offset, final long length) { argument
34 mOffset = offset;
55 * @param offset the offset.
60 final long offset, final long length) {
64 return new AssetFileAddress(filename, offset, length);
59 makeFromFileNameAndOffset(final String filename, final long offset, final long length) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DAssetFileAddress.java25 * also the offset in the file and the length of this data. This class encapsulates these three.
32 public AssetFileAddress(final String filename, final long offset, final long length) { argument
34 mOffset = offset;
49 final long offset, final long length) {
53 return new AssetFileAddress(filename, offset, length);
48 makeFromFileNameAndOffset(final String filename, final long offset, final long length) argument
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DLoggingInputStream.java67 public int read(byte[] b, int offset, int length) throws IOException { argument
68 int bytesRead = super.read(b, offset, length);
71 logRaw(b[offset] & 0xFF);
73 offset++;
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DInterruptableOutputStream.java43 public void write(byte[] buffer, int offset, int count) throws IOException { argument
44 int end = offset + count;
45 while (offset < end) {
47 int bytesCount = Math.min(MAX_WRITE_BYTES, end - offset);
48 mOutputStream.write(buffer, offset, bytesCount);
49 offset += bytesCount;
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
H A DCharSequenceReader.java90 * @param offset The starting position in the array to store
95 public int read(char[] array, int offset, int length) { argument
102 if (length < 0 || (offset + length) > array.length) {
104 ", offset=" + offset + ", length=" + length);
112 array[offset + i] = (char)c;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
H A DPartialInputStream.java29 public PartialInputStream(InputStream inputStream, long offset, long length) throws IOException { argument
31 inputStream.skip(offset);
32 this.limit = offset + length;

Completed in 467 milliseconds

123456