/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | SweepWatchFaceService.java | 121 mBackgroundPaint.setColor(Color.BLACK); in onCreate() 130 mHourPaint.setColor(mWatchHandColor); in onCreate() 137 mMinutePaint.setColor(mWatchHandColor); in onCreate() 144 mSecondPaint.setColor(mWatchHandHighlightColor); in onCreate() 151 mTickAndCirclePaint.setColor(mWatchHandColor); in onCreate() 211 mHourPaint.setColor(Color.WHITE); in updateWatchHandStyle() 212 mMinutePaint.setColor(Color.WHITE); in updateWatchHandStyle() 213 mSecondPaint.setColor(Color.WHITE); in updateWatchHandStyle() 214 mTickAndCirclePaint.setColor(Color.WHITE); in updateWatchHandStyle() 227 mHourPaint.setColor(mWatchHandColor); in updateWatchHandStyle() [all …]
|
D | AnalogWatchFaceService.java | 149 mBackgroundPaint.setColor(Color.BLACK); in onCreate() 158 mHourPaint.setColor(mWatchHandColor); in onCreate() 165 mMinutePaint.setColor(mWatchHandColor); in onCreate() 172 mSecondPaint.setColor(mWatchHandHighlightColor); in onCreate() 179 mTickAndCirclePaint.setColor(mWatchHandColor); in onCreate() 246 mHourPaint.setColor(Color.WHITE); in updateWatchHandStyle() 247 mMinutePaint.setColor(Color.WHITE); in updateWatchHandStyle() 248 mSecondPaint.setColor(Color.WHITE); in updateWatchHandStyle() 249 mTickAndCirclePaint.setColor(Color.WHITE); in updateWatchHandStyle() 262 mHourPaint.setColor(mWatchHandColor); in updateWatchHandStyle() [all …]
|
D | ComplicationSimpleWatchFaceService.java | 195 mBackgroundPaint.setColor(Color.BLACK); in initializeBackground() 206 mComplicationPaint.setColor(Color.WHITE); in initializeComplication() 221 mHourPaint.setColor(mWatchHandColor); in initializeWatchFace() 228 mMinutePaint.setColor(mWatchHandColor); in initializeWatchFace() 235 mSecondPaint.setColor(mWatchHandHighlightColor); in initializeWatchFace() 242 mTickAndCirclePaint.setColor(mWatchHandColor); in initializeWatchFace() 427 mHourPaint.setColor(Color.WHITE); in updateWatchHandStyle() 428 mMinutePaint.setColor(Color.WHITE); in updateWatchHandStyle() 429 mSecondPaint.setColor(Color.WHITE); in updateWatchHandStyle() 430 mTickAndCirclePaint.setColor(Color.WHITE); in updateWatchHandStyle() [all …]
|
D | CardBoundsWatchFaceService.java | 91 mPaint.setColor(Color.MAGENTA); in onDraw() 99 mPaint.setColor(isInAmbientMode() ? Color.RED : Color.GREEN); in onDraw()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Arcs.java | 59 mPaints[0].setColor(0x88FF0000); in SampleView() 63 mPaints[1].setColor(0x8800FF00); in SampleView() 69 mPaints[2].setColor(0x880000FF); in SampleView() 73 mPaints[3].setColor(0x88888888); in SampleView()
|
D | Regions.java | 51 mPaint.setColor(Color.RED); in drawOriginalRects() 54 mPaint.setColor(Color.BLUE); in drawOriginalRects() 64 mPaint.setColor(Color.BLACK); in drawRgn() 72 mPaint.setColor(color); in drawRgn() 77 mPaint.setColor(color); in drawRgn()
|
D | Clipping.java | 54 mPaint.setColor(Color.RED); in drawScene() 57 mPaint.setColor(Color.GREEN); in drawScene() 60 mPaint.setColor(Color.BLUE); in drawScene()
|
D | Layers.java | 50 mPaint.setColor(Color.RED); in onDraw() 52 mPaint.setColor(Color.BLUE); in onDraw()
|
D | ShapeDrawable1.java | 104 mDrawables[0].getPaint().setColor(0xFFFF0000); in SampleView() 105 mDrawables[1].getPaint().setColor(0xFF00FF00); in SampleView() 106 mDrawables[2].getPaint().setColor(0xFF0000FF); in SampleView() 110 mDrawables[6].getPaint().setColor(0x88FF8844); in SampleView()
|
D | TextAlign.java | 83 mPathPaint.setColor(0x800000FF); in SampleView() 97 p.setColor(0x80FF0000); in onDraw() 99 p.setColor(Color.BLACK); in onDraw() 117 p.setColor(0xBB00FF00); in onDraw() 122 p.setColor(Color.BLACK); in onDraw()
|
D | Pictures.java | 43 p.setColor(0x88FF0000); in drawSomething() 46 p.setColor(Color.GREEN); in drawSomething()
|
D | ColorFilters.java | 114 mPaint.setColor(0xFFFFFFFF); in swapPaintColors() 115 mPaint2.setColor(0xFF000000); in swapPaintColors() 117 mPaint.setColor(0xFF000000); in swapPaintColors() 118 mPaint2.setColor(0xFFFFFFFF); in swapPaintColors()
|
D | DrawPoints.java | 69 paint.setColor(Color.RED); in onDraw() 73 paint.setColor(Color.BLUE); in onDraw()
|
D | MeasureText.java | 78 mPaint.setColor(0xFF88FF88); in showText() 80 mPaint.setColor(Color.BLACK); in showText() 93 mPaint.setColor(Color.RED); in showText()
|
D | PolyToPoly.java | 46 mPaint.setColor(Color.GRAY); in doDraw() 52 mPaint.setColor(Color.RED); in doDraw()
|
D | WindowSurface.java | 179 mBackground.setColor(0xff000000); in run() 180 mForeground.setColor(0xff00ffff); in run() 238 mForeground.setColor(mOldColor[i] | makeGreen(i)); in run() 250 mForeground.setColor(color | makeGreen(-2)); in run()
|
D | Patterns.java | 38 p.setColor(Color.BLUE); in makeBitmap1() 47 p.setColor(Color.GREEN); in makeBitmap2()
|
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/ |
D | WearableListItemLayout.java | 60 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor); in onCenterPosition() 65 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor); in onNonCenterPosition()
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
D | WearableListItemLayout.java | 62 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor); in onCenterPosition() 67 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor); in onNonCenterPosition()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | InternalSelectionView.java | 78 mTextPaint.setColor(Color.WHITE); in init() 147 mPainter.setColor(Color.BLACK); in onDraw() 156 mPainter.setColor(Color.RED); in onDraw() 160 mPainter.setColor(Color.BLACK); in onDraw()
|
D | LabelView.java | 89 mTextPaint.setColor(0xFF000000); in initLabelView() 119 mTextPaint.setColor(color); in setTextColor()
|
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ui/ |
D | SpeedPickerLayout.java | 70 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor); in onCenterPosition() 75 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor); in onNonCenterPosition()
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | ShapeHolder.java | 65 public void setColor(int value) { in setColor() method in ShapeHolder 66 shape.getPaint().setColor(value); in setColor()
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | CandidateView.java | 93 mPaint.setColor(mColorNormal); in CandidateView() 188 paint.setColor(mColorNormal); in onDraw() 202 paint.setColor(mColorRecommended); in onDraw() 204 paint.setColor(mColorOther); in onDraw() 207 paint.setColor(mColorOther); in onDraw()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 81 mBottomBorderPaint.setColor(mDefaultBottomBorderColor); in SlidingTabStrip() 146 mSelectedIndicatorPaint.setColor(color); in onDraw() 159 mDividerPaint.setColor(tabColorizer.getDividerColor(i)); in onDraw()
|