Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/print/
DPageRange.java39 private final int mEnd; field in PageRange
61 mEnd = end; in PageRange()
83 return mEnd; in getEnd()
95 return (pageIndex >= mStart) && (pageIndex <= mEnd); in contains()
107 return mEnd - mStart + 1; in getSize()
118 parcel.writeInt(mEnd); in writeToParcel()
125 result = prime * result + mEnd; in hashCode()
142 if (mEnd != other.mEnd) { in equals()
153 if (mStart == 0 && mEnd == Integer.MAX_VALUE) { in toString()
160 .append(mEnd) in toString()
/frameworks/base/core/java/com/android/internal/util/
DBitwiseInputStream.java36 private int mEnd; field in BitwiseInputStream
54 mEnd = buf.length << 3; in BitwiseInputStream()
62 return mEnd - mPos; in available()
77 if ((bits < 0) || (bits > 8) || ((mPos + bits) > mEnd)) { in read()
79 "(pos " + mPos + ", end " + mEnd + ", bits " + bits + ")"); in read()
111 if ((mPos + bits) > mEnd) { in skip()
113 "(pos " + mPos + ", end " + mEnd + ", bits " + bits + ")"); in skip()
DBitwiseOutputStream.java36 private int mEnd; field in BitwiseOutputStream
54 mEnd = startingLength << 3; in BitwiseOutputStream()
76 if ((mPos + bits) < mEnd) return; in possExpand()
78 System.arraycopy(mBuf, 0, newBuf, 0, mEnd >>> 3); in possExpand()
80 mEnd = newBuf.length << 3; in possExpand()
/frameworks/base/include/androidfw/
DAttributeFinder.h69 Iterator mEnd; variable
87 , mEnd(end) in BackTrackingAttributeFinder()
112 mCurrent = mEnd; in jumpToClosestAttribute()
120 if (mCurrent == mEnd) { in jumpToClosestAttribute()
124 if (mCurrent != mEnd) { in jumpToClosestAttribute()
146 if (!(mBegin < mEnd)) { in find()
147 return mEnd; in find()
169 while (mCurrent != mEnd) { in find()
179 if (mCurrent != mEnd) { in find()
201 return mEnd; in find()
/frameworks/compile/mclinker/include/mcld/Target/
DKeyEntryMap.h90 const_iterator mapping, mEnd = m_Pool.end(); in lookUp() local
91 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUp()
102 iterator mapping, mEnd = m_Pool.end(); in lookUp() local
103 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUp()
115 const_iterator mapping, mEnd = m_Pool.end(); in lookUpFirstEntry() local
116 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUpFirstEntry()
128 const_iterator mapping, mEnd = m_Pool.end(); in lookUpFirstEntry() local
129 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUpFirstEntry()
141 const_iterator mapping, mEnd = m_Pool.end(); in lookUpSecondEntry() local
142 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUpSecondEntry()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DRtlSpacingHelper.java31 private int mEnd = UNDEFINED; field in RtlSpacingHelper
56 mEnd = end; in setRelative()
80 mLeft = mEnd != UNDEFINED ? mEnd : mExplicitLeft; in setDirection()
84 mRight = mEnd != UNDEFINED ? mEnd : mExplicitRight; in setDirection()
/frameworks/base/core/java/android/content/pm/
DLimitedLengthInputStream.java19 private final long mEnd; field in LimitedLengthInputStream
51 mEnd = offset + length; in LimitedLengthInputStream()
59 if (mOffset >= mEnd) { in read()
69 if (mOffset >= mEnd) { in read()
80 if (mOffset + byteCount > mEnd) { in read()
81 byteCount = (int) (mEnd - mOffset); in read()
/frameworks/base/core/java/android/widget/
DRtlSpacingHelper.java31 private int mEnd = UNDEFINED; field in RtlSpacingHelper
56 mEnd = end; in setRelative()
80 mLeft = mEnd != UNDEFINED ? mEnd : mExplicitLeft; in setDirection()
84 mRight = mEnd != UNDEFINED ? mEnd : mExplicitRight; in setDirection()
DEditor.java5520 private int mStart, mEnd;
5533 mEnd = mStart + info.getNewText().length();
5536 if (mStart < 0 || mEnd < 0) {
5578 int end = Math.min(length, mEnd);
/frameworks/base/core/java/android/text/
DAlteredCharSequence.java47 mEnd = subend; in AlteredCharSequence()
53 mEnd = subend; in update()
90 if (off >= mStart && off < mEnd) in charAt()
102 mChars, mStart - start, mEnd - start); in subSequence()
109 end = Math.min(mEnd, end); in getChars()
124 private int mEnd; field in AlteredCharSequence
DStaticLayout.java84 b.mEnd = end; in obtain()
142 mEnd = end; in setText()
392 int mEnd;
567 int bufEnd = b.mEnd;
DTextUtils.java525 mEnd = end; in Reverser()
529 return mEnd - mStart; in length()
545 return AndroidCharacter.getMirror(mSource.charAt(mEnd - 1 - off)); in charAt()
565 private int mEnd; field in TextUtils.Reverser
/frameworks/base/tools/aapt2/util/
DUtil.h246 bool mEnd; variable
255 const iterator mEnd; variable
268 mEnd = true;
296 mEnd == rhs.mEnd;
307 mStr(s), mSeparator(sep), mToken(tok), mEnd(end) { in iterator()
317 return mEnd; in end()
323 mEnd(str, sep, BasicStringPiece<Char>(str.end(), 0), true) { in Tokenizer()
/frameworks/av/media/img_utils/include/img_utils/
DTiffEntryImpl.h58 Endianness mEnd; variable
66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) { in TiffEntryImpl()
114 return mEnd; in getEndianness()
155 if (mEnd != UNDEFINED_ENDIAN) { in writeData()
157 out->setEndianness(mEnd); in writeData()
172 if (mEnd != UNDEFINED_ENDIAN) { in writeData()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DMultiSelectManager.java557 int mEnd = UNDEFINED; field in MultiSelectManager.Range
568 if (mEnd == UNDEFINED || mEnd == mBegin) { in snapSelection()
570 mEnd = UNDEFINED; in snapSelection()
578 assert(mRanger.mEnd == UNDEFINED); in establishRange()
581 mEnd = position; in establishRange()
590 mEnd = position; in establishRange()
594 assert(mEnd != UNDEFINED); in reviseRange()
595 assert(mBegin != mEnd); in reviseRange()
597 if (position == mEnd) { in reviseRange()
601 if (mEnd > mBegin) { in reviseRange()
[all …]
/frameworks/base/tools/aapt2/io/
DFileSystem.cpp48 mCurrent(collection->mFiles.begin()), mEnd(collection->mFiles.end()) { in FileCollectionIterator()
52 return mCurrent != mEnd; in hasNext()
DZipArchive.cpp60 mCurrent(collection->mFiles.begin()), mEnd(collection->mFiles.end()) { in ZipFileCollectionIterator()
64 return mCurrent != mEnd; in hasNext()
DFileSystem.h51 std::map<std::string, std::unique_ptr<IFile>>::const_iterator mCurrent, mEnd;
DZipArchive.h56 std::map<std::string, std::unique_ptr<IFile>>::const_iterator mCurrent, mEnd;
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java648 private int mEnd; field in AutomaticBrightnessController.AmbientLightRingBuffer
666 int next = mEnd; in push()
688 mEnd = next + 1; in push()
689 if (mEnd == mCapacity) { in push()
690 mEnd = 0; in push()
730 mEnd = 0; in clear()
/frameworks/support/compat/java/android/support/v4/util/
DMapCollections.java72 int mEnd; field in MapCollections.MapIterator
77 mEnd = colGetSize() - 1; in MapIterator()
83 return mIndex < mEnd; in hasNext()
100 mEnd--; in remove()
/frameworks/base/core/java/android/util/
DMapCollections.java74 int mEnd; field in MapCollections.MapIterator
79 mEnd = colGetSize() - 1; in MapIterator()
85 return mIndex < mEnd; in hasNext()
102 mEnd--; in remove()
/frameworks/minikin/libs/minikin/
DLayout.cpp469 const int32_t mEnd; member in android::BidiText::Iter
484 return Iter(mBidi, mStart, mEnd, 0, mRunCount, mIsRtl); in begin()
488 return Iter(mBidi, mStart, mEnd, mRunCount, mRunCount, mIsRtl); in end()
493 const size_t mEnd; member in android::BidiText
505 mStart(start), mEnd(end), mRunInfo() { in Iter()
532 const int32_t runEnd = std::min(startRun + lengthRun, mEnd); in updateRunInfo()
544 : mStart(start), mEnd(start + count), mBufSize(bufSize), mBidi(NULL), mRunCount(1), in BidiText()
/frameworks/base/services/core/java/com/android/server/
DAssetAtlasService.java626 private final int mEnd; field in AssetAtlasService.ComputeWorker
648 mEnd = end; in ComputeWorker()
669 for (int width = mEnd; width > mStart; width -= mStep) { in run()
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomSheetBehaviorTest.java174 private final CoordinatesProvider mEnd; field in BottomSheetBehaviorTest.DragAction
180 mEnd = end; in DragAction()
198 float[] end = mEnd.calculateCoordinates(view); in perform()