/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | ComposingView.java | 82 private Paint mPaint; field in ComposingView 122 mPaint = new Paint(); in ComposingView() 123 mPaint.setColor(mStrColor); in ComposingView() 124 mPaint.setAntiAlias(true); in ComposingView() 125 mPaint.setTextSize(mFontSize); in ComposingView() 127 mFmi = mPaint.getFontMetricsInt(); in ComposingView() 208 width += mPaint.measureText(str, 0, str.length()); in onMeasure() 225 mPaint.setColor(mStrColorHl); in onDraw() 231 canvas.drawText(splStr, 0, splStr.length(), x, y, mPaint); in onDraw() 245 mPaint.setColor(mStrColor); in drawForPinyin() [all …]
|
D | SoftKeyboardView.java | 117 private Paint mPaint; field in SoftKeyboardView 126 mPaint = new Paint(); in SoftKeyboardView() 127 mPaint.setAntiAlias(true); in SoftKeyboardView() 128 mFmi = mPaint.getFontMetricsInt(); in SoftKeyboardView() 420 mPaint.setTextSize(mNormalKeyTextSize); in onDraw() 422 mPaint.setTextSize(mFunctionKeyTextSize); in onDraw() 429 mPaint.setColor(0xa0000000); in onDraw() 430 canvas.drawRect(0, 0, getWidth(), getHeight(), mPaint); in onDraw() 469 mPaint.setColor(textColor); in drawSoftKey() 471 + (softKey.width() - mPaint.measureText(keyLabel)) / 2.0f; in drawSoftKey() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AgendaItemView.java | 31 Paint mPaint = new Paint(); field in AgendaItemView 47 mPaint.setColor(holder.calendarColor); in dispatchDraw() 48 canvas.drawRect(0, 0, 5, getHeight(), mPaint); in dispatchDraw() 52 mPaint.setColor(holder.overLayColor); in dispatchDraw() 53 canvas.drawRect(0, 0, getWidth(), getHeight(), mPaint); in dispatchDraw()
|
D | CalendarView.java | 158 private Paint mPaint = new Paint(); field in CalendarView 396 p = mPaint; in init() 1260 Paint p = mPaint; in drawAfterScroll() 1351 mPaint.setTextAlign(Paint.Align.RIGHT); in drawAmPm() 1370 Paint p = mPaint; in doDraw()
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | VUMeter.java | 21 Paint mPaint, mShadow; field in VUMeter 40 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in init() 41 mPaint.setColor(Color.WHITE); in init() 84 canvas.drawLine(x0, y0, pivotX, pivotY, mPaint); in onDraw() 85 canvas.drawCircle(pivotX, pivotY, PIVOT_RADIUS, mPaint); in onDraw()
|
/packages/apps/Camera/src/com/android/camera/ |
D | ActionMenuButton.java | 38 private Paint mPaint; field in ActionMenuButton 60 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in init() 61 mPaint.setColor(getContext().getResources() in init() 83 canvas.drawRoundRect(rect, CORNER_RADIUS, CORNER_RADIUS, mPaint); in draw()
|
D | ImageGallery.java | 782 private final Paint mPaint = new Paint(Paint.FILTER_BITMAP_FLAG); 808 canvas.drawBitmap(b, mSrcRect, mDstRect, mPaint);
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ActionMenuButton.java | 40 private Paint mPaint; field in ActionMenuButton 62 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in init() 63 mPaint.setColor(getContext().getResources() in init() 85 canvas.drawRoundRect(rect, CORNER_RADIUS, CORNER_RADIUS, mPaint); in draw()
|
D | ImageGallery.java | 784 private final Paint mPaint = new Paint(Paint.FILTER_BITMAP_FLAG); 810 canvas.drawBitmap(b, mSrcRect, mDstRect, mPaint);
|
/packages/apps/Launcher/src/com/android/launcher/ |
D | AllAppsGridView.java | 36 private Paint mPaint; field in AllAppsGridView 58 mPaint = new Paint(); in AllAppsGridView() 59 mPaint.setDither(false); in AllAppsGridView() 78 final Paint paint = mPaint; in draw()
|
D | BubbleTextView.java | 39 private Paint mPaint; field in BubbleTextView 68 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in init() 69 mPaint.setColor(getContext().getResources().getColor(R.color.bubble_dark_background)); in init() 130 canvas.drawRoundRect(rect, mCornerRadius, mCornerRadius, mPaint); in draw()
|
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/ |
D | CandidateView.java | 81 private Paint mPaint; field in CandidateView 131 mPaint = new Paint(); in CandidateView() 132 mPaint.setColor(mColorNormal); in CandidateView() 133 mPaint.setAntiAlias(true); in CandidateView() 134 mPaint.setTextSize(mPreviewText.getTextSize()); in CandidateView() 135 mPaint.setStrokeWidth(0); in CandidateView() 136 mDescent = (int) mPaint.descent(); in CandidateView() 211 final Paint paint = mPaint; in onDraw() 216 final int y = (int) (height + mPaint.getTextSize() - mDescent) / 2; in onDraw() 450 int wordWidth = (int) (mPaint.measureText(word, 0, word.length()) + X_GAP * 2); in showPreview()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | BubbleTextView.java | 39 private Paint mPaint; field in BubbleTextView 67 mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); in init() 68 mPaint.setColor(getContext().getResources().getColor(R.color.bubble_dark_background)); in init() 129 canvas.drawRoundRect(rect, mCornerRadius, mCornerRadius, mPaint); in draw()
|
D | DragView.java | 43 private Paint mPaint; field in DragView 106 canvas.drawBitmap(mBitmap, 0.0f, 0.0f, mPaint); in onDraw() 127 mPaint = paint; in setPaint()
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/ |
D | Visualization1.java | 51 private final Paint mPaint = new Paint(); field in Visualization1.CubeEngine 75 final Paint paint = mPaint; in onCreate() 174 c.drawPoint(i, mCenterY + mAudioData[i] / 256, mPaint); in drawCube() 181 c.drawCircle(mTouchX, mTouchY, 50, mPaint); in drawTouchPoint()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
D | PolarClockWallpaper.java | 298 private final Paint mPaint = new Paint(); field in PolarClockWallpaper.ClockEngine 358 final Paint paint = mPaint; in onCreate() 470 final Paint paint = mPaint; in drawFrame()
|