Searched defs:forceClosed (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPathMeasure_Delegate.java54 private PathMeasure_Delegate(long native_path, boolean forceClosed) { argument
57 if (forceClosed) {
70 /*package*/ static long native_create(long native_path, boolean forceClosed) { argument
71 return sManager.addNewDelegate(new PathMeasure_Delegate(native_path, forceClosed));
104 forceClosed) {
109 if (forceClosed) {
103 native_setPath(long native_instance, long native_path, boolean forceClosed) argument
/frameworks/base/graphics/java/android/graphics/
H A DPathMeasure.java47 * @param forceClosed If true, then the path will be considered as "closed"
50 public PathMeasure(Path path, boolean forceClosed) { argument
54 forceClosed);
60 public void setPath(Path path, boolean forceClosed) { argument
64 forceClosed);
161 private static native long native_create(long native_path, boolean forceClosed); argument
162 private static native void native_setPath(long native_instance, long native_path, boolean forceClosed); argument
/frameworks/base/core/jni/android/graphics/
H A DPathMeasure.cpp43 PathMeasurePair(const SkPath& path, bool forceClosed) argument
44 : fPath(path), fMeasure(fPath, forceClosed) {}
58 bool forceClosed = (forceClosedHandle == JNI_TRUE); local
61 pair = new PathMeasurePair(*path, forceClosed);
71 bool forceClosed = (forceClosedHandle == JNI_TRUE); local
78 pair->fMeasure.setPath(&pair->fPath, forceClosed);

Completed in 335 milliseconds