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

1234

/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 >= 0, the semantics are
44 * equivalent to an event-base begin with the specified offset. If the
45 * offset is < 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/apps/Camera/src/com/android/camera/
H A DExif.java30 int offset = 0;
34 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) {
35 int marker = jpeg[offset] & 0xFF;
41 offset++;
53 length = pack(jpeg, offset, 2, false);
54 if (length < 2 || offset + length > jpeg.length) {
61 pack(jpeg, offset + 2, 4, false) == 0x45786966 &&
62 pack(jpeg, offset + 6, 2, false) == 0) {
63 offset
122 pack(byte[] bytes, int offset, int length, boolean littleEndian) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/
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/Email/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;
H A DEndianUtils.java112 * Writes a "short" value to a byte array at a given offset. The value is
115 * @param offset starting offset in the byte array
118 public static void writeSwappedShort(byte[] data, int offset, short value) { argument
119 data[ offset + 0 ] = (byte)( ( value >> 0 ) & 0xff );
120 data[ offset + 1 ] = (byte)( ( value >> 8 ) & 0xff );
124 * Reads a "short" value from a byte array at a given offset. The value is
127 * @param offset starting offset in the byte array
130 public static short readSwappedShort(byte[] data, int offset) { argument
143 readSwappedUnsignedShort(byte[] data, int offset) argument
155 writeSwappedInteger(byte[] data, int offset, int value) argument
169 readSwappedInteger(byte[] data, int offset) argument
184 readSwappedUnsignedInteger(byte[] data, int offset) argument
201 writeSwappedLong(byte[] data, int offset, long value) argument
219 readSwappedLong(byte[] data, int offset) argument
240 writeSwappedFloat(byte[] data, int offset, float value) argument
251 readSwappedFloat(byte[] data, int offset) argument
262 writeSwappedDouble(byte[] data, int offset, double value) argument
273 readSwappedDouble(byte[] data, int offset) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DExif.java85 int offset = 0;
92 int tag = pack(jpeg, offset, 4, false);
99 // Get the offset and check if it is reasonable.
100 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
102 Log.e(TAG, "Invalid offset");
105 offset += count;
109 count = pack(jpeg, offset - 2, 2, littleEndian);
112 tag = pack(jpeg, offset, 2, littleEndian);
115 int orientation = pack(jpeg, offset + 8, 2, littleEndian);
129 offset
138 pack(byte[] bytes, int offset, int length, boolean littleEndian) argument
[all...]
H A DBytesBufferPool.java32 public int offset; field in class:BytesBufferPool.BytesBuffer
82 buffer.offset = 0;
/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
H A DMimeRecord.java59 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) { 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;
46 final long offset, final long length) {
50 return new AssetFileAddress(filename, offset, length);
45 makeFromFileNameAndOffset(final String filename, final long offset, final long length) argument
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DLoggingInputStream.java68 public int read(byte[] b, int offset, int length) throws IOException { argument
69 int bytesRead = super.read(b, offset, length);
72 logRaw(b[offset] & 0xFF);
74 offset++;
/packages/apps/Email/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;
H A DNullInputStream.java52 * protected void processBytes(byte[] bytes, int offset, int length) {
53 * for (int i = offset; i < length; i++) {
210 * @param offset The offset to start reading bytes into.
219 public int read(byte[] bytes, int offset, int length) throws IOException { argument
232 processBytes(bytes, offset, returnLength);
300 * Process the bytes for the <code>read(byte[], offset, length)</code>
306 * @param offset The offset to start at.
309 protected void processBytes(byte[] bytes, int offset, in argument
[all...]
H A DNullReader.java52 * protected void processChars(char[] chars, int offset, int length) {
53 * for (int i = offset; i < length; i++) {
194 * @param offset The offset to start reading characters into.
203 public int read(char[] chars, int offset, int length) throws IOException { argument
216 processChars(chars, offset, returnLength);
284 * Process the characters for the <code>read(char[], offset, length)</code>
290 * @param offset The offset to start at.
293 protected void processChars(char[] chars, int offset, in argument
[all...]
H A DSwappedDataInputStream.java128 * @param offset The start offset
133 public void readFully( byte[] data, int offset, int length ) argument
140 int location = offset + ( length - remaining );
/packages/apps/Email/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;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGLId.java26 public synchronized static void glGenTextures(int n, int[] textures, int offset) { argument
28 textures[offset + n] = sNextId++;
32 public synchronized static void glGenBuffers(int n, int[] buffers, int offset) { argument
34 buffers[offset + n] = sNextId++;
38 public synchronized static void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument
39 gl.glDeleteTextures(n, textures, offset);
42 public synchronized static void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument
43 gl.glDeleteBuffers(n, buffers, offset);
47 GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) {
48 gl11ep.glDeleteFramebuffersOES(n, buffers, offset);
46 glDeleteFramebuffers( GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) argument
[all...]
/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/Email/src/com/android/mail/utils/
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/gallerycommon/src/com/android/gallery3d/exif/
H A DIfdData.java89 * Sets the offset of next IFD.
91 void setOffsetToNextIfd(int offset) { argument
92 mOffsetToNextIfd = offset;
96 * Gets the offset of next IFD.
103 * Returns true if all tags in this two IFDs are equal. Note that tags of IFDs offset or
104 * thumbnail offset will be ignored.

Completed in 2204 milliseconds

1234