/packages/apps/Camera2/src/com/android/camera/crop/ |
H A D | CropDrawingUtils.java | 76 float centerX, float centerY) { 78 int top = (int) centerY - indicatorSize / 2; 107 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.centerY()); 110 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.centerY()); 120 float cy = cropBounds.centerY(); 176 dst.setRotate(rotation, image.centerX(), image.centerY()); 182 boolean rot = dst.preRotate(rotation, image.centerX(), image.centerY()); 75 drawIndicator(Canvas canvas, Drawable indicator, int indicatorSize, float centerX, float centerY) argument
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | ProgressRenderer.java | 90 public void onDraw(Canvas canvas, int centerX, int centerY) { argument 94 mArcBounds = new RectF(centerX - mProgressRadius, centerY - mProgressRadius, centerX 96 centerY + mProgressRadius); 98 canvas.drawCircle(centerX, centerY, mProgressRadius, mProgressBasePaint);
|
H A D | PieRenderer.java | 176 public void onPieOpened(int centerX, int centerY); argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | CropDrawingUtils.java | 76 float centerX, float centerY) { 78 int top = (int) centerY - indicatorSize / 2; 107 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.left, bounds.centerY()); 110 drawIndicator(canvas, cropIndicator, indicatorSize, bounds.right, bounds.centerY()); 120 float cy = cropBounds.centerY(); 176 dst.setRotate(rotation, image.centerX(), image.centerY()); 182 boolean rot = dst.preRotate(rotation, image.centerX(), image.centerY()); 75 drawIndicator(Canvas canvas, Drawable indicator, int indicatorSize, float centerX, float centerY) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterVignetteRepresentation.java | 112 public void setCenter(float centerX, float centerY) { argument 114 mCenterY = centerY;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | Spline.java | 141 private void drawHandles(Canvas canvas, Drawable indicator, float centerX, float centerY) { argument 143 int top = (int) centerY - mCurveHandleSize / 2;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | proximity_info.cpp | 139 const float centerY = static_cast<float>(getKeyCenterYOfKeyIdG(keyId, y, isGeometric)); local 142 return ProximityInfoUtils::getSquaredDistanceFloat(centerX, centerY, touchX, touchY) 226 int centerY; local 228 centerY = mCenterYsG[keyId]; 230 centerY = static_cast<int>(mSweetSpotCenterYsG[keyId]); 232 centerY = static_cast<int>(mSweetSpotCenterYs[keyId]); 235 centerY + mKeyHeights[keyId] > KEYBOARD_HEIGHT && centerY < referencePointY) { 241 return centerY;
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | CropImage.java | 584 protected void zoomTo(float scale, float centerX, float centerY) { argument 585 super.zoomTo(scale, centerX, centerY); 774 hv.mCropRect.centerY()};
|
H A D | ImageViewTouchBase.java | 307 protected void zoomTo(float scale, float centerX, float centerY) { argument 315 mSuppMatrix.postScale(deltaScale, deltaScale, centerX, centerY); 321 final float centerY, final float durationMs) { 331 zoomTo(target, centerX, centerY); 320 zoomTo(final float scale, final float centerX, final float centerY, final float durationMs) argument
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | TiledImageView.java | 65 int centerX, centerY; field in class:TiledImageView.ImageRendererWrapper 160 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; 276 mRenderer.centerY = swap ? cx : cy; 305 mRenderer.image.setPosition(mRenderer.centerX, mRenderer.centerY,
|
H A D | TiledImageRenderer.java | 240 public void setPosition(int centerX, int centerY, float scale) { argument 241 if (mCenterX == centerX && mCenterY == centerY 246 mCenterY = centerY; 430 int centerX = mViewWidth / 2, centerY = mViewHeight / 2; 431 canvas.translate(centerX, centerY); 433 canvas.translate(-centerX, -centerY);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
H A D | TiledImageView.java | 65 public int centerX, centerY; field in class:TiledImageView.ImageRendererWrapper 172 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; 288 mRenderer.centerY = swap ? cx : cy; 317 mRenderer.image.setPosition(mRenderer.centerX, mRenderer.centerY,
|
H A D | TiledImageRenderer.java | 240 public void setPosition(int centerX, int centerY, float scale) { argument 241 if (mCenterX == centerX && mCenterY == centerY 246 mCenterY = centerY; 430 int centerX = mViewWidth / 2, centerY = mViewHeight / 2; 431 canvas.translate(centerX, centerY); 433 canvas.translate(-centerX, -centerY);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | ImageViewTouchBase.java | 357 * @param centerY The vertical center 359 public void zoomTo(float scale, float centerX, float centerY) { argument 365 mSuppMatrix.postScale(deltaScale, deltaScale, centerX, centerY);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | PieRenderer.java | 142 public void onPieOpened(int centerX, int centerY); argument
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | VideoUI.java | 554 public void onPieOpened(int centerX, int centerY) { argument
|
H A D | PhotoUI.java | 744 public void onPieOpened(int centerX, int centerY) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | TileImageView.java | 206 private void layoutTiles(int centerX, int centerY, float scale, int rotation) { argument 224 getRange(range, centerX, centerY, mLevel, scale, rotation); 226 mOffsetY = Math.round(height / 2f + (range.top - centerY) * scale); 232 mOffsetY = Math.round(height / 2f - centerY * scale); 240 getRange(range[i - fromLevel], centerX, centerY, i, rotation); 355 public boolean setPosition(int centerX, int centerY, float scale, int rotation) { argument 356 if (mCenterX == centerX && mCenterY == centerY 359 mCenterY = centerY; 362 layoutTiles(centerX, centerY, scale, rotation); 420 int centerX = getWidth() / 2, centerY [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
H A D | GlowPadView.java | 1056 private void updateTargetPositions(float centerX, float centerY) { argument 1065 targetIcon.setPositionY(centerY); 1071 private void updatePointCloudPosition(float centerX, float centerY) { argument 1072 mPointCloud.setCenter(centerX, centerY);
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
H A D | GlowPadView.java | 1145 private void updateTargetPositions(float centerX, float centerY) { argument 1154 targetIcon.setPositionY(centerY); 1160 private void updatePointCloudPosition(float centerX, float centerY) { argument 1161 mPointCloud.setCenter(centerX, centerY);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | PhotoModule.java | 2345 public void onPieOpened(int centerX, int centerY) { argument
|
H A D | VideoModule.java | 2771 public void onPieOpened(int centerX, int centerY) { argument
|