Code examples for NinePatchDrawable

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.
97:	maskDrawableNine.setBounds(rect); 
98:	maskDrawableNine.getPaint().setXfermode(new PorterDuffXfermode(PorterDuff.Mode.MULTIPLY)); 
99:	maskDrawableNine.draw(c); 
Full Snippet Info
7
CodeRank
301:	return new NinePatchDrawable(context.getResources(), bitmap, 
Full Snippet Info
6
CodeRank
16:	NinePatchDrawable np_drawable = new NinePatchDrawable(context.getResources(), BitmapFactory.decodeResource(context.getResources(), id), chunk, new Rect(), null); 
17:	np_drawable.setBounds(0, 0, x, y); 
-
21:	np_drawable.draw(canvas); 
Full Snippet Info
5
CodeRank
61:	highlightDrawable.setBounds(drawRect); 
62:	highlightDrawable.draw(canvas); 
Full Snippet Info
5
CodeRank
61:	highlightDrawable.setBounds(drawRect); 
62:	highlightDrawable.draw(canvas); 
Full Snippet Info
5
CodeRank
326:	mShadow.setBounds(mShadowBounds); 
327:	mShadow.draw(canvas); 
Full Snippet Info
5
CodeRank
61:	highlightDrawable.setBounds(drawRect); 
62:	highlightDrawable.draw(canvas); 
Full Snippet Info
5
CodeRank
61:	highlightDrawable.setBounds(drawRect); 
62:	highlightDrawable.draw(canvas); 
Full Snippet Info
5
CodeRank
74:	mProgressDrawable.setBounds(mProgressBounds); 
75:	mProgressDrawable.draw(canvas); 
Full Snippet Info
5
CodeRank
127:	selshadow.setBounds(cardDim); 
128:	selshadow.draw(c); 
Full Snippet Info
4
CodeRank
167:	ninepatchdrawable.setBounds(mRect); 
168:	ninepatchdrawable.draw(canvas); 
Full Snippet Info
4
CodeRank
301:	return new NinePatchDrawable(context.getResources(), bitmap, 
Full Snippet Info
5
CodeRank
326:	mShadow.setBounds(mShadowBounds); 
327:	mShadow.draw(canvas); 
Full Snippet Info
4
CodeRank
123:	mBackgroundNinePatch.setBounds(0, 0, width - 1, height - 1); 
124:	mBackgroundNinePatch.draw(canvas); 
Full Snippet Info
5
CodeRank
150:	drawable.setColorFilter(new LightingColorFilter(cursor.getInt(TracksQuery.TRACK_COLOR), 1)); 
Full Snippet Info
4
CodeRank
162:	return new NinePatchDrawable(np); 
Full Snippet Info
4
CodeRank
162:	return new NinePatchDrawable(np); 
Full Snippet Info
4
CodeRank
71:	mNinePatch.getPadding(mPaddings); 
Full Snippet Info
4
CodeRank
71:	mNinePatch.getPadding(mPaddings); 
Full Snippet Info
4
CodeRank