Home
last modified time | relevance | path

Searched refs:getPaint (Results 1 – 14 of 14) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DShapeDrawable1.java104 mDrawables[0].getPaint().setColor(0xFFFF0000); in SampleView()
105 mDrawables[1].getPaint().setColor(0xFF00FF00); in SampleView()
106 mDrawables[2].getPaint().setColor(0xFF0000FF); in SampleView()
107 mDrawables[3].getPaint().setShader(makeSweep()); in SampleView()
108 mDrawables[4].getPaint().setShader(makeLinear()); in SampleView()
109 mDrawables[5].getPaint().setShader(makeTiling()); in SampleView()
110 mDrawables[6].getPaint().setColor(0x88FF8844); in SampleView()
114 mDrawables[3].getPaint().setPathEffect( in SampleView()
DShadowCardDrag.java162 mCardBackground.getPaint().setColor(Color.WHITE); in onCreate()
/development/samples/browseable/AlwaysOn/src/com.example.android.wearable.wear.alwayson/
DMainActivity.java196 mTimeTextView.getPaint().setAntiAlias(false); in onEnterAmbient()
197 mTimeStampTextView.getPaint().setAntiAlias(false); in onEnterAmbient()
198 mStateTextView.getPaint().setAntiAlias(false); in onEnterAmbient()
199 mUpdateRateTextView.getPaint().setAntiAlias(false); in onEnterAmbient()
200 mDrawCountTextView.getPaint().setAntiAlias(false); in onEnterAmbient()
238 mTimeTextView.getPaint().setAntiAlias(true); in onExitAmbient()
239 mTimeStampTextView.getPaint().setAntiAlias(true); in onExitAmbient()
240 mStateTextView.getPaint().setAntiAlias(true); in onExitAmbient()
241 mUpdateRateTextView.getPaint().setAntiAlias(true); in onExitAmbient()
242 mDrawCountTextView.getPaint().setAntiAlias(true); in onExitAmbient()
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DThumbnailRadioButton.java68 rectChecked.getPaint().setColor(0xFFFFFFFF); in setThumbnail()
69 rectChecked.getPaint().setStyle(Paint.Style.STROKE); in setThumbnail()
70 rectChecked.getPaint().setStrokeWidth(strokeWidth); in setThumbnail()
78 rectUnchecked.getPaint().setColor(0x0); in setThumbnail()
79 rectUnchecked.getPaint().setStyle(Paint.Style.STROKE); in setThumbnail()
80 rectUnchecked.getPaint().setStrokeWidth(strokeWidth); in setThumbnail()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DShapeHolder.java40 public Paint getPaint() { in getPaint() method in ShapeHolder
66 shape.getPaint().setColor(value); in setColor()
DReversingAnimation.java113 Paint paint = drawable.getPaint(); //new Paint(Paint.ANTI_ALIAS_FLAG); in createBall()
DAnimationSeeking.java137 Paint paint = drawable.getPaint(); in addBall()
DAnimationCloning.java117 Paint paint = drawable.getPaint(); //new Paint(Paint.ANTI_ALIAS_FLAG); in addBall()
DCustomEvaluator.java152 Paint paint = drawable.getPaint(); //new Paint(Paint.ANTI_ALIAS_FLAG); in createBall()
DMultiPropertyAnimation.java154 Paint paint = drawable.getPaint(); in addBall()
DAnimationLoading.java174 Paint paint = shapeHolder.getShape().getPaint(); in addBall()
DBouncingBalls.java163 Paint paint = drawable.getPaint(); //new Paint(Paint.ANTI_ALIAS_FLAG); in addBall()
DAnimatorEvents.java181 Paint paint = drawable.getPaint(); //new Paint(Paint.ANTI_ALIAS_FLAG); in createBall()
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DPlayerSetupActivity.java260 drawable.getPaint().setColor(0xFF << 24 | (int) (50 + 150 * Math.random()) << 16 | in setupNumberButton()