Home
last modified time | relevance | path

Searched refs:mOffset (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DProxy.java38 private long mOffset = 0; field in Proxy
55 if (offset < mOffset) { in onRead()
69 while (mOffset < offset) { in onRead()
71 mOffset += mInputStream.skip(offset - mOffset); in onRead()
85 mOffset += bytes; in onRead()
102 mOffset = 0; in recreateInputStream()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DRangeBoolArray.java22 private int mOffset; field in RangeBoolArray
26 mOffset = min; in RangeBoolArray()
32 mOffset = min; in RangeBoolArray()
36 mData[i - mOffset] = object; in put()
40 return mData[i - mOffset]; in get()
45 if (mData[i] == object) return i + mOffset; in indexOf()
DRangeIntArray.java22 private int mOffset; field in RangeIntArray
26 mOffset = min; in RangeIntArray()
32 mOffset = min; in RangeIntArray()
36 mData[i - mOffset] = object; in put()
40 return mData[i - mOffset]; in get()
45 if (mData[i] == object) return i + mOffset; in indexOf()
DRangeArray.java22 private int mOffset; field in RangeArray
26 mOffset = min; in RangeArray()
35 mOffset = min; in RangeArray()
39 mData[i - mOffset] = object; in put()
43 return mData[i - mOffset]; in get()
48 if (mData[i] == object) return i + mOffset; in indexOf()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DHorizontalSpacerItemDecoration.java18 private final int mOffset; field in HorizontalSpacerItemDecoration
21 mOffset = offset; in HorizontalSpacerItemDecoration()
28 int left = position == 0 ? mOffset * 2: mOffset; in getItemOffsets()
29 int right = (position == parent.getAdapter().getItemCount() - 1) ? mOffset * 2 : mOffset; in getItemOffsets()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAssetFileAddress.java31 public final long mOffset; field in AssetFileAddress
36 mOffset = offset; in AssetFileAddress()
59 return 0 == mOffset; in pointsToPhysicalFile()
68 return String.format("%s (offset=%d, length=%d)", mFilename, mOffset, mLength); in toString()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXmpInterface.java239 private int mOffset; field in XmpInterface.ByteCountingInputStream
245 mOffset = 0; in ByteCountingInputStream()
267 mOffsets.add(mLine - 1, mOffset + i + 1); in read()
271 mOffset += read; in read()
280 mOffset++; in read()
282 mOffsets.add(mLine - 1, mOffset); in read()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.kt359 private val mOffset: Int constant
364 mOffset = tz.getOffset(currentTime)
366 val sign = if (mOffset < 0) '-' else '+'
367 val absoluteGMTOffset = abs(mOffset)
374 return mOffset - other.mOffset in compareTo()
DSettingsDAO.java365 private final int mOffset; field in SettingsDAO.TimeZoneDescriptor
373 mOffset = tz.getOffset(currentTime); in TimeZoneDescriptor()
375 final char sign = mOffset < 0 ? '-' : '+'; in TimeZoneDescriptor()
376 final int absoluteGMTOffset = Math.abs(mOffset); in TimeZoneDescriptor()
384 return mOffset - other.mOffset;
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DUpdateParser.java97 final long mOffset; field in UpdateParser.ParsedUpdate
103 mOffset = offset; in ParsedUpdate()
110 return mOffset >= 0 && mSize > 0 && mProps != null; in isValid()
117 mUrl, mOffset, mSize, Arrays.toString(mProps)); in toString()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DLetterTileDrawable.java63 private float mOffset = 0.0f; field in LetterTileDrawable
144 (int) (destRect.centerY() - halfLength + mOffset * destRect.height()), in drawDrawableOnCanvas()
146 (int) (destRect.centerY() + halfLength + mOffset * destRect.height())); in drawDrawableOnCanvas()
178 bounds.centerY() + mOffset * bounds.height() + sRect.height() / 2, in drawLetterTile()
256 mOffset = offset; in setOffset()
/packages/apps/Contacts/src/com/android/contacts/lettertiles/
DLetterTileDrawable.java72 private float mOffset = 0.0f; field in LetterTileDrawable
124 (int) (destRect.centerY() - halfLength + mOffset * destRect.height()), in drawBitmap()
126 (int) (destRect.centerY() + halfLength + mOffset * destRect.height())); in drawBitmap()
168 bounds.centerY() + mOffset * bounds.height() - sRect.exactCenterY(), in drawLetterTile()
253 mOffset = offset; in setOffset()
/packages/apps/Car/Cluster/src/android/car/cluster/
DLaneView.java51 private final int mOffset = (int) getResources().getDimension(R.dimen.lane_icon_offset); field in LaneView
192 return -mOffset; in getOffset()
198 return mOffset; in getOffset()
202 return -mOffset; in getOffset()
206 return mOffset; in getOffset()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiCategoryPageIndicatorView.java30 private float mOffset = 0.0f; field in EmojiCategoryPageIndicatorView
49 mOffset = offset; in setCategoryPageId()
64 final float left = unitWidth * mCurrentCategoryPageId + mOffset * unitWidth; in onDraw()
/packages/apps/Nfc/nci/jni/
DDataQueue.cpp124 char* src = (char*)(header) + sizeof(tHeader) + header->mOffset; in dequeue()
132 char* src = (char*)(header) + sizeof(tHeader) + header->mOffset; in dequeue()
136 header->mOffset += actualLen; in dequeue()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmsgTokenizer.java30 private final int mOffset; field in BmsgTokenizer
39 mOffset = offset; in BmsgTokenizer()
77 return mPos + mOffset; in pos()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DPeriodicCallbackModel.java190 private final long mOffset; field in PeriodicCallbackModel.PeriodicRunnable
195 mOffset = offset; in PeriodicRunnable()
213 final long delay = getDelay(System.currentTimeMillis(), mPeriod, mOffset); in schedule()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java487 private int mOffset; field in FilmstripLayout.FilmstripBackground
501 mOffset = offset; in setOffset()
525 int width = getMeasuredWidth() - mOffset; in draw()
526 float translation = mFilmstripContentLayout.getTranslationX() - mOffset; in draw()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java86 private float mOffset = 0f; in run()
93 mOffset = Math.min(0.5f, (float) (AnimationUtils.currentAnimationTimeMillis() - in run()
97 return Math.min(1f, mOffset + t); in run()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifModifier.java39 final int mOffset; field in ExifModifier.TagOffset
44 mOffset = offset; in TagOffset()
144 writeTagValue(tagOffset.mTag, tagOffset.mOffset); in modify()
DExifTag.java103 private int mOffset; field in ExifTag
864 return mOffset; in getOffset()
871 mOffset = offset; in setOffset()
1005 + "\noffset: " + mOffset + "\nvalue: " + forceGetValueAsString() + "\n"; in toString()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifModifier.java39 final int mOffset; field in ExifModifier.TagOffset
44 mOffset = offset; in TagOffset()
144 writeTagValue(tagOffset.mTag, tagOffset.mOffset); in modify()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifModifier.java38 final int mOffset; field in ExifModifier.TagOffset
43 mOffset = offset; in TagOffset()
143 writeTagValue(tagOffset.mTag, tagOffset.mOffset); in modify()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java270 private int mOffset = -1; field in ImageListUber.MergeSlot
283 if (mOffset >= mList.getCount() - 1) return false; in next()
284 mImage = mList.getImageAt(++mOffset); in next()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DAssetFileAddress.java29 public final long mOffset; field in AssetFileAddress
34 mOffset = offset; in AssetFileAddress()

12