Searched refs:offset (Results 151 - 175 of 269) sorted by relevance

1234567891011

/packages/apps/OMA-DM/engine/xpl/src/
H A Dxpl_File.cc164 XPL_FS_SEEK_OFFSET_T offset,
185 result_offset = lseek(file_handle,offset,whence_posix);
433 UINT8 * XPL_FS_MemMap(XPL_FS_HANDLE_T file_handle, UINT32 size, UINT32 offset, XPL_FS_RET_STATUS_T * result) argument
440 pBuffer = (UINT8*)mmap(0,size,PROT_READ,MAP_PRIVATE,file_handle,offset);
163 XPL_FS_Seek(XPL_FS_HANDLE_T file_handle, XPL_FS_SEEK_OFFSET_T offset, XPL_FS_SEEK_MODE_T whence, XPL_FS_RET_STATUS_T * result) argument
/packages/apps/Tag/src/com/android/apps/tag/record/
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/tests/src/com/android/inputmethod/latin/makedict/
H A DVer2DictDecoder.java123 /* package */ Ver2DictDecoder(final File file, final long offset, final long length, argument
126 mOffset = offset;
140 /* package */ Ver2DictDecoder(final File file, final long offset, final long length, argument
143 mOffset = offset;
260 mDictionaryBinaryFile.getAbsolutePath(), 0 /* offset */,
H A DVer2DictEncoder.java214 final int offset = addressOfBigram
217 offset, bigram.getProbability(), unigramFrequencyForThisWord, bigram.mWord);
221 Math.abs(offset));
/packages/apps/Camera2/src/com/android/camera/app/
H A DFilmstripBottomPanel.java290 int offset = mLayout.getHeight();
291 if (mLayout.getTranslationY() < offset) {
293 .ofFloat(mLayout, "translationY", mLayout.getTranslationY(), offset);
/packages/apps/Gallery/src/com/android/camera/
H A DViewImage.java498 public boolean wantsThumbnail(int pos, int offset) {
499 return !mCache.hasBitmap(pos + offset);
502 public boolean wantsFullImage(int pos, int offset) {
503 return offset == 0;
506 public int fullImageSizeToUse(int pos, int offset) {
521 public void imageLoaded(int pos, int offset, RotateBitmap bitmap,
532 mCache.put(pos + offset, bitmap.getBitmap());
534 if (offset == 0) {
788 public boolean wantsThumbnail(int pos, int offset) {
792 public boolean wantsFullImage(int pos, int offset) {
[all...]
/packages/apps/Gallery2/jni_jpegstream/src/
H A Djpeg_reader.cpp117 int32_t JpegReader::read(int8_t* bytes, int32_t offset, int32_t count) { argument
137 memcpy((void*) (bytes + offset), (void*) mScanlineIter,
147 memcpy((void*) (bytes + offset), (void*) mScanlineIter,
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalAlbumSet.java113 int offset = 0;
118 circularShiftRight(entries, offset++, index);
122 circularShiftRight(entries, offset++, index);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java429 public void multiplyMatrix(float[] matrix, int offset) { argument
433 Matrix.multiplyMM(temp, 0, currentMatrix, index, matrix, offset);
491 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth());
496 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
498 prepareDraw(offset, color, lineWidth);
502 private void prepareDraw(int offset, int color, float lineWidth) { argument
518 setPosition(mDrawParameters, offset);
544 private void setPosition(ShaderParameter[] params, int offset) { argument
548 GLES20.GL_FLOAT, false, VERTEX_STRIDE, offset * VERTEX_STRID
972 printMatrix(String message, float[] m, int offset) argument
[all...]
H A DGLCanvas.java64 public abstract void multiplyMatrix(float[] mMatrix, int offset); argument
172 * @param xOffset Specifies a texel offset in the x direction within the
174 * @param yOffset Specifies a texel offset in the y direction within the
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java429 public void multiplyMatrix(float[] matrix, int offset) { argument
433 Matrix.multiplyMM(temp, 0, currentMatrix, index, matrix, offset);
491 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth());
496 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
498 prepareDraw(offset, color, lineWidth);
502 private void prepareDraw(int offset, int color, float lineWidth) { argument
518 setPosition(mDrawParameters, offset);
544 private void setPosition(ShaderParameter[] params, int offset) { argument
548 GLES20.GL_FLOAT, false, VERTEX_STRIDE, offset * VERTEX_STRID
972 printMatrix(String message, float[] m, int offset) argument
[all...]
H A DGLCanvas.java62 public abstract void multiplyMatrix(float[] mMatrix, int offset); argument
170 * @param xOffset Specifies a texel offset in the x direction within the
172 * @param yOffset Specifies a texel offset in the y direction within the
/packages/apps/Nfc/src/com/android/nfc/echoserver/
H A DEchoServer.java126 int offset = 0;
139 System.arraycopy(unit, offset, data, 0, minSize);
142 offset += minSize;
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DRecognizerLogger.java223 public int read(byte[] b, int offset, int length) throws IOException {
224 int rtn = inputStream.read(b, offset, length);
225 if (rtn > 0) baos.write(b, offset, rtn);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherBackupHelper.java837 private ContentValues unpackFavorite(byte[] buffer, int offset, int dataSize) argument
840 MessageNano.mergeFrom(favorite, readCheckedBytes(buffer, offset, dataSize));
901 private ContentValues unpackScreen(byte[] buffer, int offset, int dataSize) argument
904 MessageNano.mergeFrom(screen, readCheckedBytes(buffer, offset, dataSize));
924 private static Resource unpackIcon(byte[] buffer, int offset, int dataSize) argument
927 MessageNano.mergeFrom(res, readCheckedBytes(buffer, offset, dataSize));
963 private Widget unpackWidget(byte[] buffer, int offset, int dataSize) argument
966 MessageNano.mergeFrom(widget, readCheckedBytes(buffer, offset, dataSize));
1059 for (int offset = 0; offset < encode
1122 readCheckedBytes(byte[] buffer, int offset, int dataSize) argument
[all...]
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DCalendarSyncParser.java157 int offset = mCount;
159 return offset;
1270 * passed-in offset
1273 static ContentProviderOperation operationToContentProviderOperation(Operation op, int offset) { argument
1281 builder.withValueBackReference(op.mColumnName, op.mOffset - offset);
1290 final String authority, final ArrayList<Operation> ops, final int offset)
1298 cpos.add(operationToContentProviderOperation(op, offset));
1308 final ContentProviderResult[] result, final int offset) throws RemoteException {
1313 offset);
1315 System.arraycopy(miniResult, 0, result, offset, miniResul
1289 applyBatch(final ContentResolver contentResolver, final String authority, final ArrayList<Operation> ops, final int offset) argument
1306 applyAndCopyResults(final ContentResolver contentResolver, final String authority, final ArrayList<Operation> mini, final ContentProviderResult[] result, final int offset) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DInterpolatingLayout.java280 int offset = 0;
308 mInRect.set(offset + leftMargin, params.topMargin,
315 offset = mOutRect.right + rightMargin;
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DBluetoothMapbMessageTest.java128 int offset = (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)) / (15 * 60 * 1000); /* offset in quarters of an hour */
130 if(offset < 0) {
131 offsetString = String.format("%1$02d", -(offset));
136 offsetString = String.format("%1$02d", offset);
/packages/apps/Calendar/src/com/android/calendar/month/
H A DSimpleDayPickerFragment.java324 int offset = mFirstDayOfWeek - 1;
328 int position = (offset + i) % 7;
511 int offset = child.getBottom() < WEEK_MIN_VISIBLE_HEIGHT ? 1 : 0;
515 child = (SimpleWeekView) view.getChildAt(SCROLL_HYST_WEEKS + offset);
/packages/apps/Email/src/com/android/email/activity/setup/
H A DMailboxSettings.java166 final int offset;
172 offset = 1;
176 offset = 0;
180 final int size = maxLookback + offset;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedView.java310 int offset = getChildOffset(mCurrentPage);
312 newX = offset - relOffset;
577 int offset = getRelativeChildOffset(0);
578 int spacing = Math.max(offset, widthSize - offset -
634 // Also, the page offset has changed (since the pages are now smaller);
635 // update the page offset, but again preserving absolute X and Y coordinates
749 int offset = getRelativeChildOffset(startIndex);
751 offset += getScaledMeasuredWidth(getPageAt(i)) + mPageSpacing;
754 childOffsets[index] = 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
/packages/apps/Mms/src/com/android/mms/ui/
H A DSearchActivity.java125 int offset = -1;
133 offset += 1;
135 int newstart = Math.max(0, startPos - offset);
136 int newend = Math.min(bodyLength, startPos + searchStringLength + offset);
/packages/apps/Music/src/com/android/music/
H A DVerticalTextSpinner.java423 private String getTextToDraw(int offset) { argument
424 int index = getNewIndex(offset);
431 private int getNewIndex(int offset) { argument
432 int index = mCurrentSelectedPos + offset;

Completed in 910 milliseconds

1234567891011