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

12

/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...]
H A DTime.java71 public void setOffset(double offset) argument
/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/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
H A DTextRecord.java64 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) { argument
H A DUriRecord.java127 int offset = ssp.indexOf('?');
128 if (offset >= 0) {
129 ssp = ssp.substring(0, offset);
142 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) { argument
/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/Email/src/com/android/email/mail/transport/
H A DLoggingInputStream.java69 public int read(byte[] b, int offset, int length) throws IOException { argument
70 int bytesRead = super.read(b, offset, length);
73 logRaw(b[offset] & 0xFF);
75 offset++;
/packages/apps/Calendar/src/com/android/calendar/
H A DAgendaListView.java200 // Move the currently selected or visible focus down by offset amount.
201 // offset could be negative.
202 public void shiftSelection(int offset) { argument
203 shiftPosition(offset);
206 setSelectionFromTop(position + offset, 0);
210 private void shiftPosition(int offset) { argument
212 Log.v(TAG, "Shifting position "+ offset);
223 setSelectionFromTop(position + offset, r.top > 0 ? -r.top : r.top);
227 Log.v(TAG, "Shifting from " + position + " by " + offset + ". Title "
232 Log.v(TAG, "Shifting from " + position + " by " + offset
[all...]
/packages/apps/Gallery3D/src/com/cooliris/media/
H A DDiskCache.java81 chunkFile.seek(record.offset);
120 chunkFile.seek(record.offset);
123 mIndexMap.put(key, new Record(currentChunk, record.offset, data.length, record.sizeOnDisk, timestamp));
144 final int offset = (int) chunkFile.length();
145 chunkFile.seek(offset);
148 mIndexMap.put(key, new Record(chunk, offset, data.length, data.length, timestamp));
150 if (offset + data.length > CHUNK_SIZE) {
260 final int offset = dataInput.readInt();
264 mIndexMap.append(key, new Record(chunk, offset, size, sizeOnDisk, timestamp));
313 dataOutput.writeInt(record.offset);
353 Record(int chunk, int offset, int size, int sizeOnDisk, long timestamp) argument
363 public final int offset; field in class:DiskCache.Record
[all...]
H A DMatrixStack.java59 public void glLoadMatrixf(float[] m, int offset) { argument
60 System.arraycopy(m, offset, mMatrix, mTop, MATRIX_SIZE);
67 public void glLoadMatrixx(int[] m, int offset) { argument
69 mMatrix[mTop + i] = fixedToFloat(m[offset + i]);
79 public void glMultMatrixf(float[] m, int offset) { argument
81 Matrix.multiplyMM(mMatrix, mTop, mTemp, 0, m, offset);
89 public void glMultMatrixx(int[] m, int offset) { argument
91 mTemp[MATRIX_SIZE + i] = fixedToFloat(m[offset + i]);
149 public void getMatrix(float[] dest, int offset) { argument
150 System.arraycopy(mMatrix, mTop, dest, offset, MATRIX_SIZ
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapVcardManager.java378 public final int composeAndSendPhonebookOneVcard(Operation op, final int offset, argument
380 if (offset < 1) {
381 Log.e(TAG, "Internal error: offset is not correct.");
393 contactCursor.moveToPosition(offset - 1);
407 contactCursor.moveToPosition(offset - 1);
/packages/apps/Camera/src/com/android/camera/ui/
H A DPopupWindow.java62 public void setAnchor(BitmapTexture anchor, int offset) { argument
64 mAnchorOffset = offset;
/packages/apps/Gallery/src/com/android/camera/
H A DImageGetter.java53 public void imageLoaded(int pos, int offset, RotateBitmap bitmap, argument
55 public boolean wantsThumbnail(int pos, int offset); argument
56 public boolean wantsFullImage(int pos, int offset); argument
57 public int fullImageSizeToUse(int pos, int offset); argument
102 private Runnable callback(final int position, final int offset, argument
111 mCB.imageLoaded(position, offset, bitmap, isThumb);
162 int offset = order[i];
163 int imageNumber = mCurrentPosition + offset;
165 if (!mCB.wantsThumbnail(mCurrentPosition, offset)) {
180 Runnable cb = callback(mCurrentPosition, offset,
[all...]
/packages/apps/Mms/src/com/android/mms/dom/smil/
H A DTimeImpl.java46 * | offset-value
291 public void setOffset(double offset) throws DOMException { argument

Completed in 183 milliseconds

12