Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/gl/filters/
DGenericProgram.cpp78 GLint maxLength = 0; in compileShader() local
79 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &maxLength); in compileShader()
81 errorLog.reserve(maxLength); in compileShader()
82 glGetShaderInfoLog(shader, maxLength, &maxLength, errorLog.data()); in compileShader()
/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/core/java/android/app/admin/
DPasswordMetrics.java275 int maxLength = 0; //maximum length of a sequence already found in maxLengthSequence() local
282 maxLength = Math.max(maxLength, current - startSequence); in maxLengthSequence()
289 maxLength = Math.max(maxLength, current - startSequence); in maxLengthSequence()
297 maxLength = Math.max(maxLength, bytes.length - startSequence); in maxLengthSequence()
298 return maxLength; in maxLengthSequence()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt155 private fun invalidPackageName(maxLength: Int = SessionParams.MAX_PACKAGE_NAME_LENGTH): String { in <lambda>()
156 return (0 until (maxLength + 10)) in <lambda>()
/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/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java483 int maxLength = 0; in configureEGLPbufferSurfaces() local
487 maxLength = (length > maxLength) ? length : maxLength; in configureEGLPbufferSurfaces()
497 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.java425 public void setMaxTextLength(@SuppressWarnings("unused") int maxLength) {} in setMaxTextLength() argument
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java686 static boolean checkTextLength(CharSequence text, int maxLength) { in checkTextLength() argument
688 return textLength >= 0 && textLength <= maxLength; in checkTextLength()
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java733 private byte[] readInternal(long offset, int maxLength) {
750 if (length <= 0 || length > maxLength) {
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java946 public void setMaxTextLength(int maxLength) { in setMaxTextLength() argument
947 mNode.mMaxLength = maxLength; in setMaxTextLength()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2479 final int maxLength = Math.max(maxAuthority, maxAccount + 3); in dumpRecentHistory() local
2480 final int padLength = 2 + 2 + maxLength + 2 + 10 + 11; in dumpRecentHistory()
2486 String.format(" %%-%ds: %%-9s %%-11s\n", maxLength + 2); in dumpRecentHistory()
2488 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/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java791 private static String getTextAfterIndex(TextView tv, int position, int maxLength) { in getTextAfterIndex() argument
792 int end = Math.min(position + maxLength, tv.getText().length()); in getTextAfterIndex()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java2056 public void setMaxTextLength(int maxLength) { in setMaxTextLength() argument
2057 mNode.mMaxLength = maxLength; in setMaxTextLength()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java1416 /* maximumApfProgramSize */ capabilities.maxLength, in getApfCapabilities()
/frameworks/base/core/java/android/widget/
DTextView.java11679 int maxLength = -1; in onProvideStructure() local
11682 maxLength = ((InputFilter.LengthFilter) filter).getMax(); in onProvideStructure()
11686 structure.setMaxTextLength(maxLength); in onProvideStructure()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java1308 capabilities.maxLength = myMaxSize; in testApfCapabilities()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt942 field public static final int maxLength = 16843104; // 0x1010160
71741 method public int maxLength();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt835 field public static final int maxLength = 16843104; // 0x1010160
/frameworks/base/config/
Dboot-image-profile.txt35035 HSPLjava/time/Month;->maxLength()I