Home
last modified time | relevance | path

Searched refs:maxLength (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java348 int maxLength = 0; //maximum length of a sequence already found in maxLengthSequence() local
355 maxLength = Math.max(maxLength, current - startSequence); in maxLengthSequence()
362 maxLength = Math.max(maxLength, current - startSequence); in maxLengthSequence()
370 maxLength = Math.max(maxLength, bytes.length - startSequence); in maxLengthSequence()
371 return maxLength; in maxLengthSequence()
/frameworks/base/cmds/idmap2/libidmap2/
DCommandLineOptions.cpp141 size_t maxLength = 0; in Usage() local
152 maxLength = std::max(maxLength, opt.name.size() + 4); in Usage()
155 maxLength = std::max(maxLength, opt.name.size()); in Usage()
172 out << std::left << std::setw(maxLength); in Usage()
/frameworks/base/core/java/com/android/internal/util/
DLineBreakBufferedWriter.java123 int maxLength = bufferSize - bufferIndex; in write() local
124 for (int i = 0; i < maxLength; i++) { in write()
177 int maxLength = bufferSize - bufferIndex; in write() local
178 for (int i = 0; i < maxLength; i++) { in write()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableParcelable.java126 int maxLength = buffer.remaining(); in unmarshal() local
128 byte[] remaining = new byte[maxLength]; in unmarshal()
131 parcel.unmarshall(remaining, /*offset*/0, maxLength); in unmarshal()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java139 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength() argument
143 (float) maxLength / srcWidth, (float) maxLength / srcHeight); in resizeDownBySideLength()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java1441 final int maxLength = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag() local
1442 final int maxLengthVarIntSize = computeUInt32SizeNoTag(maxLength); in writeStringNoTag()
2176 final int maxLength = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag() local
2177 final int maxLengthVarIntSize = computeUInt32SizeNoTag(maxLength); in writeStringNoTag()
2181 if (maxLengthVarIntSize + maxLength > limit) { in writeStringNoTag()
2186 final byte[] encodedBytes = new byte[maxLength]; in writeStringNoTag()
2187 int actualLength = Utf8.encode(value, encodedBytes, 0, maxLength); in writeStringNoTag()
2194 if (maxLengthVarIntSize + maxLength > limit - position) { in writeStringNoTag()
2480 final int maxLength = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag() local
2481 final int maxLengthVarIntSize = computeUInt32SizeNoTag(maxLength); in writeStringNoTag()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java476 int maxLength = 0; in configureEGLPbufferSurfaces() local
480 maxLength = (length > maxLength) ? length : maxLength; in configureEGLPbufferSurfaces()
490 mPBufferPixels = ByteBuffer.allocateDirect(maxLength * PBUFFER_PIXEL_BYTES) in configureEGLPbufferSurfaces()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageValidator.java248 public VariableLengthValidator(int minLength, int maxLength) { in VariableLengthValidator() argument
250 mMaxLength = maxLength; in VariableLengthValidator()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c126 size_t maxLength; member
450 if (pString->length == pString->maxLength) { in FwdLockConv_StringAppend()
451 size_t newMaxLength = pString->maxLength + pString->lengthIncrement; in FwdLockConv_StringAppend()
457 pString->maxLength = newMaxLength; in FwdLockConv_StringAppend()
512 pSession->contentType.maxLength = strlenTextPlain; in FwdLockConv_ApplyDefaults()
/frameworks/base/core/java/android/view/
DViewStructure.java413 public void setMaxTextLength(@SuppressWarnings("unused") int maxLength) {} in setMaxTextLength() argument
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java669 static void checkTextLength(CharSequence text, int maxLength) { in checkTextLength() argument
670 Preconditions.checkArgumentInRange(text.length(), 0, maxLength, "text.length()"); in checkTextLength() local
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java728 private byte[] readInternal(long offset, int maxLength) {
745 if (length <= 0 || length > maxLength) {
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java911 public void setMaxTextLength(int maxLength) { in setMaxTextLength() argument
912 mNode.mMaxLength = maxLength; in setMaxTextLength()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2478 final int maxLength = Math.max(maxAuthority, maxAccount + 3); in dumpRecentHistory() local
2479 final int padLength = 2 + 2 + maxLength + 2 + 10 + 11; in dumpRecentHistory()
2485 String.format(" %%-%ds: %%-9s %%-11s\n", maxLength + 2); in dumpRecentHistory()
2487 String.format(" %%-%ds: %%-9s %%-11s\n", maxLength); in dumpRecentHistory()
4009 int maxLength = 0; in writeTo() local
4012 if (length > maxLength) { in writeTo()
4013 maxLength = length; in writeTo()
4016 totalLength += maxLength; in writeTo()
4017 formats[col] = String.format("%%-%ds", maxLength); in writeTo()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBCodedOutputStream.m66 [state->output write:state->bytes maxLength:state->position];
310 maxLength:bufferBytesLeft
960 [state_.output write:((uint8_t *)value) + offset maxLength:length];
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java2005 public void setMaxTextLength(int maxLength) { in setMaxTextLength() argument
2006 mNode.mMaxLength = maxLength; in setMaxTextLength()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java1358 /* maximumApfProgramSize */ capabilities.maxLength, in getApfCapabilities()
/frameworks/base/core/java/android/widget/
DTextView.java11572 int maxLength = -1; in onProvideStructure() local
11575 maxLength = ((InputFilter.LengthFilter) filter).getMax(); in onProvideStructure()
11579 structure.setMaxTextLength(maxLength); in onProvideStructure()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java1262 capabilities.maxLength = myMaxSize; in testApfCapabilities()
/frameworks/base/api/
Dcurrent.txt925 field public static final int maxLength = 16843104; // 0x1010160
67764 method public int maxLength();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt835 field public static final int maxLength = 16843104; // 0x1010160
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt96988 Lcom/android/internal/R$attr;->maxLength:I