Searched refs:sPaint (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/lettertiles/ |
D | LetterTileDrawable.java | 57 private static final Paint sPaint = new Paint(); field in LetterTileDrawable 90 sPaint.setTypeface(Typeface.create( in LetterTileDrawable() 92 sPaint.setTextAlign(Align.CENTER); in LetterTileDrawable() 93 sPaint.setAntiAlias(true); in LetterTileDrawable() 131 sPaint.setTextAlign(Align.CENTER); in drawBitmap() 132 sPaint.setAntiAlias(true); in drawBitmap() 133 sPaint.setAlpha(ALPHA); in drawBitmap() 135 canvas.drawBitmap(bitmap, sRect, destRect, sPaint); in drawBitmap() 140 sPaint.setColor(mColor); in drawLetterTile() 142 sPaint.setAlpha(mPaint.getAlpha()); in drawLetterTile() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TiledTexture.java | 55 private static Paint sPaint; field in TiledTexture 146 if (x > 0) sCanvas.drawLine(x - 1, 0, x - 1, TILE_SIZE, sPaint); in onGetBitmap() 147 if (y > 0) sCanvas.drawLine(0, y - 1, TILE_SIZE, y - 1, sPaint); in onGetBitmap() 148 if (r < CONTENT_SIZE) sCanvas.drawLine(r, 0, r, TILE_SIZE, sPaint); in onGetBitmap() 149 if (b < CONTENT_SIZE) sCanvas.drawLine(0, b, TILE_SIZE, b, sPaint); in onGetBitmap() 239 sPaint = null; in freeResources() 247 sPaint = new Paint(); in prepareResources() 248 sPaint.setXfermode(new PorterDuffXfermode(Mode.SRC)); in prepareResources() 249 sPaint.setColor(Color.TRANSPARENT); in prepareResources()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 211 private static final Paint sPaint = new Paint(); field in CellLayout 363 mShortcutsAndWidgets.setLayerType(hasLayer ? LAYER_TYPE_HARDWARE : LAYER_TYPE_NONE, sPaint); in enableHardwareLayer()
|