Home
last modified time | relevance | path

Searched refs:mStart (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/print/
DPageRange.java38 private final int mStart; field in PageRange
60 mStart = start; in PageRange()
74 return mStart; in getStart()
95 return (pageIndex >= mStart) && (pageIndex <= mEnd); in contains()
107 return mEnd - mStart + 1; in getSize()
117 parcel.writeInt(mStart); in writeToParcel()
126 result = prime * result + mStart; in hashCode()
145 if (mStart != other.mStart) { in equals()
153 if (mStart == 0 && mEnd == Integer.MAX_VALUE) { in toString()
158 .append(mStart) in toString()
/frameworks/base/core/java/com/android/internal/util/
DRingBufferIndices.java27 private int mStart; field in RingBufferIndices
48 int pos = mStart; in add()
49 mStart++; in add()
50 if (mStart == mCapacity) { in add()
51 mStart = 0; in add()
60 mStart = 0; in clear()
76 int index = mStart + pos; in indexOf()
/frameworks/base/core/java/android/text/
DAlteredCharSequence.java46 mStart = substart; in AlteredCharSequence()
52 mStart = substart; in update()
90 if (off >= mStart && off < mEnd) in charAt()
91 return mChars[off - mStart]; in charAt()
102 mChars, mStart - start, mEnd - start); in subSequence()
108 start = Math.max(mStart, start); in getChars()
112 System.arraycopy(mChars, start - mStart, dest, off, end - start); in getChars()
123 private int mStart; field in AlteredCharSequence
DTextLine.java50 private int mStart; field in TextLine
138 mStart = start; in set()
593 return TextUtils.getOffsetAfter(mText, offset + mStart) - mStart; in getOffsetBeforeAfter()
595 return TextUtils.getOffsetBefore(mText, offset + mStart) - mStart; in getOffsetBeforeAfter()
607 int limit = mStart + runLimit; in getOffsetBeforeAfter()
609 spanLimit = mSpanned.nextSpanTransition(mStart + spanStart, limit, in getOffsetBeforeAfter()
610 MetricAffectingSpan.class) - mStart; in getOffsetBeforeAfter()
617 MetricAffectingSpan[] spans = mSpanned.getSpans(mStart + spanStart, in getOffsetBeforeAfter()
618 mStart + spanLimit, MetricAffectingSpan.class); in getOffsetBeforeAfter()
646 return wp.getTextRunCursor(mText, mStart + spanStart, in getOffsetBeforeAfter()
[all …]
DTextUtils.java524 mStart = start; in Reverser()
529 return mEnd - mStart; in length()
549 TextUtils.getChars(mSource, start + mStart, end + mStart, in getChars()
564 private int mStart; field in TextUtils.Reverser
DStaticLayout.java83 b.mStart = start; in obtain()
141 mStart = start; in setText()
391 int mStart;
566 int bufStart = b.mStart;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DRtlSpacingHelper.java30 private int mStart = UNDEFINED; field in RtlSpacingHelper
55 mStart = start; in setRelative()
81 mRight = mStart != UNDEFINED ? mStart : mExplicitRight; in setDirection()
83 mLeft = mStart != UNDEFINED ? mStart : mExplicitLeft; in setDirection()
/frameworks/base/core/java/android/widget/
DRtlSpacingHelper.java30 private int mStart = UNDEFINED; field in RtlSpacingHelper
55 mStart = start; in setRelative()
81 mRight = mStart != UNDEFINED ? mStart : mExplicitRight; in setDirection()
83 mLeft = mStart != UNDEFINED ? mStart : mExplicitLeft; in setDirection()
DOverScroller.java192 return mScrollerX.mStart; in getStartX()
201 return mScrollerY.mStart; in getStartY()
532 final int dx = mScrollerX.mFinal - mScrollerX.mStart; in isScrollingInDirection()
533 final int dy = mScrollerY.mFinal - mScrollerY.mStart; in isScrollingInDirection()
540 private int mStart; field in OverScroller.SplineOverScroller
649 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()
681 mCurrentPosition = mStart = start; in startScroll()
715 mCurrentPosition = mStart = mFinal = start; in springback()
734 mCurrentPosition = mStart = start; in startSpringback()
750 mCurrentPosition = mStart = start; in fling()
[all …]
DTextView.java10116 private int mStart, mLength; field in TextView.CharWrapper
10120 mStart = start; in CharWrapper()
10126 mStart = start; in set()
10135 return mChars[off + mStart]; in charAt()
10140 return new String(mChars, mStart, mLength); in toString()
10148 return new String(mChars, start + mStart, end - start); in subSequence()
10156 System.arraycopy(mChars, start + mStart, buf, off, end - start); in getChars()
10161 c.drawText(mChars, start + mStart, end - start, x, y, p); in drawText()
10168 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun()
10173 return p.measureText(mChars, start + mStart, end - start); in measureText()
[all …]
DEditor.java5520 private int mStart, mEnd;
5532 mStart = info.getOffset();
5533 mEnd = mStart + info.getNewText().length();
5536 if (mStart < 0 || mEnd < 0) {
5577 int start = Math.min(length, mStart);
/frameworks/base/libs/hwui/utils/
DTiming.h27 gettimeofday(&mStart, nullptr); in MethodTimer()
33 long long elapsed = (stop.tv_sec * 1000000) - (mStart.tv_sec * 1000000) in ~MethodTimer()
34 + (stop.tv_usec - mStart.tv_usec); in ~MethodTimer()
39 struct timeval mStart; variable
/frameworks/base/libs/androidfw/
DAsset.cpp368 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) in _FileAsset()
421 mStart = offset; in openChunk()
426 if (fseek(mFp, mStart, SEEK_SET) != 0) { in openChunk()
445 mStart = -1; // not used in openChunk()
494 if (ftell(mFp) != mStart + mOffset) { in read()
496 ftell(mFp), (long) mStart, (long) mOffset); in read()
531 actualOffset = mStart + newPosn; in seek()
538 mOffset = actualOffset - mStart; in seek()
610 fseek(mFp, mStart, SEEK_SET); in getBuffer()
627 if (!map->create(NULL, fileno(mFp), mStart, mLength, true)) { in getBuffer()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DArcShape.java31 private float mStart; field in ArcShape
42 mStart = startAngle; in ArcShape()
48 canvas.drawArc(rect(), mStart, mSweep, true, paint); in draw() local
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java671 private int mStart; field in AutomaticBrightnessController.AmbientLightRingBuffer
696 int length = mCapacity - mStart; in push()
697 System.arraycopy(mRingLux, mStart, newRingLux, 0, length); in push()
698 System.arraycopy(mRingTime, mStart, newRingTime, 0, length); in push()
699 if (mStart != 0) { in push()
700 System.arraycopy(mRingLux, 0, newRingLux, length, mStart); in push()
701 System.arraycopy(mRingTime, 0, newRingTime, length, mStart); in push()
708 mStart = 0; in push()
725 int next = mStart + 1; in prune()
739 mStart = next; in prune()
[all …]
/frameworks/base/core/java/android/os/
DPooledStringWriter.java44 private int mStart; field in PooledStringWriter
54 mStart = out.dataPosition(); in PooledStringWriter()
76 mOut.setDataPosition(mStart); in finish()
/frameworks/minikin/libs/minikin/
DLayout.cpp115 mStart(start), mCount(count), mId(collection->getId()), mStyle(style), in LayoutCacheKey()
141 layout->doLayoutRun(mChars, mStart, mCount, mNchars, mIsRtl, ctx); in doLayout()
147 size_t mStart; member in android::LayoutCacheKey
227 && mStart == other.mStart in operator ==()
243 hash = JenkinsHashMix(hash, mStart); in computeHash()
468 const int32_t mStart; 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()
492 const size_t mStart; member in android::BidiText
505 mStart(start), mEnd(end), mRunInfo() { in Iter()
[all …]
/frameworks/base/core/java/android/view/
DViewTreeObserver.java1095 private boolean mStart; field in ViewTreeObserver.CopyOnWriteArray
1114 if (mStart) { in getArray()
1122 if (mStart) throw new IllegalStateException("Iteration already started"); in start()
1123 mStart = true; in start()
1131 if (!mStart) throw new IllegalStateException("Iteration not started"); in end()
1132 mStart = false; in end()
/frameworks/base/include/androidfw/
DAsset.h261 off64_t mStart; // absolute file offset of start of chunk
317 off64_t mStart; // offset to start of compressed data
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java341 public final int mStart; field in SpellCheckerService.SentenceLevelAdapter.SentenceWordItem
345 mStart = start; in SentenceWordItem()
436 offsets[i] = item.mStart; in reconstructSuggestions()
/frameworks/base/services/core/java/com/android/server/
DAssetAtlasService.java625 private final int mStart; field in AssetAtlasService.ComputeWorker
647 mStart = start; in ComputeWorker()
669 for (int width = mEnd; width > mStart; width -= mStep) { in run()
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomSheetBehaviorTest.java178 private final CoordinatesProvider mStart; field in BottomSheetBehaviorTest.DragAction
184 mStart = start; in DragAction()
202 float[] start = mStart.calculateCoordinates(view); in perform()
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java99 private final long mStart = SystemClock.elapsedRealtime(); field in ApfFilter.ReceiveThread
162 long durationMs = SystemClock.elapsedRealtime() - mStart; in logStats()