/packages/apps/Camera/src/com/android/camera/ui/ |
ZoomRenderer.java | 42 private int mCenterX; 100 mCenterX = (r - l) / 2; 113 canvas.drawCircle(mCenterX, mCenterY, mMinCircle, mPaint); 114 canvas.drawCircle(mCenterX, mCenterY, mMaxCircle, mPaint); 115 canvas.drawLine(mCenterX - mMinCircle, mCenterY, 116 mCenterX - mMaxCircle - 4, mCenterY, mPaint); 118 canvas.drawCircle((float) mCenterX, (float) mCenterY, 122 canvas.drawText(txt, mCenterX - mTextBounds.centerX(), mCenterY - mTextBounds.centerY(),
|
PieRenderer.java | 100 private int mCenterX; 215 setCenter(mCenterX, mCenterY); 632 mCenterX = (r - l) / 2; 634 mFocusX = mCenterX; 638 setCenter(mCenterX, mCenterY); 775 mFocusX = mCenterX;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ZoomRenderer.java | 42 private int mCenterX; 100 mCenterX = (r - l) / 2; 113 canvas.drawCircle(mCenterX, mCenterY, mMinCircle, mPaint); 114 canvas.drawCircle(mCenterX, mCenterY, mMaxCircle, mPaint); 115 canvas.drawLine(mCenterX - mMinCircle, mCenterY, 116 mCenterX - mMaxCircle - 4, mCenterY, mPaint); 118 canvas.drawCircle((float) mCenterX, (float) mCenterY, 122 canvas.drawText(txt, mCenterX - mTextBounds.centerX(), mCenterY - mTextBounds.centerY(),
|
FilmStripView.java | 77 private int mCenterX = -1; 742 && mViewItem[mCurrentItem].getCenterX() == mCenterX) { 920 final int nearest = findTheNearestView(mCenterX); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
Rotate3dAnimation.java | 31 private final float mCenterX; 56 mCenterX = centerX; 73 final float centerX = mCenterX;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterVignetteRepresentation.java | 33 private float mCenterX = .5f; 74 mCenterX = rep.mCenterX; 95 return getName() + " : " + mCenterX + ", " + mCenterY + " radius: " + mRadiusX; 113 mCenterX = centerX; 119 return mCenterX; 154 return mCenterX != Float.NaN; 190 writer.value(mCenterX); 217 mCenterX = (float) sreader.nextDouble();
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageTinyPlanet.java | 39 private float mCenterX = 0; 95 float dX1 = mTouchCenterX - mCenterX; 97 float dX2 = mCurrentX - mCenterX; 111 mCenterX = getWidth() / 2;
|
EclipseControl.java | 33 private float mCenterX = Float.NaN; 73 mCenterX = x; 302 paintRadius(canvas, mCenterX, mCenterY, mRadiusX, mRadiusY); 303 fillHandles(canvas, mCenterX, mCenterY, mRadiusX, mRadiusY); 304 paintPoint(canvas, mCenterX, mCenterY); 308 return Float.isNaN(mCenterX);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ZoomControlWheel.java | 58 private int mCenterX, mCenterY; 91 double dx = event.getX() - mCenterX; 126 int x = mCenterX + (int)(mWheelRadius * Math.cos(radian)); 146 mCenterX = right - left - Util.dpToPixel( 162 mBackgroundRect.set((float) (mCenterX - radius), (float) (mCenterY - radius), 163 (float) (mCenterX + radius), (float) (mCenterY + radius));
|
IndicatorControlWheel.java | 75 private int mCenterX, mCenterY; 259 double dx = event.getX() - mCenterX; 337 mCenterX = right - left - Util.dpToPixel( 360 int x = mCenterX + (int)(mWheelRadius * Math.cos(radian)); 456 mBackgroundRect.set(mCenterX - innerR, mCenterY - innerR, 457 mCenterX + innerR, mCenterY + innerR); 460 mBackgroundRect.set(mCenterX - outerR, mCenterY - outerR, 461 mCenterX + outerR, mCenterY + outerR); 482 mBackgroundRect.set((float)(mCenterX - mShutterButtonRadius), 484 (float)(mCenterX + mShutterButtonRadius) [all...] |
IndicatorControlWheelContainer.java | 44 private int mCenterX, mCenterY; 74 double dx = event.getX() - mCenterX; 106 mCenterX = right - left - Util.dpToPixel(FULL_WHEEL_RADIUS);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
CropView.java | 41 private float mCenterX, mCenterY; 94 rendererCenter[0] = mCenterX - initialCenterX; 139 mCenterX = mRenderer.centerX; 206 mCenterX += Math.ceil(edges.left / scale); 211 mRenderer.centerX = Math.round(mCenterX); 277 mCenterX += point[0]; 312 mCenterX += adjustment[0];
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
CropView.java | 41 private float mCenterX, mCenterY; 94 rendererCenter[0] = mCenterX - initialCenterX; 139 mCenterX = mRenderer.centerX; 206 mCenterX += Math.ceil(edges.left / scale); 211 mRenderer.centerX = Math.round(mCenterX); 277 mCenterX += point[0]; 312 mCenterX += adjustment[0];
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
PointCloud.java | 35 private float mCenterX; 132 mCenterX = x; 205 canvas.scale(mScale, mScale, mCenterX, mCenterY); 210 final float px = point.x + mCenterX;
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
PointCloud.java | 35 private float mCenterX; 132 mCenterX = x; 207 canvas.scale(mScale, mScale, mCenterX, mCenterY); 212 final float px = point.x + mCenterX;
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
PointCloud.java | 35 private float mCenterX; 132 mCenterX = x; 207 canvas.scale(mScale, mScale, mCenterX, mCenterY); 212 final float px = point.x + mCenterX;
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/ |
Visualization1.java | 61 private float mCenterX; 124 mCenterX = width/2.0f;
|
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 72 private float mCenterX = 0.0f; 99 mCenterX = 0.0f; 181 mCenterX = (obj.getBoundsMinX() + obj.getBoundsMaxX())/2.0f; 221 gl.glTranslatef(-mCenterX, -mCenterY, -mCenterZ);
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/ |
CubeWallpaper1.java | 58 private float mCenterX; 108 mCenterX = width/2.0f; 180 c.translate(mCenterX, mCenterY);
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
CubeWallpaper2.java | 78 private float mCenterX; 172 mCenterX = width/2.0f; 242 c.translate(mCenterX, mCenterY);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
GradientDrawable.java | 752 x0 = r.left + (r.right - r.left) * st.mCenterX; 761 x0 = r.left + (r.right - r.left) * st.mCenterX; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TileImageView.java | 111 protected int mCenterX; 188 layoutTiles(mCenterX, mCenterY, mScale, mRotation); 196 if (changeSize) layoutTiles(mCenterX, mCenterY, mScale, mRotation); 338 // bitmap, in bitmap units. (mCenterX and mCenterY are the bitmap 342 distW = mImageWidth / 2 - mCenterX; 346 distH = mImageWidth / 2 - mCenterX; 356 if (mCenterX == centerX && mCenterY == centerY 358 mCenterX = centerX; 401 layoutTiles(mCenterX, mCenterY, mScale, mRotation);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
TiledImageRenderer.java | 108 protected int mCenterX; 241 if (mCenterX == centerX && mCenterY == centerY 245 mCenterX = centerX; 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); 278 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale); 284 mOffsetX = Math.round(mViewWidth / 2f - mCenterX * mScale); 293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation);
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
TiledImageRenderer.java | 108 protected int mCenterX; 241 if (mCenterX == centerX && mCenterY == centerY 245 mCenterX = centerX; 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); 278 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale); 284 mOffsetX = Math.round(mViewWidth / 2f - mCenterX * mScale); 293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
TiledImageRenderer.java | 108 protected int mCenterX; 241 if (mCenterX == centerX && mCenterY == centerY 245 mCenterX = centerX; 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); 278 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale); 284 mOffsetX = Math.round(mViewWidth / 2f - mCenterX * mScale); 293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation);
|