/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | VUMeter.java | 78 float angle = minAngle; in onDraw() local 80 angle += (float)(maxAngle - minAngle)*mRecorder.getMaxAmplitude()/32768; in onDraw() 82 if (angle > mCurrentAngle) in onDraw() 83 mCurrentAngle = angle; in onDraw() 85 mCurrentAngle = Math.max(angle, mCurrentAngle - DROPOFF_STEP); in onDraw()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ZoomControlWheel.java | 95 double angle = Math.atan2(dy, dx); in dispatchTouchEvent() local 96 if (angle < 0) angle += (2 * Math.PI); in dispatchTouchEvent() 97 mSliderRadians = getSliderDrawAngle(angle); in dispatchTouchEvent() 181 public void rotate(double angle) { in rotate() argument 182 mRotateAngle = angle; in rotate()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | AccelerometerListener.java | 128 double angle = Math.atan2(xy, z); in onSensorEvent() local 130 angle = angle * 180.0 / Math.PI; in onSensorEvent() 131 … final int orientation = (angle > VERTICAL_ANGLE ? ORIENTATION_VERTICAL : ORIENTATION_HORIZONTAL); in onSensorEvent() 132 if (VDEBUG) Log.d(TAG, "angle: " + angle + " orientation: " + orientation); in onSensorEvent()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 286 float angle = centerAngle - PIE_SWEEP / 2 + emptyangle + sweep / 2; in layoutItems() local 302 angle = item.getCenter(); in layoutItems() 308 int x = (int) (r * Math.cos(angle)); in layoutItems() 309 int y = mCenter.y - (int) (r * Math.sin(angle)) - h / 2; in layoutItems() 312 float itemstart = angle - sweep / 2; in layoutItems() 315 layoutItems(item.getItems(), angle, inner, in layoutItems() local 318 angle += sweep; in layoutItems() 341 private float getDegrees(double angle) { in getDegrees() argument 342 return (float) (360 - 180 * angle / Math.PI); in getDegrees() 667 private void drawLine(Canvas canvas, int angle, Paint p) { in drawLine() argument [all …]
|
/packages/apps/Camera2/jni/ |
D | tinyplanet.cc | 92 void StereographicProjection(float scale, float angle, unsigned char* input_image, in StereographicProjection() argument 111 float theta = angle+atan2(yf, xf); in StereographicProjection() 133 …tmap_in, jint width, jint height, jobject bitmap_out, jint output_size, jfloat scale, jfloat angle) in Java_com_android_camera_tinyplanet_TinyPlanetNative_process() argument 142 StereographicProjection(scale, angle, rgb_in, width, height, rgb_out, output_size, output_size); in Java_com_android_camera_tinyplanet_TinyPlanetNative_process()
|
/packages/apps/Gallery2/jni/filters/ |
D | tinyplanet.cc | 91 void StereographicProjection(float scale, float angle, unsigned char* input_image, in StereographicProjection() argument 110 float theta = angle+atan2(yf, xf); in StereographicProjection() 132 …itmap_in, jint width, jint height, jobject bitmap_out, jint output_size, jfloat scale,jfloat angle) in JNIFUNCF() argument 141 StereographicProjection(scale,angle, rgb_in, width, height, rgb_out, output_size, output_size); in JNIFUNCF()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropMath.java | 161 float angle = getUnrotated(rotatedRect, center, unrotated); in pointInRotatedRect() local 162 return pointInRotatedRect(point, unrotated, angle); in pointInRotatedRect() 251 float angle = (float) (Math.atan(dy / dx) * 180 / Math.PI); in getUnrotated() local 253 m.setRotate(-angle, center[0], center[1]); in getUnrotated() 257 return angle; in getUnrotated()
|
D | CropObject.java | 85 public void rotateOuter(int angle) { in rotateOuter() argument 86 mRotation = angle % 360; in rotateOuter()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | EclipseControl.java | 272 double angle = Math.PI * i / 180.; in paintOvallines() local 273 float x = cx + (float) (rx * Math.cos(angle)); in paintOvallines() 274 float y = cy + (float) (ry * Math.sin(angle)); in paintOvallines() 290 double angle = Math.PI * i / 180.; in fillHandles() local 292 float x = cx + (float) (rx * Math.cos(angle)); in fillHandles() 293 float y = cy + (float) (ry * Math.sin(angle)); in fillHandles()
|
D | GeometryMathUtils.java | 343 float angle = holder.straighten; in getPartialToScreenMatrix() local 346 ImageStraighten.getUntranslatedStraightenCropBounds(rCrop, angle); in getPartialToScreenMatrix() 364 compensation.postRotate(angle, cx, cy); in getPartialToScreenMatrix()
|
D | ImageStraighten.java | 179 float angle = getCurrentTouchAngle(); in computeValue() local 180 mAngle = (mBaseAngle - angle) % 360; in computeValue()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | RoundedLine.java | 80 final float angle = (float)(aa * RADIAN_TO_DEGREE); in makePath() local 93 mPath.arcTo(mArc1, angle, a1); in makePath() 96 mPath.arcTo(mArc2, angle, a2); in makePath()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterTinyPlanetRepresentation.java | 61 public void setAngle(float angle) { in setAngle() argument 62 mAngle = angle; in setAngle()
|
D | ImageFilterTinyPlanet.java | 72 float angle); in nativeApplyFilter() argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | BitmapUtil.java | 101 android.content.res.Resources resources, int resourceId, float angle) { in getRotatedDrawable() argument 110 tempCanvas.rotate(angle, original.getWidth()/2, original.getHeight()/2); in getRotatedDrawable()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 359 public View moveFocus(View focus, float direction, float angle) { in moveFocus() argument 366 final double beta = Math.toRadians(Math.min(angle, 180f) / 2f); in moveFocus() 389 if (angle < 180f) { in moveFocus() 840 float angle = randfrange(-mImageRotationLimit, mImageRotationLimit); in dropOnTable() local 870 .rotation(angle) in dropOnTable() 917 private float wrapAngle(float angle) { in wrapAngle() argument 918 float result = angle + 180; in wrapAngle()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AnalogClock.java | 221 private void drawHand(Canvas canvas, Drawable hand, int x, int y, float angle, in drawHand() argument 224 canvas.rotate(angle, x, y); in drawHand()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 62 public abstract void rotate(float angle, float x, float y, float z); in rotate() argument
|
D | GLES11Canvas.java | 251 public void rotate(float angle, float x, float y, float z) { in rotate() argument 252 if (angle == 0) return; in rotate() 254 Matrix.setRotateM(temp, 0, angle, x, y, z); in rotate()
|
D | GLES20Canvas.java | 416 public void rotate(float angle, float x, float y, float z) { in rotate() argument 417 if (angle == 0f) { in rotate() 421 Matrix.setRotateM(temp, 0, angle, x, y, z); in rotate()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
D | GLCanvas.java | 60 public abstract void rotate(float angle, float x, float y, float z); in rotate() argument
|
D | GLES20Canvas.java | 414 public void rotate(float angle, float x, float y, float z) { in rotate() argument 415 if (angle == 0f) { in rotate() 419 Matrix.setRotateM(temp, 0, angle, x, y, z); in rotate()
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
D | TinyPlanetFragment.java | 419 private void onAngleChange(int angle) { in onAngleChange() argument 420 mCurrentAngle = (float) Math.toRadians(angle); in onAngleChange()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | GlowPadView.java | 1176 final float angle = alpha * i; in updateTargetPositions() local 1179 targetIcon.setX(getRingWidth() / 2 * (float) Math.cos(angle)); in updateTargetPositions() 1180 targetIcon.setY(getRingHeight() / 2 * (float) Math.sin(angle)); in updateTargetPositions()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 1969 double angle = Math.atan(((float) deltaY) / deltaX); in computeDirectionVector() local 1973 if (Math.abs(Math.cos(angle)) > 0.5f) { in computeDirectionVector() 1976 if (Math.abs(Math.sin(angle)) > 0.5f) { in computeDirectionVector() 2158 double angle = Math.atan( (float) (dY) / dX); in ReorderPreviewAnimation() local 2160 Math.abs(Math.cos(angle) * mReorderPreviewAnimationMagnitude)); in ReorderPreviewAnimation() 2162 Math.abs(Math.sin(angle) * mReorderPreviewAnimationMagnitude)); in ReorderPreviewAnimation()
|