/frameworks/base/core/java/android/util/ |
D | PathParser.java | 34 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/ |
D | android_util_PathParser.cpp | 31 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()
|
D | android_graphics_drawable_VectorDrawable.cpp | 185 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/ |
D | VectorDrawableTests.cpp | 36 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/ |
D | CameraProtectionLoader.kt | 91 private fun pathFromString(pathString: String): Path { in loadCameraProtectionInfoList() 93 PathParser.createPathFromPathData(pathString.trim()) in loadCameraProtectionInfoList()
|
/frameworks/base/core/jni/ |
D | android_util_FileObserver.cpp | 118 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/ |
D | PathData.java | 69 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/ |
D | CameraAvailabilityListenerTest.kt | 41 private fun pathFromString(pathString: String): Path { in pathFromString() 42 val spec = pathString.trim() in pathFromString()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | ThemedBatteryDrawable.kt | 387 val pathString = context.resources.getString( in <lambda>() constant 389 perimeterPath.set(PathParser.createPathFromPathData(pathString)) in <lambda>()
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 251 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/ |
D | VectorDrawable.java | 2026 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/ |
D | StorageManager.java | 906 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/ |
D | gl2ext_api.in | 1132 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/ |
D | gl2ext.h | 3087 …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/ |
D | entries.in | 647 GL_ENTRY(void, glPathStringNV, GLuint path, GLenum format, GLsizei length, const void *pathString)
|