Home
last modified time | relevance | path

Searched refs:mStartIndex (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
DTextSelection.java40 private final int mStartIndex; field in TextSelection
47 mStartIndex = startIndex; in TextSelection()
57 return mStartIndex; in getSelectionStartIndex()
111 mId, mStartIndex, mEndIndex, mEntityConfidence); in toString()
119 private final int mStartIndex; field in TextSelection.Builder
133 mStartIndex = startIndex; in Builder()
168 mStartIndex, mEndIndex, mEntityConfidence, mId); in build()
178 private final int mStartIndex; field in TextSelection.Request
190 mStartIndex = startIndex; in Request()
210 return mStartIndex; in getStartIndex()
[all …]
DTextClassification.java489 private final int mStartIndex;
501 mStartIndex = startIndex;
521 return mStartIndex;
556 private final int mStartIndex;
574 mStartIndex = startIndex;
609 return new Request(mText, mStartIndex, mEndIndex, mDefaultLocales, mReferenceTime);
621 dest.writeInt(mStartIndex);
648 mStartIndex = in.readInt();
DTextClassifierImplNative.java185 private final int mStartIndex; field in TextClassifierImplNative.AnnotatedSpan
191 mStartIndex = startIndex; in AnnotatedSpan()
197 return mStartIndex; in getStartIndex()
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
DTextSelection.java40 private final int mStartIndex; field in TextSelection
48 mStartIndex = startIndex; in TextSelection()
58 return mStartIndex; in getSelectionStartIndex()
113 mStartIndex, mEndIndex, mEntityConfidence, mSignature); in toString()
123 dest.writeInt(mStartIndex); in writeToParcel()
143 mStartIndex = in.readInt(); in TextSelection()
154 private final int mStartIndex; field in TextSelection.Builder
168 mStartIndex = startIndex; in Builder()
202 mStartIndex, mEndIndex, mEntityConfidence, mSignature); in build()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DSingleRow.java52 } else if (mStartIndex != START_DEFAULT) { in getStartIndexForAppend()
53 return Math.min(mStartIndex, mProvider.getCount() - 1); in getStartIndexForAppend()
62 } else if (mStartIndex != START_DEFAULT) { in getStartIndexForPrepend()
63 return Math.min(mStartIndex, mProvider.getCount() - 1); in getStartIndexForPrepend()
DStaggeredGrid.java154 itemIndex = mStartIndex != START_DEFAULT ? mStartIndex : 0; in prependVisbleItemsWithCache()
308 itemIndex = mStartIndex != START_DEFAULT ? mStartIndex : 0; in appendVisbleItemsWithCache()
DStaggeredGridDefault.java268 itemIndex = mStartIndex != START_DEFAULT ? mStartIndex : 0; in appendVisibleItemsWithoutCache()
370 itemIndex = mStartIndex != START_DEFAULT ? mStartIndex : 0; in prependVisibleItemsWithoutCache()
DGrid.java139 protected int mStartIndex = START_DEFAULT; field in Grid
192 mStartIndex = startIndex; in setStart()
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java681 private int mStartIndex; field in SelectionActionModeHelper.SelectionMetricsLogger
712 mStartIndex = index; in logSelectionStarted()
797 if (start == mStartIndex) { in getWordDelta()
799 } else if (start < mStartIndex) { in getWordDelta()
814 if (end == mStartIndex) { in getWordDelta()
816 } else if (end < mStartIndex) { in getWordDelta()
826 Preconditions.checkArgument(from >= mStartIndex); in countWordsBackward()
829 while (offset > mStartIndex) { in countWordsBackward()
840 Preconditions.checkArgument(from <= mStartIndex); in countWordsForward()
843 while (offset < mStartIndex) { in countWordsForward()
/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.h95 const size_t mStartIndex; variable
DDurationMetricProducer.cpp74 mStartIndex(startIndex), in DurationMetricProducer()