/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
RoundRectDrawableWithShadow.java | 54 private Paint mPaint; 95 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.DITHER_FLAG); 108 mPaint.setColor(mBackground.getColorForState(getState(), mBackground.getDefaultColor())); 129 mPaint.setAlpha(alpha); 198 if (mPaint.getColor() == newColor) { 201 mPaint.setColor(newColor); 214 mPaint.setColorFilter(cf); 244 sRoundRectHelper.drawRoundRect(canvas, mCardBounds, mCornerRadius, mPaint);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
PreviewOverlay.java | 296 private final Paint mPaint; 308 mPaint = new Paint(); 309 mPaint.setAntiAlias(true); 310 mPaint.setColor(Color.WHITE); 311 mPaint.setStyle(Paint.Style.STROKE); 312 mPaint.setStrokeWidth(mZoomStroke); 313 mPaint.setStrokeCap(Paint.Cap.ROUND); 340 mPaint.setAlpha(70); 344 mCenterY - mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); 348 mCenterY + mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); [all...] |
/packages/apps/Camera2/src/com/android/camera/widget/ |
FilmstripLayout.java | 486 private Paint mPaint; 490 mPaint = new Paint(); 491 mPaint.setAntiAlias(true); 492 mPaint.setColor(getResources().getColor(R.color.camera_gray_background)); 493 mPaint.setAlpha(255); 506 mPaint.setAlpha(i); 515 mPaint.setColorFilter(colorFilter); 532 canvas.drawRect(0, 0, getMeasuredWidth(), getMeasuredHeight(), mPaint);
|
ModeOptions.java | 45 private final Paint mPaint = new Paint(); 122 mPaint.setAntiAlias(true); 123 mPaint.setColor(mBackgroundColor); 213 canvas.drawCircle(mAnimateFrom.centerX(), mAnimateFrom.centerY(), mRadius, mPaint); 215 canvas.drawPaint(mPaint);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropView.java | 48 private Paint mPaint = new Paint(); 343 mPaint.setAntiAlias(true); 344 mPaint.setFilterBitmap(true); 346 canvas.drawBitmap(mBitmap, mDisplayMatrix, mPaint);
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
TiledImageView.java | 337 private Paint mPaint = new Paint(); 369 mPaint.setColor(Color.BLACK); 370 mPaint.setTextSize(20); 371 mPaint.setTextAlign(Align.CENTER); 372 mCanvas.drawText(x + "x" + y, 128, 128, mPaint); 376 mCanvas.drawText(x + "x" + y + " @ " + level, 128, 30, mPaint);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
PendingAppWidgetHostView.java | 60 private final TextPaint mPaint; 72 mPaint = new TextPaint(); 73 mPaint.setColor(Themes.getAttrColor(getContext(), android.R.attr.textColorPrimary)); 74 mPaint.setTextSize(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_PX, 252 getResources().getText(R.string.gadget_setup_text), mPaint, availableWidth,
|
/packages/apps/Settings/src/com/android/settings/applications/ |
LinearColorBar.java | 40 final Paint mPaint = new Paint(); 65 mPaint.setStyle(Paint.Style.FILL); 245 mPaint.setColor(pickColor(mLeftColor, REGION_RED)); 246 canvas.drawRect(mRect, mPaint); 259 mPaint.setColor(pickColor(mMiddleColor, REGION_YELLOW)); 260 canvas.drawRect(mRect, mPaint); 270 mPaint.setColor(pickColor(mRightColor, REGION_GREEN)); 271 canvas.drawRect(mRect, mPaint);
|
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 209 private final Paint mPaint; 218 mPaint = new Paint(); 219 mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC)); 224 canvas.drawBitmap(mBitmap, mDrawLeft, mDrawTop, mPaint); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternView.java | 82 private final Paint mPaint = new Paint(); 326 mPaint.setAntiAlias(true); 327 mPaint.setDither(true); 496 mPaint.setColor(getCurrentColor(false)); 497 mPaint.setAlpha((int) (startAlpha * 255)); 498 cellState.hwPaint = CanvasProperty.createPaint(new Paint(mPaint)); [all...] |
PointerLocationView.java | 117 private final Paint mPaint; 155 mPaint = new Paint(); 156 mPaint.setAntiAlias(true); 157 mPaint.setARGB(255, 255, 255, 255); 158 mPaint.setStyle(Paint.Style.STROKE); 159 mPaint.setStrokeWidth(2); 171 mPaint.setStyle(Paint.Style.STROKE); 172 mPaint.setStrokeWidth(1); 302 mPaint.setARGB(255, 128, 255, 255); 312 final Paint paint = ps.mTraceCurrent[i] ? mCurrentPointPaint : mPaint; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageShow.java | 64 protected Paint mPaint = new Paint(); 256 mPaint.reset(); 257 mPaint.setAntiAlias(true); 258 mPaint.setFilterBitmap(true); 331 canvas.drawBitmap(fullHighres, originalToScreen, mPaint); 423 canvas.drawBitmap(previousImage, m, mPaint); 480 canvas.drawBitmap(previousImage, mp, mPaint); 486 canvas.drawBitmap(image, m, mPaint); 559 canvas.drawBitmap(image, m, mPaint); [all...] |
/frameworks/base/core/java/android/text/ |
TextLine.java | 50 private TextPaint mPaint; 112 tl.mPaint = null; 147 mPaint = paint; 629 wp.set(mPaint); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
BitmapDrawable.java | 204 return mBitmapState.mPaint; 336 mBitmapState.mPaint.setAntiAlias(aa); 348 return mBitmapState.mPaint.isAntiAlias(); 353 mBitmapState.mPaint.setFilterBitmap(filter); 359 return mBitmapState.mPaint.isFilterBitmap(); 364 mBitmapState.mPaint.setDither(dither); 472 final Shader shader = mBitmapState.mPaint.getShader(); 474 updateShaderMatrix(bitmap, mBitmapState.mPaint, shader, needMirroring()); 486 final Paint paint = state.mPaint; 637 final int oldAlpha = mBitmapState.mPaint.getAlpha() [all...] |
AdaptiveIconDrawable.java | 137 private Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.DITHER_FLAG | 341 mPaint.setShader(null); 342 mCanvas.drawPath(mMask, mPaint); 371 mPaint.setShader(mLayersShader); 375 canvas.drawBitmap(mMaskBitmap, bounds.left, bounds.top, mPaint); [all...] |
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/ |
PagedListView.java | 487 private final Paint mPaint; 511 mPaint = new Paint(); 512 mPaint.setColor(res.getColor(R.color.car_list_divider)); 540 c.drawRect(left, top, right, bottom, mPaint);
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
PreviewBackground.java | 68 private final Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 204 mPaint.setStyle(Paint.Style.FILL); 205 mPaint.setColor(getBgColor()); 219 mPaint.setStyle(Paint.Style.FILL); 220 mPaint.setColor(Color.BLACK); 237 mPaint.setAlpha(mShadowAlpha); 238 mPaint.setShader(mShadowShader); 239 canvas.drawPaint(mPaint); 240 mPaint.setAlpha(255); 241 mPaint.setShader(null) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardView.java | 122 private final Paint mPaint = new Paint(); 165 mPaint.setAntiAlias(true); 287 final Paint paint = mPaint;
|
/development/samples/ControllerSample/src/com/example/controllersample/ |
GameView.java | 650 private final Paint mPaint; 672 mPaint = new Paint(); 673 mPaint.setStyle(Style.FILL); [all...] |
/frameworks/base/libs/hwui/ |
VectorDrawable.h | 757 SkPaint mPaint;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
SignalDrawable.java | 111 private final Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 203 mPaint.setColor(background); 211 mPaint.setColor(getBackgroundColor(darkIntensity)); 344 mSlash.draw((int) height, (int) width, canvas, mPaint); 353 canvas.drawPath(mFullPath, mPaint); 392 return mPaint.getAlpha(); 397 mPaint.setAlpha(alpha); 403 mPaint.setColorFilter(colorFilter);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
CircularProgressDrawable.java | 617 final Paint mPaint = new Paint(); 644 mPaint.setStrokeCap(Paint.Cap.SQUARE); 645 mPaint.setAntiAlias(true); 646 mPaint.setStyle(Style.STROKE); 666 mPaint.setStrokeCap(strokeCap); 670 return mPaint.getStrokeCap(); 701 mPaint.setColor(mCurrentColor); 702 mPaint.setAlpha(mAlpha); 711 c.drawArc(arcBounds, startAngle, sweepAngle, false, mPaint); 814 mPaint.setColorFilter(filter) [all...] |
/frameworks/support/wear/src/android/support/wear/widget/ |
CircledImageView.java | 61 private final Paint mPaint; 199 mPaint = new Paint(); 200 mPaint.setAntiAlias(true); 249 mPaint.setColor(mCircleBorderColor); 252 mPaint.setAlpha(Math.round(mPaint.getAlpha() * getAlpha())); 253 mPaint.setStyle(Style.STROKE); 254 mPaint.setStrokeWidth(mCircleBorderWidth); 255 mPaint.setStrokeCap(mCircleBorderCap); 264 canvas.drawArc(mOval, -90, 360 * mProgress, false, mPaint); [all...] |
/prebuilts/sdk/current/support/v7/cardview/libs/ |
android-support-v7-cardview.jar | |
/frameworks/base/core/java/android/inputmethodservice/ |
KeyboardView.java | 191 private Paint mPaint; 344 mPaint = new Paint(); 345 mPaint.setAntiAlias(true); 346 mPaint.setTextSize(keyTextSize); 347 mPaint.setTextAlign(Align.CENTER); 348 mPaint.setAlpha(255); 669 final Paint paint = mPaint; [all...] |