Best code examples for Android Point class (android.graphics.Point)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Android Point class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Android Point examples from Open Source projects
This code example shows how to use the following methods: getSize
20:	Point dimensions = new Point(); 
-
22:	.getDefaultDisplay().getSize(dimensions); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
128:	widthAndHeightMap.put(uri.toString(), new Point(width, height)); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
127:	return new Point(options.outWidth, options.outHeight); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
143:	Point actualSize = new Point(); 
144:	actual.getSize(actualSize); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
53:	public Point scrollToCoordinates = new Point(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: equals
89:	Point initialSize = new Point(); 
-
95:	if (!initialSize.equals(baseSize)) { 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
194:	Point p2 = new Point(p1.x + width, p1.y); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
36:	private static final Point TEMP_POINT = new Point(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
37:	Point point = new Point(); 
38:	projection.toPixels(geoPointMarienplatz, point); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
81:	return new Point(options.outWidth, options.outHeight); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
34:	private Point left = new Point(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
86:	widthAndHeightMap.put(uri.toString(), new Point(width, height)); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: set
41:	point.set((int) x, (int) y); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
69:	final Point screenCoords = new Point(); 
70:	pj.toMapPixels(this.mCenter, screenCoords); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
55:	Point size = new Point(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
21:	return new Point(display.getWidth(), display.getHeight()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: set
47:	point.set((int) x, (int) y); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
89:	final Point screenCoords = new Point(); 
90:	pj.toMapPixels(this.mCenter, screenCoords); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: set
37:	Point screenPts = new Point(); 
38:	mapView.getProjection().toPixels(usersLocation, screenPts); 
39:	screenPts.set(screenPts.x, screenPts.y); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
54:	final Point b = new Point(linePointB.getLongitudeE6(), linePointB.getLatitudeE6()); 
55:	return getDistanceToLine(a, b, p); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: set, getSize
44:	Point size = new Point(); 
-
48:	w.getDefaultDisplay().getSize(size); 
-
51:	size.set(d.getWidth(), d.getHeight()); 
-
53:	size.set(size.x, size.y-getStatusBarHeight(context)); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
82:	Point p = new Point(); 
83:	imageSurfaceView.getViewport(p); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: set
179:	Point adj_pointer = new Point(pointer); 
-
185:	adj_pointer.set(pointer.x, pointer.y); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
58:	return new Point(imgWidth, imgHeight); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getSize
62:	Point outSize = new Point(); 
63:	a.getWindowManager().getDefaultDisplay().getSize(outSize); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
83:	final Point screenPos = new Point(); 
-
85:	projection.toPixels(there_, screenPos); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: set
168:	shadowSize.set(icon.getWidth(), icon.getHeight()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: equals
89:	Point initialSize = new Point(); 
-
95:	if (!initialSize.equals(baseSize)) { 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
40:	Point point = new Point(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
97:	return new Point(options.outWidth, options.outHeight); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
30:	Point center = new Point(); 
-
33:	projection.toPixels(mSourcePoint, center); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getSize
136:	w.getDefaultDisplay().getSize(size); 
-
242:	Point size = new Point(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: set
15:	Point size = new Point(); 
-
22:	size.set(display.getWidth(), display.getHeight()); 
-
27:	size.set(800, 480); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
30:	private Point center = new Point(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
125:	return new Point(bitmap.getWidth(), bitmap.getHeight()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
66:	private static Point mScreenSize = new Point(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
199:	Point size = new Point(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getSize
152:	Point windowSize = new Point(); 
-
154:	manager.getDefaultDisplay().getSize(windowSize); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getSize
36:	Point size = new Point(); 
37:	w.getDefaultDisplay().getSize(size); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getSize
20:	size = new Point(); 
-
27:	w.getDefaultDisplay().getSize(size); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getSize
44:	Point screen = new Point(); 
45:	getWindowManager().getDefaultDisplay().getSize(screen); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getSize
43:	Point outSize = new Point(); 
44:	getWindowManager().getDefaultDisplay().getSize(outSize); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getSize
29:	Point windowSize= new Point(); 
30:	this.getWindowManager().getDefaultDisplay().getSize(windowSize); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getSize
59:	Point size = new Point(); 
60:	mWindowManager.getDefaultDisplay().getSize(size); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getSize
72:	Point size = new Point(); 
-
76:	w.getDefaultDisplay().getSize(size); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getSize
33:	Point maxDims = new Point();//is this REALLY necessary? 
34:	((WindowManager)context.getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay().getSize(maxDims); 
Full Snippet Info
6
CodeRank
Related Android Point Questions & Answers:
See Code Examples for Android Point Methods: