Searched defs:startD (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPathMeasure_Delegate.java156 /*package*/ static boolean native_getSegment(long native_instance, float startD, float stopD, argument
158 if (startD < 0) {
159 startD = 0;
162 if (startD >= stopD) {
170 float accLength = startD;
/frameworks/base/graphics/java/android/graphics/
H A DPathMeasure.java114 * true. startD and stopD are pinned to legal values (0..getLength()).
115 * If startD >= stopD then return false (and leave dst untouched).
123 public boolean getSegment(float startD, float stopD, Path dst, boolean startWithMoveTo) { argument
127 if (startD < 0) {
128 startD = 0;
133 if (startD >= stopD) {
137 return native_getSegment(native_instance, startD, stopD, dst.mutateNI(), startWithMoveTo);
165 private static native boolean native_getSegment(long native_instance, float startD, float stopD, long native_path, boolean startWithMoveTo); argument

Completed in 44 milliseconds