Home
last modified time | relevance | path

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

12

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharMatcher.java247 @Override public int indexIn(CharSequence sequence) {
248 return (sequence.length() == 0) ? -1 : 0;
250 @Override public int indexIn(CharSequence sequence, int start) {
251 int length = sequence.length();
255 @Override public int lastIndexIn(CharSequence sequence) {
256 return sequence.length() - 1;
258 @Override public boolean matchesAllOf(CharSequence sequence) {
259 checkNotNull(sequence);
262 @Override public boolean matchesNoneOf(CharSequence sequence) {
263 return sequence.length() == 0;
[all …]
DSplitter.java331 public Iterable<String> split(final CharSequence sequence) {
332 checkNotNull(sequence);
336 return strategy.iterator(Splitter.this, sequence);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSentenceLevelAdapter.java91 public int getEndOfWord(final CharSequence sequence, final int fromIndex) { in getEndOfWord() argument
92 final int length = sequence.length(); in getEndOfWord()
93 int index = fromIndex < 0 ? 0 : Character.offsetByCodePoints(sequence, fromIndex, 1); in getEndOfWord()
95 final int codePoint = Character.codePointAt(sequence, index); in getEndOfWord()
104 Character.codePointAt(sequence, indexOfNextCodePoint))) { in getEndOfWord()
116 public int getBeginningOfNextWord(final CharSequence sequence, final int fromIndex) {
117 final int length = sequence.length();
121 int index = fromIndex < 0 ? 0 : Character.offsetByCodePoints(sequence, fromIndex, 1);
123 final int codePoint = Character.codePointAt(sequence, index);
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DGpsCoordinatesTextClassifier.java68 CharSequence sequence = text.subSequence(start, end); in classifyText() local
69 if (isGeoSequence(sequence)) { in classifyText()
72 .setData(Uri.parse(String.format("geo:0,0?q=%s", sequence))); in classifyText()
78 .setText(sequence.toString()) in classifyText()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStorageSizesController.java164 public Builder setComputingString(@StringRes int sequence) { in setComputingString() argument
165 mComputing = sequence; in setComputingString()
169 public Builder setErrorString(@StringRes int sequence) { in setErrorString() argument
170 mError = sequence; in setErrorString()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSizesController.java164 public Builder setComputingString(@StringRes int sequence) { in setComputingString() argument
165 mComputing = sequence; in setComputingString()
169 public Builder setErrorString(@StringRes int sequence) { in setErrorString() argument
170 mError = sequence; in setErrorString()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md5 > (in Introduction) JSON text is a sequence of Unicode code points.
34 …r transferred over network, we need to state the byte order of the byte sequence, either little-en…
94 …andle UTF-8. Since any JSON can represent unicode characters in escaped sequence `\uXXXX`, JSON ca…
114 When RapidJSON parses a JSON, it can validate the input JSON, whether it is a valid sequence of a s…
116 …teEncodingFlag` is not necessary, as it must decode the input sequence. And if the sequence was un…
Ddom.md230 …t. During decoding, it will validate the byte sequence in the source string. If it is not a valid
232 …same as encoding of DOM, by default, the parser will *not* validate the sequence. User may use `kP…
Dfeatures.md35 … read a UTF-8 file, and let RapidJSON check whether all JSON strings are valid UTF-8 byte sequence.
Dpointer.md190 …beginning, and some characters are encoded by percent-encoding in UTF-8 sequence. For example, the…
Dsax.md231 1. `Writer` must output a well-formed JSON. If there is incorrect event sequence (e.g. `Int()` just…
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppReceiveFileInfo.java275 int sequence = 1; in chooseUniquefilename() local
278 fullfilename = filename + sequence + extension; in chooseUniquefilename()
283 Log.v(Constants.TAG, "file with sequence number " + sequence + " exists"); in chooseUniquefilename()
285 sequence += rnd.nextInt(magnitude) + 1; in chooseUniquefilename()
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto311 // a sequence of graphic elements (e.g. text, images) to be displayed
314 // Each sequence will have a plain text representation in `alternate_text`
316 // the sequence of elements in `elements` may be left empty.
320 // One item in the sequence that makes up a Cue,
321 // a sequence of graphic elements that can be displayed one after another.
330 // If rendering fails and the text is empty, then no elements in the sequence
352 // The sequence of graphic elements.
396 // described as a Cue object containing a sequence of texts
398 // Separators, such as spaces, should be provided in the sequence.
/packages/services/Car/car-lib/src/android/car/vms/
DVmsAvailableLayers.java59 public VmsAvailableLayers(@NonNull Set<VmsAssociatedLayer> associatedLayers, int sequence) { in VmsAvailableLayers() argument
60 mSeq = sequence; in VmsAvailableLayers()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DRaceConditionReproducer.java484 ArrayList<String> sequence = new ArrayList<>(); in generateSequenceToFollowLocked() local
485 mRoot.populatePathToGrowthPoint(sequence); in generateSequenceToFollowLocked()
486 return sequence; in generateSequenceToFollowLocked()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DPasswordHelper.java150 int sequence = PasswordMetrics.maxLengthSequence(pin); in validatePin() local
151 if (sequence > PasswordMetrics.MAX_ALLOWED_SEQUENCE) { in validatePin()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java479 int sequence = 1; in generateAvailableFilenameLocked() local
482 name = prefix + Constants.FILENAME_SEQUENCE_SEPARATOR + sequence + suffix; in generateAvailableFilenameLocked()
486 sequence += sRandom.nextInt(magnitude) + 1; in generateAvailableFilenameLocked()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DNotificationImportExportListener.java73 public Notification onImportProcessed(ImportRequest request, int jobId, int sequence) { in onImportProcessed() argument
87 if (sequence == 0) { in onImportProcessed()
DVCardImportExportListener.java25 Notification onImportProcessed(ImportRequest request, int jobId, int sequence); in onImportProcessed() argument
DNfcImportVCardActivity.java233 public Notification onImportProcessed(ImportRequest request, int jobId, int sequence) { in onImportProcessed() argument
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java182 ASN1Sequence sequence = (ASN1Sequence) in isCa() local
184 return BasicConstraints.getInstance(sequence).isCA(); in isCa()
/packages/apps/Test/connectivity/sl4n/rapidjson/
DCHANGELOG.md38 * A bug in trimming long number sequence (4824f12efbf01af72b8cb6fc96fae7b097b73015).
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockPassword.java751 final int sequence = PasswordMetrics.maxLengthSequence(password); in validatePassword() local
752 if (sequence > PasswordMetrics.MAX_ALLOWED_SEQUENCE) { in validatePassword()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPassword.java750 final int sequence = PasswordMetrics.maxLengthSequence(password); in validatePassword() local
751 if (sequence > PasswordMetrics.MAX_ALLOWED_SEQUENCE) { in validatePassword()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java5327 int sequence = Integer.parseInt(sequenceString); in addToSequence() local
5328 if (sequence > mLastSequence) { in addToSequence()
5331 mLastSequence = sequence; in addToSequence()

12