Home
last modified time | relevance | path

Searched refs:mColor (Results 1 – 8 of 8) sorted by relevance

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceWearableConfigActivity.java210 private final CircledImageView mColor; field in DigitalWatchFaceWearableConfigActivity.ColorItem
228 mColor = (CircledImageView) findViewById(R.id.color); in ColorItem()
230 mExpandCircleRadius = mColor.getCircleRadius(); in ColorItem()
233 mShrinkCircleAnimator = ObjectAnimator.ofFloat(mColor, "circleRadius", in ColorItem()
240 mExpandCircleAnimator = ObjectAnimator.ofFloat(mColor, "circleRadius", in ColorItem()
253 … mExpandCircleAnimator.setFloatValues(mColor.getCircleRadius(), mExpandCircleRadius); in onCenterPosition()
259 mColor.setCircleRadius(mExpandCircleRadius); in onCenterPosition()
269 … mShrinkCircleAnimator.setFloatValues(mColor.getCircleRadius(), mShrinkCircleRadius); in onNonCenterPosition()
275 mColor.setCircleRadius(mShrinkCircleRadius); in onNonCenterPosition()
282 mColor.setCircleColor(Color.parseColor(colorName)); in setColor()
[all …]
DGles2ColoredTriangleList.java69 private final float mColor[]; field in Gles2ColoredTriangleList
91 mColor = color; in Gles2ColoredTriangleList()
117 mProgram.bind(mvpMatrix, mVertexBuffer, mColor); in draw()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLFace.java58 if (mColor == null) { in setColor()
69 mColor = c; in setColor()
93 private GLColor mColor; field in GLFace
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
DMainActivity.java284 private int mColor = 0; field in MainActivity
295 mPresentation.setColor(mColors[mColor]); in showNextColor()
296 mColor = (mColor + 1) % mColors.length; in showNextColor()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DWindowSurface.java161 final MovingPoint mColor = new MovingPoint(); field in WindowSurface.DrawingThread
220 mColor.init(127, 127, 1); in run()
226 mColor.step(127, 127, 1, 3); in run()
245 int red = (int)mColor.x + 128; in run()
247 int blue = (int)mColor.y + 128; in run()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DSetWallpaperActivity.java69 int mColor = (int) Math.floor(Math.random() * mColors.length); in onCreate()
70 wallpaperDrawable.setColorFilter(mColors[mColor], PorterDuff.Mode.MULTIPLY); in onCreate()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java114 private int mColor; field in WearableMainActivity.SpeedState
117 mColor = color; in SpeedState()
121 return mColor; in getColor()
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java653 private final int mColor; field in GameView.Ship
692 mColor = colorIndex; in Ship()
1042 return mColor; in getColor()