Searched refs:point (Results 1 - 11 of 11) sorted by relevance
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ChartAxis.java | 23 * Axis along a {@link ChartView} that knows how to convert between raw point 33 /** Convert raw value into screen point. */ 35 /** Convert screen point into raw value. */ 36 public long convertToValue(float point); argument
|
H A D | InvertedChartAxis.java | 50 public long convertToValue(float point) { argument 51 return mWrapped.convertToValue(mSize - point);
|
H A D | ChartDataUsageView.java | 496 public long convertToValue(float point) { argument 497 return (long) (mMin + ((point * (mMax - mMin)) / mSize)); 566 public long convertToValue(float point) { argument 567 final double normalized = point / mSize; 634 final float point = convertToPoint(value); 635 if (point < mSize * 0.1) { 637 } else if (point > mSize * 0.85) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ |
H A D | Doodle.java | 62 public boolean addControlPoint(PointF point) { argument 64 normalizedPath.quadTo(last.x, last.y, (last.x + point.x) / 2, (last.y + point.y) / 2); 65 points.add(point); 97 for (PointF point : points) { 98 dest.writeParcelable(point, 0);
|
H A D | RedEyeAction.java | 44 public void onSingleTap(PointF point) { 45 filter.addRedEyePosition(point);
|
H A D | FullscreenToolView.java | 78 float[] point = new float[] {x, y}; 79 photoMatrix.mapPoints(point); 80 dst.set(point[0] / photoBounds.width(), point[1] / photoBounds.height());
|
H A D | TouchView.java | 45 * Listener of single tap on a point (relative to photo coordinates). 49 void onSingleTap(PointF point); argument 74 PointF point = new PointF(); 75 mapPhotoPoint(e.getX(), e.getY(), point); 76 singleTapListener.onSingleTap(point);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GLCanvasImpl.java | 289 float[] point = mMapPointsBuffer; 291 point[srcOffset] = x1; 292 point[srcOffset + 1] = y1; 293 point[srcOffset + 2] = 0; 294 point[srcOffset + 3] = 1; 297 Matrix.multiplyMV(point, resultOffset, matrix, 0, point, srcOffset); 298 point[resultOffset] /= point[resultOffset + 3]; 299 point[resultOffse [all...] |
H A D | CropView.java | 331 public void inverseMapPoint(PointF point) { argument 333 point.x = Utils.clamp(((point.x - getWidth() * 0.5f) / s 335 point.y = Utils.clamp(((point.y - getHeight() * 0.5f) / s 465 PointF point = mTempPoint; 466 point.set(mReferenceX, mReferenceY); 467 mAnimation.inverseMapPoint(point); 473 r.right = Utils.clamp(point.x, left, 1f); 476 r.left = Utils.clamp(point [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/filters/ |
H A D | RedEyeFilter.java | 38 * The point coordinates used here should range from 0 to 1. 40 public void addRedEyePosition(PointF point) { argument 41 redeyes.add(point);
|
/packages/apps/Contacts/src/com/android/contacts/dialpad/ |
H A D | DialpadFragment.java | 393 // At this point, IF there's already an active call, there's a 425 // this point. onViewCreate() should call this method after preparing layouts, so 1230 // InCallScreen, and there's no point staying here in the Dialer, 1313 int point = mDigits.getSelectionEnd(); 1315 selectionStart = Math.min(anchor, point); 1316 selectionEnd = Math.max(anchor, point);
|
Completed in 239 milliseconds