Home
last modified time | relevance | path

Searched refs:Point (Results 1 – 15 of 15) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DPathAnimations.java27 import android.graphics.Point;
49 final static Property<PathAnimations, Point> POINT_PROPERTY
50 = new Property<PathAnimations, Point>(Point.class, "point") {
52 public Point get(PathAnimations object) {
54 return new Point(Math.round(v.getX()), Math.round(v.getY()));
58 public void set(PathAnimations object, Point value) {
243 private static class PointFToPointConverter extends TypeConverter<PointF, Point> {
244 Point mPoint = new Point();
247 super(PointF.class, Point.class); in PointFToPointConverter()
251 public Point convert(PointF value) { in convert()
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
DGridExampleActivity.java27 import android.graphics.Point;
59 Map<Point, Drawable> mBackgrounds = new HashMap<Point, Drawable>();
84 Point pt = new Point(column, row); in getBackgroundForPage()
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/
DSampleGridPagerAdapter.java23 import android.graphics.Point;
94 LruCache<Point, Drawable> mPageBackgrounds = new LruCache<Point, Drawable>(3) {
96 protected Drawable create(final Point page) {
171 return mPageBackgrounds.get(new Point(column, row)); in getBackgroundForPage()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/wallpaper/
DSampleWallpaper.java26 import android.graphics.Point;
62 private final Point mCircleShift = new Point();
63 private final Point mCirclePosition = new Point();
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DDefaultCardStreamAnimator.java24 import android.graphics.Point;
50 final Point outPoint = new Point(); in getAppearingAnimator()
/development/tools/winscope/src/flickerlib/
Dcommon.js76 const Point = require('flicker').com.android.server.wm.traces.common.Point; constant
98 const EMPTY_POINT = new Point(0, 0);
147 return new Point(x, y);
257 Point,
/development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/dragsource/
DDragSourceFragment.java26 import android.graphics.Point;
145 public void onProvideShadowMetrics(Point shadowSize, Point shadowTouchPoint) { in setUpDraggableImage()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertionListView.java31 import android.graphics.Point;
156 Point childLoc = getLocationOnScreen(newCell); in addRow()
157 Point layoutLoc = getLocationOnScreen(mLayout); in addRow()
330 public Point getLocationOnScreen(View v) { in getLocationOnScreen()
337 return new Point(location[0], location[1]); in getLocationOnScreen()
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DUIAnimation.java23 import android.graphics.Point;
87 final Point globalOffset = new Point(); in zoomImageFromThumb()
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DUtils.java25 import android.graphics.Point;
195 Point size = new Point(); in calculateBottomInsetsOnRoundDevice()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DZoomActivity.java24 import android.graphics.Point;
123 final Point globalOffset = new Point(); in zoomImageFromThumb()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationActivity.java29 import android.graphics.Point;
518 Point p = new Point(); in onCreate()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java23 import android.graphics.Point;
173 private Point mSurfaceSizeBuffer = new Point();
832 private void computeScrollSurfaceSize(Point out) { in computeScrollSurfaceSize()
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudProvider.java26 import android.graphics.Point;
246 public AssetFileDescriptor openDocumentThumbnail(String documentId, Point sizeHint, in openDocumentThumbnail()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java31 import android.graphics.Point;
543 Point displaySize = new Point(); in setUpCameraOutputs()