Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DPathParser.java29 public static Path createPathFromPathData(String pathString) { in createPathFromPathData() argument
30 if (pathString == null) { in createPathFromPathData()
34 nParseStringForPath(path.mNativePath, pathString, pathString.length()); in createPathFromPathData()
73 public PathData(String pathString) { in PathData() argument
74 mNativePathData = nCreatePathDataFromString(pathString, pathString.length()); in PathData()
76 throw new IllegalArgumentException("Invalid pathData: " + pathString); in PathData()
120 private static native void nParseStringForPath(long pathPtr, String pathString, in nParseStringForPath() argument
125 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.cpp101 …_os_fileobserver_startWatching(JNIEnv* env, jobject object, jint fd, jstring pathString, jint mask) in android_os_fileobserver_startWatching() argument
109 const char* path = env->GetStringUTFChars(pathString, NULL); in android_os_fileobserver_startWatching()
113 env->ReleaseStringUTFChars(pathString, path); in android_os_fileobserver_startWatching()
Dandroid_graphics_drawable_VectorDrawable.cpp181 const char* pathString = env->GetStringUTFChars(inputStr, NULL); in setPathString() local
185 PathParser::getPathDataFromAsciiString(&data, &result, pathString, stringLength); in setPathString()
190 env->ReleaseStringUTFChars(inputStr, pathString); in setPathString()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp30 const char* pathString; member
253 size_t length = strlen(testData.pathString); in TEST()
254 PathParser::getPathDataFromAsciiString(&pathData, &result, testData.pathString, length); in TEST()
281 size_t length = strlen(testData.pathString); in TEST()
284 PathParser::parseAsciiStringForSkPath(&actualPath, &result, testData.pathString, length); in TEST()
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DOMAConstructed.java25 public OMANode addChild(String name, String context, String value, String pathString) in addChild() argument
27 if (pathString == null) { in addChild()
38 for (String element : pathString.split("/")) { in addChild()
DMOManager.java421 private static LinkedList<String> getTailPath(String pathString, String rootName) in getTailPath() argument
423 String[] path = pathString.split("/"); in getTailPath()
432 throw new IOException("Bad node-path: " + pathString); in getTailPath()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DOMAConstructed.java25 public OMANode addChild(String name, String context, String value, String pathString) in addChild() argument
27 if (pathString == null) { in addChild()
38 for (String element : pathString.split("/")) { in addChild()
DPasspointManagementObjectManager.java389 private static LinkedList<String> getTailPath(String pathString, String rootName) in getTailPath() argument
391 String[] path = pathString.split("/"); in getTailPath()
400 throw new IOException("Bad node-path: " + pathString); in getTailPath()
/frameworks/base/tools/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/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.java1850 final String pathString = a.getString(R.styleable.VectorDrawablePath_pathData); in updateStateFromTypedArray() local
1851 if (pathString != null) { in updateStateFromTypedArray()
1852 mPathData = new PathParser.PathData(pathString); in updateStateFromTypedArray()
1853 nSetPathString(mNativePtr, pathString, pathString.length()); in updateStateFromTypedArray()
2125 private static native void nSetPathString(long pathPtr, String pathString, int length); in nSetPathString() argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java290 static void nSetPathString(long pathPtr, String pathString, int length) { in nSetPathString() argument
292 path.setPathData(PathParser_Delegate.createNodesFromPathData(pathString)); in nSetPathString()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in835 void API_ENTRY(glPathStringNV)(GLuint path, GLenum format, GLsizei length, const void *pathString) {
836 CALL_GL_API(glPathStringNV, path, format, length, pathString);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h2523 …ENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
2581 …id GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
/frameworks/native/opengl/libs/
Dentries.in585 GL_ENTRY(void, glPathStringNV, GLuint path, GLenum format, GLsizei length, const void *pathString)