OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mColors
(Results
1 - 25
of
83
) sorted by null
1
2
3
4
/frameworks/base/graphics/java/android/graphics/
SweepGradient.java
36
private int[]
mColors
;
67
mColors
= colors.clone();
85
mColors
= null;
92
return nativeCreate1(nativeMatrix, mCx, mCy,
mColors
, mPositions);
105
copy = new SweepGradient(mCx, mCy,
mColors
.clone(),
LinearGradient.java
38
private int[]
mColors
;
71
mColors
= colors.clone();
97
mColors
= null;
106
mColors
, mPositions, mTileMode.nativeInt);
120
copy = new LinearGradient(mX0, mY0, mX1, mY1,
mColors
.clone(),
RadialGradient.java
37
private int[]
mColors
;
73
mColors
= colors.clone();
106
mColors
, mPositions, mTileMode.nativeInt);
120
copy = new RadialGradient(mX, mY, mRadius,
mColors
.clone(),
/frameworks/base/libs/hwui/
Patch.h
67
const uint32_t*
mColors
;
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
SamplePointWideGamutVerifier.java
33
private final Color[]
mColors
;
38
mColors
= colors;
47
Color c =
mColors
[i];
/development/samples/ApiDemos/src/com/example/android/apis/app/
SetWallpaperActivity.java
43
final static private int[]
mColors
=
69
int mColor = (int) Math.floor(Math.random() *
mColors
.length);
70
wallpaperDrawable.setColorFilter(
mColors
[mColor], PorterDuff.Mode.MULTIPLY);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
BitmapMeshLayerActivity.java
42
private int[]
mColors
;
59
mColors
= new int[] {
75
canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0,
mColors
, 0, null);
BitmapMeshActivity.java
41
private int[]
mColors
;
58
mColors
= new int[] {
82
canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0,
mColors
, 0, null);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
TouchPointView.java
37
private final int[]
mColors
= {
87
int color =
mColors
[finger.pointerId %
mColors
.length];
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
PathEffects.java
37
private int[]
mColors
;
67
mColors
= new int[] { Color.BLACK, Color.RED, Color.BLUE,
85
mPaint.setColor(
mColors
[i]);
ColorFilters.java
44
private int[]
mColors
;
93
mColors
= new int[] {
147
for (int color :
mColors
) {
CreateBitmap.java
56
private int[]
mColors
;
72
mColors
= createColors();
73
int[] colors =
mColors
;
118
canvas.drawBitmap(
mColors
, 0, STRIDE, 0, 0, WIDTH, HEIGHT,
121
canvas.drawBitmap(
mColors
, 0, STRIDE, 0, 0, WIDTH, HEIGHT,
ColorPickerDialog.java
38
private final int[]
mColors
;
44
mColors
= new int[] {
48
Shader s = new SweepGradient(0, 0,
mColors
, null);
193
mCenterPaint.setColor(interpColor(
mColors
, unit));
/development/samples/Snake/src/com/example/android/snake/
BackgroundView.java
34
private int[]
mColors
= new int[4];
48
mColors
[0] = a.getColor(R.styleable.BackgroundView_colorSegmentOne, Color.RED);
49
mColors
[1] = a.getColor(R.styleable.BackgroundView_colorSegmentTwo, Color.YELLOW);
50
mColors
[2] = a.getColor(R.styleable.BackgroundView_colorSegmentThree, Color.BLUE);
51
mColors
[3] = a.getColor(R.styleable.BackgroundView_colorSegmentFour, Color.GREEN);
63
for (int triangle = 0; triangle <
mColors
.length; triangle++) {
65
Arrays.fill(mFillColors,
mColors
[triangle]);
/frameworks/layoutlib/bridge/src/android/graphics/
Gradient_Delegate.java
26
protected final int[]
mColors
;
67
mColors
= colors;
79
private final int[]
mColors
;
85
mColors
= colors;
117
mGradient[i] = computeColor(
mColors
[prevPos],
mColors
[nextPos], percent);
/developers/build/prebuilts/gradle/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/
MainActivity.java
72
mColors
= getResources().getIntArray(R.array.androidcolors);
287
public int[]
mColors
;
295
mPresentation.setColor(
mColors
[mColor]);
296
mColor = (mColor + 1) %
mColors
.length;
/developers/build/prebuilts/gradle/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/
PartyLightView.java
33
private int[]
mColors
= new int[] {
85
mCurrentColor = getColor(mProgress,
mColors
[mFromColorIndex],
86
mColors
[mToColorIndex]);
93
if (mToColorIndex >=
mColors
.length) {
/developers/samples/android/media/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/
MainActivity.java
72
mColors
= getResources().getIntArray(R.array.androidcolors);
287
public int[]
mColors
;
295
mPresentation.setColor(
mColors
[mColor]);
296
mColor = (mColor + 1) %
mColors
.length;
/developers/samples/android/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/
PartyLightView.java
33
private int[]
mColors
= new int[] {
85
mCurrentColor = getColor(mProgress,
mColors
[mFromColorIndex],
86
mColors
[mToColorIndex]);
93
if (mToColorIndex >=
mColors
.length) {
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
MainActivity.java
72
mColors
= getResources().getIntArray(R.array.androidcolors);
287
public int[]
mColors
;
295
mPresentation.setColor(
mColors
[mColor]);
296
mColor = (mColor + 1) %
mColors
.length;
/development/samples/browseable/Flashlight/src/com.example.android.wearable.flashlight/
PartyLightView.java
33
private int[]
mColors
= new int[] {
85
mCurrentColor = getColor(mProgress,
mColors
[mFromColorIndex],
86
mColors
[mToColorIndex]);
93
if (mToColorIndex >=
mColors
.length) {
/frameworks/native/cmds/surfacereplayer/replayer/
Replayer.h
128
std::unordered_map<layer_id, HSV>
mColors
;
/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/
ExtractedColors.java
86
private final int[]
mColors
;
90
mColors
= Arrays.copyOf(DEFAULT_VALUES, DEFAULT_VALUES.length);
94
if (index > VERSION_INDEX && index <
mColors
.length) {
95
mColors
[index] = color;
102
* Encodes {@link #
mColors
} as a comma-separated String.
106
for (int color :
mColors
) {
124
for (int i = 0; i <
mColors
.length; i++) {
125
mColors
[i] = Integer.parseInt(splitColorsString[i]);
135
return
mColors
[index];
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/
TouchPointView.java
38
private final int[]
mColors
= {
111
int color =
mColors
[finger.pointerId %
mColors
.length];
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
ColorWheel.java
46
private final int[]
mColors
;
57
mColors
= new int[] {
61
Shader s = new SweepGradient(0, 0,
mColors
, null);
210
mCenterPaint.setColor(interpColor(
mColors
, unit));
Completed in 1183 milliseconds
1
2
3
4