Code examples for Picture

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
194:	Bitmap b = Bitmap.createBitmap( picture.getWidth(), picture.getHeight(), Bitmap.Config.ARGB_8888); 
-
196:	picture.draw(c); 
Full Snippet Info
8
CodeRank
44:	Picture picture = new Picture(); 
-
46:	Canvas recordingCanvas = picture.beginRecording(bitmap.getWidth(), bitmap.getHeight()); 
-
48:	picture.endRecording(); 
Full Snippet Info
7
CodeRank
141:	state = Bitmap.createBitmap(p.getWidth(), p.getHeight(), Bitmap.Config.ARGB_8888); 
Full Snippet Info
7
CodeRank
121:	super.dispatchDraw(mPicture.beginRecording(getWidth(), getHeight())); 
122:	mPicture.endRecording(); 
Full Snippet Info
7
CodeRank
42:	Picture mCompassRose = new Picture(); 
43:	final Canvas canvas = mCompassRose.beginRecording(picBorderWidthAndHeight, picBorderWidthAndHeight); 
-
66:	mCompassRose.endRecording(); 
-
74:	Bitmap bm = Bitmap.createBitmap(mCompassRose.getWidth(), mCompassRose.getHeight(), Bitmap.Config.ARGB_8888); 
-
76:	mCompassRose.draw(c); 
Full Snippet Info
6
CodeRank
57:	Picture mCompassRose = new Picture(); 
58:	final Canvas canvas = mCompassRose.beginRecording(picBorderWidthAndHeight, picBorderWidthAndHeight); 
-
81:	mCompassRose.endRecording(); 
-
110:	Bitmap bm = Bitmap.createBitmap(mCompassRose.getWidth(), mCompassRose.getHeight(), Bitmap.Config.ARGB_8888); 
-
112:	mCompassRose.draw(c); 
Full Snippet Info
6
CodeRank
102:	Picture newPicture = new Picture(); 
-
108:	canvas=newPicture.beginRecording(width, height); 
-
112:	newPicture.endRecording(); 
Full Snippet Info
6
CodeRank
141:	state = Bitmap.createBitmap(p.getWidth(), p.getHeight(), Bitmap.Config.ARGB_8888); 
Full Snippet Info
6
CodeRank
110:	public void onSubBackground(Canvas canvas) { 
-
112:	Log.d(TAG, String.format(" width = %s  // height = %s", getWidth(), getHeight())); 
-
157:	Picture mCompassRose = new Picture(); 
158:	final Canvas canvas = mCompassRose.beginRecording(picBorderWidthAndHeight, picBorderWidthAndHeight); 
-
199:	mCompassRose.endRecording(); 
Full Snippet Info
6
CodeRank
86:	final float scaleX = (float)this.mWidth / this.mPicture.getWidth(); 
87:	final float scaleY = (float)this.mHeight / this.mPicture.getHeight(); 
-
90:	picture.draw(canvas); 
Full Snippet Info
6
CodeRank
86:	final float scaleX = (float)this.mWidth / this.mPicture.getWidth(); 
87:	final float scaleY = (float)this.mHeight / this.mPicture.getHeight(); 
-
90:	picture.draw(canvas); 
Full Snippet Info
6
CodeRank
104:	float scale = mImageWidth / (float) picture.getWidth(); 
-
107:	picture.draw(canvas); 
Full Snippet Info
6
CodeRank
306:	final Canvas canvas = scaleBarPicture.beginRecording((int) xdpi, (int) ydpi); 
-
357:	scaleBarPicture.endRecording(); 
Full Snippet Info
6
CodeRank
39:	Picture p = new Picture(); 
40:	Canvas canvas = p.beginRecording(mWidth, mHeight); 
-
44:	p.endRecording(); 
Full Snippet Info
6
CodeRank
93:	int w = pic.getWidth(); 
94:	int h = pic.getHeight(); 
-
100:	pic.draw(canvas); 
Full Snippet Info
6
CodeRank
78:	Bitmap bm = Bitmap.createBitmap(pic.getWidth(), pic.getHeight(), Bitmap.Config.ARGB_8888); 
-
80:	pic.draw(c); 
Full Snippet Info
6
CodeRank