OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:startindex
(Results
26 - 50
of
959
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
TextViewActions.java
179
* Returns an action that long presses then drags on text from
startIndex
to endIndex on the
187
* @param
startIndex
The index of the TextView's text to start a drag from
190
public static ViewAction longPressAndDragOnText(int
startIndex
, int endIndex) {
194
new TextCoordinates(
startIndex
),
201
* Returns an action that double taps then drags on text from
startIndex
to endIndex on the
209
* @param
startIndex
The index of the TextView's text to start a drag from
212
public static ViewAction doubleTapAndDragOnText(int
startIndex
, int endIndex) {
216
new TextCoordinates(
startIndex
),
223
* Returns an action that click then drags by mouse on text from
startIndex
to endIndex on the
231
* @param
startIndex
The index of the TextView's text to start a drag fro
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/utils/
int_array_view.h
145
size_t
startIndex
= 0;
148
result.emplace_back(mPtr +
startIndex
, i -
startIndex
);
149
startIndex
= i + 1;
155
result.emplace_back(mPtr +
startIndex
, mSize -
startIndex
);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ContactsDictionaryUtils.java
29
* Returns the index of the last letter in the word, starting from position
startIndex
.
32
final int
startIndex
) {
35
for (end =
startIndex
+ 1; end < len; end += Character.charCount(cp)) {
/external/proguard/src/proguard/classfile/util/
ExternalTypeEnumeration.java
81
int
startIndex
= index;
85
startIndex
);
91
startIndex
);
98
return descriptor.substring(
startIndex
, index++).trim();
/frameworks/base/core/java/android/view/textclassifier/
TextSelection.java
46
int
startIndex
, int endIndex, Map<String, Float> entityConfidence, String id) {
47
mStartIndex =
startIndex
;
110
"TextSelection {id=%s,
startIndex
=%d, endIndex=%d, entities=%s}",
127
* @param
startIndex
the start index of the text selection.
128
* @param endIndex the end index of the text selection. Must be greater than
startIndex
130
public Builder(@IntRange(from = 0) int
startIndex
, @IntRange(from = 0) int endIndex) {
131
Preconditions.checkArgument(
startIndex
>= 0);
132
Preconditions.checkArgument(endIndex >
startIndex
);
133
mStartIndex =
startIndex
;
185
int
startIndex
,
[
all
...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
CompositeFormat.java
118
final int
startIndex
= pos.getIndex();
119
final int endIndex =
startIndex
+ n;
121
if (source.substring(
startIndex
, endIndex).compareTo(sb.toString()) == 0) {
142
final int
startIndex
= pos.getIndex();
147
if (
startIndex
== endIndex) {
173
final int
startIndex
= pos.getIndex();
174
final int endIndex =
startIndex
+ expected.length();
175
if ((
startIndex
>= source.length()) ||
177
(source.substring(
startIndex
, endIndex).compareTo(expected) != 0)) {
179
pos.setIndex(
startIndex
);
[
all
...]
/developers/samples/android/ui/text/TextStyling-Java/app/src/main/java/com/android/example/text/styling/parser/
Parser.java
72
int
startIndex
= matcher.start();
75
if (lastStartIndex <
startIndex
) {
77
String text = string.substring(lastStartIndex,
startIndex
);
116
int
startIndex
= matcher.start();
119
String mark = string.substring(
startIndex
, endIndex);
120
if (lastStartIndex <
startIndex
) {
122
parents.addAll(findElements(string.substring(lastStartIndex,
startIndex
), pattern));
145
text = string.substring(
startIndex
, markEnd);
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/main/java/com/android/example/text/styling/parser/
Parser.kt
52
val
startIndex
= matcher.start()
55
if (lastStartIndex <
startIndex
) {
57
val text = string.subSequence(lastStartIndex,
startIndex
)
95
val
startIndex
= matcher.start()
98
val mark = string.subSequence(
startIndex
, endIndex)
99
if (lastStartIndex <
startIndex
) {
101
parents.addAll(findElements(string.subSequence(lastStartIndex,
startIndex
),
124
text = string.substring(
startIndex
, markEnd)
/external/lzma/Java/SevenZip/Compression/RangeCoder/
BitTreeDecoder.java
41
public static int ReverseDecode(short[] Models, int
startIndex
,
48
int bit = rangeDecoder.DecodeBit(Models,
startIndex
+ m);
/frameworks/av/media/libaaudio/src/fifo/
FifoBuffer.cpp
86
int32_t
startIndex
) {
90
uint8_t *source = &mStorage[convertFramesToBytes(
startIndex
)];
92
if ((
startIndex
+ framesAvailable) > mFrameCapacity) {
94
fifo_frames_t firstFrames = mFrameCapacity -
startIndex
;
111
fifo_frames_t
startIndex
= mFifo->getReadIndex();
112
fillWrappingBuffer(wrappingBuffer, framesAvailable,
startIndex
);
119
fifo_frames_t
startIndex
= mFifo->getWriteIndex();
120
fillWrappingBuffer(wrappingBuffer, framesAvailable,
startIndex
);
/frameworks/av/media/libeffects/loudness/dsp/core/
basic.h
32
//
StartIndex
: the minimum searched index
35
//
StartIndex
<= i <= (EndIndex-1)
/frameworks/base/core/java/com/android/internal/os/
KernelWakelockReader.java
128
int
startIndex
;
134
startIndex
= endIndex = i + 1;
139
for (endIndex=
startIndex
;
153
for (int j =
startIndex
; j < endIndex; j++) {
156
boolean parsed = Process.parseProcLine(wlBuffer,
startIndex
, endIndex,
190
new String(wlBuffer,
startIndex
, endIndex -
startIndex
));
195
startIndex
= endIndex + 1;
/frameworks/base/core/tests/coretests/src/android/util/
SparseLongArrayTest.java
59
private void assertRemoved(int
startIndex
, int endIndex) {
61
if (i >=
startIndex
&& i <= endIndex) {
146
final int
startIndex
= 101;
148
mSparseLongArray.removeAtRange(
startIndex
, endIndex -
startIndex
+ 1);
149
for (int i = endIndex; i >=
startIndex
; i--) {
152
assertEquals(TEST_SIZE - (endIndex -
startIndex
+ 1), mSparseLongArray.size());
153
assertRemoved(
startIndex
, endIndex);
/frameworks/base/libs/hwui/
Interpolator.cpp
105
size_t
startIndex
= 0;
108
while (endIndex >
startIndex
+ 1) {
109
int midIndex = (
startIndex
+ endIndex) / 2;
113
startIndex
= midIndex;
117
float xRange = mX[endIndex] - mX[
startIndex
];
119
return mY[
startIndex
];
122
float tInRange = t - mX[
startIndex
];
125
float startY = mY[
startIndex
];
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
PathInterpolatorBuilder.java
127
int
startIndex
= 0;
130
while (endIndex -
startIndex
> 1) {
131
int midIndex = (
startIndex
+ endIndex) / 2;
135
startIndex
= midIndex;
139
float xRange = mX[endIndex] - mX[
startIndex
];
141
return mY[
startIndex
];
144
float tInRange = t - mX[
startIndex
];
147
float startY = mY[
startIndex
];
/packages/apps/Contacts/src/com/android/contacts/util/
SearchUtil.java
28
public int
startIndex
= -1;
35
",
startIndex
=" +
startIndex
+
46
* @return A MatchedLine object containing the matching line and the
startIndex
of the substring
72
matched.
startIndex
= index - (start + 1);
131
* @param
startIndex
The index to start searching. 0 based indexing.
135
static int findNextTokenStart(String line, int
startIndex
) {
136
int index =
startIndex
;
/packages/apps/Dialer/java/com/android/contacts/common/util/
SearchUtil.java
29
* @return A MatchedLine object containing the matching line and the
startIndex
of the substring
55
matched.
startIndex
= index - (start + 1);
114
* @param
startIndex
The index to start searching. 0 based indexing.
118
static int findNextTokenStart(String line, int
startIndex
) {
119
int index =
startIndex
;
190
public int
startIndex
= -1;
195
return "MatchedLine{" + "line='" + line + '\'' + ",
startIndex
=" +
startIndex
+ '}';
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRBufferedTokenStream.m
215
- (AMutableArray *)getFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex
217
if (
startIndex
< 0 || stopIndex < 0 )
226
for (NSInteger i =
startIndex
; i <= stopIndex; i++) {
289
- (AMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger) stopIndex
291
return [self getTokensFrom:
startIndex
To:stopIndex With:(ANTLRBitSet *)nil];
298
- (AMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex With:(ANTLRBitSet *)types
306
if (
startIndex
< 0 )
307
startIndex
= 0;
308
if (
startIndex
> stopIndex )
313
for (NSInteger i =
startIndex
; i <= stopIndex; i++)
[
all
...]
ANTLRBufferedTokenStream.h
84
- (AMutableArray *)getFrom:(NSInteger)
startIndex
To:(NSInteger) stopIndex;
93
- (AMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex;
94
- (AMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex With:(ANTLRBitSet *)types;
95
- (AMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex WithList:(AMutableArray *)types;
96
- (AMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
98
- (NSString *) toStringFromStart:(NSInteger)
startIndex
ToEnd:(NSInteger)stopIndex;
99
- (NSString *) toStringFromToken:(id<ANTLRToken>)
startIndex
ToToken:(id<ANTLRToken>)stopIndex;
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
CommonTree.js
11
this.
startIndex
= -1;
26
this.
startIndex
= node.
startIndex
;
85
return this.
startIndex
;
89
this.
startIndex
= index;
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
Utils.java
63
int
startIndex
= 0;
66
result.append(src.substring(
startIndex
,endIndex));
70
startIndex
= endIndex + replacee.length();
71
endIndex = src.indexOf(replacee,
startIndex
);
73
result.append(src.substring(
startIndex
,src.length()));
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRBufferedTokenStream.h
81
- (NSMutableArray *)getFrom:(NSInteger)
startIndex
To:(NSInteger) stopIndex;
90
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex;
91
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex With:(ANTLRBitSet *)types;
92
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex WithList:(NSMutableArray *)types;
93
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
94
- (NSString *) toStringFromStart:(NSInteger)
startIndex
ToEnd:(NSInteger)stopIndex;
95
- (NSString *) toStringFromToken:(id<ANTLRToken>)
startIndex
ToToken:(id<ANTLRToken>)stopIndex;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRBufferedTokenStream.h
81
- (NSMutableArray *)getFrom:(NSInteger)
startIndex
To:(NSInteger) stopIndex;
90
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex;
91
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex With:(ANTLRBitSet *)types;
92
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex WithList:(NSMutableArray *)types;
93
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
94
- (NSString *) toStringFromStart:(NSInteger)
startIndex
ToEnd:(NSInteger)stopIndex;
95
- (NSString *) toStringFromToken:(id<ANTLRToken>)
startIndex
ToToken:(id<ANTLRToken>)stopIndex;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRBufferedTokenStream.h
81
- (NSMutableArray *)getFrom:(NSInteger)
startIndex
To:(NSInteger) stopIndex;
90
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex;
91
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex With:(ANTLRBitSet *)types;
92
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex WithList:(NSMutableArray *)types;
93
- (NSMutableArray *)getTokensFrom:(NSInteger)
startIndex
To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
94
- (NSString *) toStringFromStart:(NSInteger)
startIndex
ToEnd:(NSInteger)stopIndex;
95
- (NSString *) toStringFromToken:(id<ANTLRToken>)
startIndex
ToToken:(id<ANTLRToken>)stopIndex;
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
TextSelection.java
46
int
startIndex
, int endIndex, @NonNull Map<String, Float> entityConfidence,
48
mStartIndex =
startIndex
;
112
"TextSelection {
startIndex
=%d, endIndex=%d, entities=%s, signature=%s}",
162
* @param
startIndex
the start index of the text selection.
163
* @param endIndex the end index of the text selection. Must be greater than
startIndex
165
public Builder(@IntRange(from = 0) int
startIndex
, @IntRange(from = 0) int endIndex) {
166
Preconditions.checkArgument(
startIndex
>= 0);
167
Preconditions.checkArgument(endIndex >
startIndex
);
168
mStartIndex =
startIndex
;
Completed in 593 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>