Home
last modified time | relevance | path

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

12

/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/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()
DSelectionActionModeHelper.java173 Selection.setSelection((Spannable) text, result.mStart, result.mEnd); in startActionMode()
254 mSelectionEnd = result.mEnd; in onSmartSelection()
257 result.mStart, result.mEnd, result.mClassification, result.mSelection); in onSmartSelection()
729 private final int mEnd; field in SelectionActionModeHelper.SelectionResult
736 mEnd = end; in SelectionResult()
/frameworks/base/core/java/android/text/method/
DWordIterator.java40 private int mStart, mEnd; field in WordIterator
63 mEnd = Math.min(charSequence.length(), end + WINDOW_WIDTH); in setCharSequence()
64 mIterator.setText(new CharSequenceCharacterIterator(charSequence, mStart, mEnd)); in setCharSequence()
304 if (mStart < offset && offset <= mEnd) { in isAfterPunctuation()
319 if (mStart <= offset && offset < mEnd) { in isOnPunctuation()
367 if (mStart < offset && offset <= mEnd) { in isAfterLetterOrDigit()
375 if (mStart <= offset && offset < mEnd) { in isOnLetterOrDigit()
383 if (!(mStart <= offset && offset <= mEnd)) { in checkOffsetIsValid()
385 ". Valid range is [" + mStart + ", " + mEnd + "]"); in checkOffsetIsValid()
/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
DInputFilter.java107 private final int mStart, mEnd; field in InputFilter.AllCaps.CharSequenceWrapper
113 mEnd = end; in CharSequenceWrapper()
136 return mSource.subSequence(mStart, mEnd).toString(); in toString()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/util/
DEmojiMatcher.java151 private final int mEnd;
159 mEnd = end;
166 .appendValue("[" + mStart + "," + mEnd + "]");
167 } else if (mStart == -1 && mEnd == -1) {
174 .appendValue("[" + mStart + "," + mEnd + "]");
230 if (mStart == -1 && mEnd == -1) {
242 if (mActualStart == mStart && mActualEnd == mEnd) {
/frameworks/support/app-toolkit/common/src/main/java/android/arch/core/internal/
DSafeIterableMap.java38 private Entry<K, V> mEnd; field in SafeIterableMap
76 if (mEnd == null) { in put()
78 mEnd = mStart; in put()
82 mEnd.mNext = newEntry; in put()
83 newEntry.mPrevious = mEnd; in put()
84 mEnd = newEntry; in put()
117 mEnd = toRemove.mPrevious; in remove()
139 ListIterator<K, V> iterator = new AscendingIterator<>(mStart, mEnd); in iterator()
149 DescendingIterator<K, V> iterator = new DescendingIterator<>(mEnd, mStart); in descendingIterator()
175 return mEnd; in newest()
/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/support/app-toolkit/core-testing/src/androidTest/java/android/arch/core/executor/testing/
DCountingTaskExecutorRuleTest.java156 private final CountDownLatch mEnd = new CountDownLatch(1); field in CountingTaskExecutorRuleTest.LatchRunnable
162 mEnd.countDown(); in run()
169 mEnd.await(10, TimeUnit.SECONDS); in await()
/frameworks/base/core/java/android/view/textclassifier/logging/
DSmartSelectionEventTracker.java111 Preconditions.checkArgument(event.mEnd == event.mStart + 1); in logEvent()
120 mSmartIndices[1] = event.mEnd; in logEvent()
124 if (mPrevIndices[0] == event.mStart && mPrevIndices[1] == event.mEnd) { in logEvent()
154 mPrevIndices[1] = event.mEnd; in writeEvent()
301 | (clamp(event.mEnd - mOrigStart) & 0xffff); in getEventDelta()
434 private final int mEnd; field in SmartSelectionEventTracker.SelectionEvent
444 mEnd = end; in SelectionEvent()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java683 private int mEnd; field in AutomaticBrightnessController.AmbientLightRingBuffer
701 int next = mEnd; in push()
723 mEnd = next + 1; in push()
724 if (mEnd == mCapacity) { in push()
725 mEnd = 0; in push()
765 mEnd = 0; in clear()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierImpl.java544 if (rep == null || rep.mEnd < span.mEnd) { in avoidOverlaps()
557 if (rep.mStart < last.mEnd) { in avoidOverlaps()
559 if ((rep.mEnd - rep.mStart) > (last.mEnd - last.mStart)) { in avoidOverlaps()
608 spannable.setSpan(span.mSpan, span.mStart, span.mEnd, 0); in apply()
622 private final int mEnd; field in SpanSpec
627 mEnd = end; in SpanSpec()
/frameworks/support/compat/java/android/support/v4/util/
DMapCollections.java73 int mEnd; field in MapCollections.MapIterator
78 mEnd = colGetSize() - 1; in MapIterator()
84 return mIndex < mEnd; in hasNext()
102 mEnd--; in remove()
/frameworks/base/core/java/android/util/
DMapCollections.java76 int mEnd; field in MapCollections.MapIterator
81 mEnd = colGetSize() - 1; in MapIterator()
87 return mIndex < mEnd; in hasNext()
105 mEnd--; in remove()
/frameworks/minikin/libs/minikin/
DLayout.cpp424 const int32_t mEnd; member in minikin::BidiText::Iter
439 return Iter(mBidi, mStart, mEnd, 0, mRunCount, mIsRtl); in begin()
443 return Iter(mBidi, mStart, mEnd, mRunCount, mRunCount, mIsRtl); in end()
448 const size_t mEnd; member in minikin::BidiText
461 mStart(start), mEnd(end), mRunInfo() { in Iter()
488 const int32_t runEnd = std::min(startRun + lengthRun, mEnd); in updateRunInfo()
500 : mStart(start), mEnd(start + count), mBufSize(bufSize), mBidi(NULL), mRunCount(1), in BidiText()
/frameworks/av/media/libnbaio/
DNBLog.cpp846 snapshot->mEnd = snapshot->mBegin = EntryIterator(front); in getSnapshot()
849 snapshot->mEnd = EntryIterator(lastEnd).next(); in getSnapshot()
852 const uint8_t *firstStartTmp = snapshot->mEnd; in getSnapshot()
859 snapshot->mBegin = snapshot->mEnd; in getSnapshot()
866 mFifoReader->release(snapshot->mEnd - front); in getSnapshot()
/frameworks/av/include/media/nbaio/
DNBLog.h431 EntryIterator end() { return mEnd; } in end()
438 EntryIterator mEnd; variable
/frameworks/av/media/libnbaio/include/media/nbaio/
DNBLog.h431 EntryIterator end() { return mEnd; } in end()
438 EntryIterator mEnd; variable
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomSheetBehaviorTest.java179 private final CoordinatesProvider mEnd; field in BottomSheetBehaviorTest.DragAction
185 mEnd = end; in DragAction()
203 float[] end = mEnd.calculateCoordinates(view); in perform()

12