Home
last modified time | relevance | path

Searched refs:w (Results 1 – 6 of 6) sorted by relevance

/gdk/samples/PhotoEditor/src/com/android/photoeditor/
DRectUtils.java37 float w = bounds.width() / 2; in getStraightenMatrix() local
40 if ((degrees < 0 && w > h) || (degrees > 0 && w <= h)) { in getStraightenMatrix()
42 adjustAngle = (float) Math.atan(h / -w) + MATH_PI + degrees * DEGREES_TO_RADIAN; in getStraightenMatrix()
45 adjustAngle = (float) Math.atan(h / w) - MATH_PI + degrees * DEGREES_TO_RADIAN; in getStraightenMatrix()
47 float radius = (float) Math.hypot(w, h); in getStraightenMatrix()
48 float scaleX = (float) Math.abs(radius * Math.cos(adjustAngle)) / w; in getStraightenMatrix()
DEffectsGroup.java51 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
52 super.onSizeChanged(w, h, oldw, oldh); in onSizeChanged()
/gdk/samples/PhotoEditor/src/com/android/photoeditor/actions/
DRotateView.java128 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
129 super.onSizeChanged(w, h, oldw, oldh); in onSizeChanged()
131 centerX = w / 2; in onSizeChanged()
DScaleWheel.java106 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
107 super.onSizeChanged(w, h, oldw, oldh); in onSizeChanged()
109 int wheelSize = Math.min(w, h); in onSizeChanged()
DColorWheel.java130 protected void onSizeChanged(int w, int h, int oldw, int oldh) { in onSizeChanged() argument
131 super.onSizeChanged(w, h, oldw, oldh); in onSizeChanged()
133 int wheelSize = Math.min(w, h) - PADDING; in onSizeChanged()
/gdk/build/gmsl/
D__gmsl343 [a-z] := a b c d e f g h i j k l m n o p q r s t u v w x y z #
367 __gmsl_characters += a b c d e f g h i j k l m n o p q r s t u v w x y z