Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DPathParser.java34 public static Path createPathFromPathData(String pathString) { in createPathFromPathData() argument
35 if (pathString == null) { in createPathFromPathData()
39 nParseStringForPath(path.mNativePath, pathString, pathString.length()); in createPathFromPathData()
78 public PathData(String pathString) { in PathData() argument
79 mNativePathData = nCreatePathDataFromString(pathString, pathString.length()); in PathData()
81 throw new IllegalArgumentException("Invalid pathData: " + pathString); in PathData()
125 private static native void nParseStringForPath(long pathPtr, String pathString, in nParseStringForPath() argument
127 private static native long nCreatePathDataFromString(String pathString, int stringLength); in nCreatePathDataFromString() argument
/frameworks/base/libs/hwui/jni/
Dandroid_util_PathParser.cpp31 const char* pathString = env->GetStringUTFChars(inputPathStr, NULL); in parseStringForPath() local
35 PathParser::parseAsciiStringForSkPath(skPath, &result, pathString, strLength); in parseStringForPath()
36 env->ReleaseStringUTFChars(inputPathStr, pathString); in parseStringForPath()
54 const char* pathString = env->GetStringUTFChars(inputStr, NULL); in createPathDataFromStringPath() local
57 PathParser::getPathDataFromAsciiString(pathData, &result, pathString, strLength); in createPathDataFromStringPath()
58 env->ReleaseStringUTFChars(inputStr, pathString); in createPathDataFromStringPath()
Dandroid_graphics_drawable_VectorDrawable.cpp185 const char* pathString = env->GetStringUTFChars(inputStr, NULL); in setPathString() local
189 PathParser::getPathDataFromAsciiString(&data, &result, pathString, stringLength); in setPathString()
194 env->ReleaseStringUTFChars(inputStr, pathString); in setPathString()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp36 const char* pathString; member
267 size_t length = strlen(testData.pathString); in TEST()
268 PathParser::getPathDataFromAsciiString(&pathData, &result, testData.pathString, length); in TEST()
295 size_t length = strlen(testData.pathString); in TEST()
298 PathParser::parseAsciiStringForSkPath(&actualPath, &result, testData.pathString, length); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DCameraProtectionLoader.kt91 private fun pathFromString(pathString: String): Path { in loadCameraProtectionInfoList()
93 PathParser.createPathFromPathData(pathString.trim()) in loadCameraProtectionInfoList()
/frameworks/base/core/jni/
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()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DPathData.java69 return pathString(mFloatPath); in deepToString()
152 public static String pathString(float[] path) { in pathString() method in PathData
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DCameraAvailabilityListenerTest.kt41 private fun pathFromString(pathString: String): Path { in pathFromString()
42 val spec = pathString.trim() in pathFromString()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt387 val pathString = context.resources.getString( in <lambda>() constant
389 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.java2026 final String pathString = a.getString(R.styleable.VectorDrawablePath_pathData); in updateStateFromTypedArray() local
2027 if (pathString != null) { in updateStateFromTypedArray()
2028 mPathData = new PathParser.PathData(pathString); in updateStateFromTypedArray()
2029 nSetPathString(mNativePtr, pathString, pathString.length()); in updateStateFromTypedArray()
2275 private static native void nSetPathString(long pathPtr, String pathString, int length); in nSetPathString() argument
/frameworks/base/core/java/android/os/storage/
DStorageManager.java906 final String pathString = path.getCanonicalPath(); in getUuidForPath() local
907 if (FileUtils.contains(Environment.getDataDirectory().getAbsolutePath(), pathString)) { in getUuidForPath()
912 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)