Home
last modified time | relevance | path

Searched refs:mOffset (Results 1 – 25 of 36) 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/modules/Wifi/framework/java/android/net/wifi/aware/
DTlvBufferUtils.java574 private int mOffset = 0; in iterator()
578 return mOffset < mArrayLength; in iterator()
589 type = mArray[mOffset]; in iterator()
591 type = peekShort(mArray, mOffset, mByteOrder); in iterator()
593 mOffset += mTypeSize; in iterator()
597 length = mArray[mOffset]; in iterator()
599 length = peekShort(mArray, mOffset, mByteOrder); in iterator()
601 mOffset += mLengthSize; in iterator()
603 TlvElement tlv = new TlvElement(type, length, mArray, mOffset); in iterator()
605 mOffset += length; in iterator()
/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.java240 private int mOffset; field in XmpInterface.ByteCountingInputStream
246 mOffset = 0; in ByteCountingInputStream()
268 mOffsets.add(mLine - 1, mOffset + i + 1); in read()
272 mOffset += read; in read()
281 mOffset++; in read()
283 mOffsets.add(mLine - 1, mOffset); in read()
/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.java62 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()
173 canvas.drawText(mLetters, bounds.centerX(), bounds.centerY() + mOffset * bounds.height() in drawLetterTile()
251 mOffset = offset; in setOffset()
/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()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/shared/
DLetterTileDrawable.java71 private float mOffset = 0.0f; field in LetterTileDrawable
150 (int) (destRect.centerY() - halfLength + mOffset * destRect.height()), in drawDrawableOnCanvas()
152 (int) (destRect.centerY() + halfLength + mOffset * destRect.height())); in drawDrawableOnCanvas()
188 bounds.centerY() + mOffset * bounds.height() + sRect.height() / 2, in drawLetterTile()
262 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/DirectRenderingCluster/src/android/car/cluster/
DLaneView.java51 private final int mOffset = (int) getResources().getDimension(R.dimen.lane_icon_offset); field in LaneView
193 return -mOffset; in getOffset()
199 return mOffset; in getOffset()
203 return -mOffset; in getOffset()
207 return mOffset; in getOffset()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
DLaneView.java52 private final int mOffset = (int) getResources().getDimension(R.dimen.lane_icon_offset); field in LaneView
194 return -mOffset; in getOffset()
200 return mOffset; in getOffset()
204 return -mOffset; in getOffset()
208 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.java32 private final int mOffset; field in BmsgTokenizer
41 mOffset = offset; in BmsgTokenizer()
79 return mPos + mOffset; in pos()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java83 private float mOffset = 0f; in run()
90 mOffset = Math.min(0.5f, (float) (AnimationUtils.currentAnimationTimeMillis() - in run()
94 return Math.min(1f, mOffset + t); in run()
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSensorMetadata.java46 private float mOffset; field in SensorMetadata
91 this.mOffset = offset; in SensorMetadata()
264 return String.valueOf(data * mScale + mOffset); in translateData()
/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()
/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/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DAssetFileAddress.java29 public final long mOffset; field in AssetFileAddress
34 mOffset = offset; in AssetFileAddress()

12