Home
last modified time | relevance | path

Searched refs:pathString (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/util/
DPathParser.java33 public static Path createPathFromPathData(String pathString) { in createPathFromPathData() argument
34 if (pathString == null) { in createPathFromPathData()
38 nParseStringForPath(path.mNativePath, pathString, pathString.length()); in createPathFromPathData()
77 public PathData(String pathString) { in PathData() argument
78 mNativePathData = nCreatePathDataFromString(pathString, pathString.length()); in PathData()
80 throw new IllegalArgumentException("Invalid pathData: " + pathString); in PathData()
124 private static native void nParseStringForPath(long pathPtr, String pathString, in nParseStringForPath() argument
126 private static native long nCreatePathDataFromString(String pathString, int stringLength); in nCreatePathDataFromString() argument
/frameworks/base/core/jni/
Dandroid_util_PathParser.cpp33 const char* pathString = env->GetStringUTFChars(inputPathStr, NULL); in parseStringForPath() local
37 PathParser::parseAsciiStringForSkPath(skPath, &result, pathString, strLength); in parseStringForPath()
38 env->ReleaseStringUTFChars(inputPathStr, pathString); in parseStringForPath()
56 const char* pathString = env->GetStringUTFChars(inputStr, NULL); in createPathDataFromStringPath() local
59 PathParser::getPathDataFromAsciiString(pathData, &result, pathString, strLength); in createPathDataFromStringPath()
60 env->ReleaseStringUTFChars(inputStr, pathString); in createPathDataFromStringPath()
Dandroid_util_FileObserver.cpp118 jstring pathString = (jstring) env->GetObjectArrayElement(pathStrings, i); in android_os_fileobserver_startWatching() local
120 ScopedUtfChars path(env, pathString); in android_os_fileobserver_startWatching()
Dandroid_graphics_drawable_VectorDrawable.cpp186 const char* pathString = env->GetStringUTFChars(inputStr, NULL); in setPathString() local
190 PathParser::getPathDataFromAsciiString(&data, &result, pathString, stringLength); in setPathString()
195 env->ReleaseStringUTFChars(inputStr, pathString); in setPathString()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAdaptiveIconDrawable_Delegate.java31 String pathString = Resources_Delegate.getLayoutlibCallback(Resources.getSystem()).getFlag( in constructor_after() local
33 if (pathString != null) { in constructor_after()
34 AdaptiveIconDrawable.sMask = PathParser.createPathFromPathData(pathString); in constructor_after()
DVectorDrawable_Delegate.java314 static void nSetPathString(long pathPtr, String pathString, int length) { in nSetPathString() argument
316 path.setPathData(PathParser_Delegate.createNodesFromPathData(pathString)); in nSetPathString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DCameraAvailabilityListener.kt126 val pathString = res.getString(R.string.config_frontBuiltInDisplayCutoutProtection) in onApplyCameraProtection() constant
131 manager, pathFromString(pathString), cameraId, excluded, executor) in onApplyCameraProtection()
134 private fun pathFromString(pathString: String): Path { in onApplyCameraProtection()
135 val spec = pathString.trim() in onApplyCameraProtection()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp30 const char* pathString; member
261 size_t length = strlen(testData.pathString); in TEST()
262 PathParser::getPathDataFromAsciiString(&pathData, &result, testData.pathString, length); in TEST()
289 size_t length = strlen(testData.pathString); in TEST()
292 PathParser::parseAsciiStringForSkPath(&actualPath, &result, testData.pathString, length); in TEST()
/frameworks/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java67 /*package*/ static void nParseStringForPath(long pathPtr, @NonNull String pathString, int in nParseStringForPath() argument
73 assert pathString.length() == stringLength; in nParseStringForPath()
74 PathDataNode.nodesToPath(createNodesFromPathData(pathString), path_delegate); in nParseStringForPath()
104 /*package*/ static long nCreatePathDataFromString(@NonNull String pathString, in nCreatePathDataFromString() argument
106 assert pathString.length() == stringLength : "Inconsistent path string length."; in nCreatePathDataFromString()
107 PathDataNode[] nodes = createNodesFromPathData(pathString); in nCreatePathDataFromString()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt385 val pathString = context.resources.getString( in <lambda>() constant
387 perimeterPath.set(PathParser.createPathFromPathData(pathString)) in <lambda>()
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp251 const String8 pathString = Utility::getStringValue(env, jpath); in android_drm_DrmManagerClient_getConstraintsFromContent() local
253 = getDrmManagerClientImpl(env, thiz)->getConstraints(uniqueId, &pathString, usage); in android_drm_DrmManagerClient_getConstraintsFromContent()
299 const String8 pathString = Utility::getStringValue(env, jpath); in android_drm_DrmManagerClient_getMetadataFromContent() local
301 getDrmManagerClientImpl(env, thiz)->getMetadata(uniqueId, &pathString); in android_drm_DrmManagerClient_getMetadataFromContent()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java2037 final String pathString = a.getString(R.styleable.VectorDrawablePath_pathData); in updateStateFromTypedArray() local
2038 if (pathString != null) { in updateStateFromTypedArray()
2039 mPathData = new PathParser.PathData(pathString); in updateStateFromTypedArray()
2040 nSetPathString(mNativePtr, pathString, pathString.length()); in updateStateFromTypedArray()
2286 private static native void nSetPathString(long pathPtr, String pathString, int length); in nSetPathString() argument
/frameworks/base/core/java/android/os/storage/
DStorageManager.java817 final String pathString = path.getCanonicalPath(); in getUuidForPath() local
818 if (FileUtils.contains(Environment.getDataDirectory().getAbsolutePath(), pathString)) { in getUuidForPath()
823 if (vol.path != null && FileUtils.contains(vol.path, pathString) in getUuidForPath()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in1132 void API_ENTRY(glPathStringNV)(GLuint path, GLenum format, GLsizei length, const void *pathString) {
1133 CALL_GL_API(glPathStringNV, path, format, length, pathString);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h3087 …ENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
3164 …id GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
/frameworks/native/opengl/libs/
Dentries.in647 GL_ENTRY(void, glPathStringNV, GLuint path, GLenum format, GLsizei length, const void *pathString)