/frameworks/base/core/java/android/util/ |
D | PathParser.java | 33 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/ |
D | android_util_PathParser.cpp | 33 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()
|
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()
|
D | android_graphics_drawable_VectorDrawable.cpp | 186 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/ |
D | AdaptiveIconDrawable_Delegate.java | 31 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()
|
D | VectorDrawable_Delegate.java | 314 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/ |
D | CameraAvailabilityListener.kt | 126 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/ |
D | VectorDrawableTests.cpp | 30 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/ |
D | PathParser_Delegate.java | 67 /*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/ |
D | ThemedBatteryDrawable.kt | 385 val pathString = context.resources.getString( in <lambda>() constant 387 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 | 2037 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/ |
D | StorageManager.java | 817 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/ |
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)
|