/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | CreateBitmap.java | 39 int[] colors = new int[STRIDE * HEIGHT]; in createColors() local 46 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors() 49 return colors; in createColors() 73 int[] colors = mColors; in SampleView() local 77 mBitmaps[0] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in SampleView() 79 mBitmaps[1] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in SampleView() 81 mBitmaps[2] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in SampleView() 92 mBitmaps[i].setPixels(colors, 0, STRIDE, 0, 0, WIDTH, HEIGHT); in SampleView()
|
D | PurgeableBitmapView.java | 58 int[] colors = createColors(); in PurgeableBitmapView() local 59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in PurgeableBitmapView() 68 int[] colors = new int[STRIDE * HEIGHT]; in createColors() local 75 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors() 78 return colors; in createColors()
|
D | ColorPickerDialog.java | 116 private int interpColor(int colors[], float unit) { in interpColor() argument 118 return colors[0]; in interpColor() 121 return colors[colors.length - 1]; in interpColor() 124 float p = unit * (colors.length - 1); in interpColor() 129 int c0 = colors[i]; in interpColor() 130 int c1 = colors[i+1]; in interpColor()
|
D | Cube.java | 44 int colors[] = { in Cube() local 78 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); in Cube() 81 mColorBuffer.put(colors); in Cube()
|
D | MeasureText.java | 37 int[] colors = new int[STRIDE * HEIGHT]; in createColors() local 44 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors() 47 return colors; in createColors()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 96 void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 99 mDefaultTabColorizer.setIndicatorColors(colors); in setSelectedIndicatorColors() 103 void setDividerColors(int... colors) { in setDividerColors() argument 106 mDefaultTabColorizer.setDividerColors(colors); in setDividerColors() 200 void setIndicatorColors(int... colors) { in setIndicatorColors() argument 201 mIndicatorColors = colors; in setIndicatorColors() 204 void setDividerColors(int... colors) { in setDividerColors() argument 205 mDividerColors = colors; in setDividerColors()
|
D | SlidingTabLayout.java | 119 public void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors() 127 public void setDividerColors(int... colors) { in setDividerColors() argument 128 mTabStrip.setDividerColors(colors); in setDividerColors()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 96 void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 99 mDefaultTabColorizer.setIndicatorColors(colors); in setSelectedIndicatorColors() 103 void setDividerColors(int... colors) { in setDividerColors() argument 106 mDefaultTabColorizer.setDividerColors(colors); in setDividerColors() 200 void setIndicatorColors(int... colors) { in setIndicatorColors() argument 201 mIndicatorColors = colors; in setIndicatorColors() 204 void setDividerColors(int... colors) { in setDividerColors() argument 205 mDividerColors = colors; in setDividerColors()
|
D | SlidingTabLayout.java | 119 public void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors() 127 public void setDividerColors(int... colors) { in setDividerColors() argument 128 mTabStrip.setDividerColors(colors); in setDividerColors()
|
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 96 void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 99 mDefaultTabColorizer.setIndicatorColors(colors); in setSelectedIndicatorColors() 103 void setDividerColors(int... colors) { in setDividerColors() argument 106 mDefaultTabColorizer.setDividerColors(colors); in setDividerColors() 200 void setIndicatorColors(int... colors) { in setIndicatorColors() argument 201 mIndicatorColors = colors; in setIndicatorColors() 204 void setDividerColors(int... colors) { in setDividerColors() argument 205 mDividerColors = colors; in setDividerColors()
|
D | SlidingTabLayout.java | 119 public void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors() 127 public void setDividerColors(int... colors) { in setDividerColors() argument 128 mTabStrip.setDividerColors(colors); in setDividerColors()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 96 void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 99 mDefaultTabColorizer.setIndicatorColors(colors); in setSelectedIndicatorColors() 103 void setDividerColors(int... colors) { in setDividerColors() argument 106 mDefaultTabColorizer.setDividerColors(colors); in setDividerColors() 200 void setIndicatorColors(int... colors) { in setIndicatorColors() argument 201 mIndicatorColors = colors; in setIndicatorColors() 204 void setDividerColors(int... colors) { in setDividerColors() argument 205 mDividerColors = colors; in setDividerColors()
|
D | SlidingTabLayout.java | 119 public void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors() 127 public void setDividerColors(int... colors) { in setDividerColors() argument 128 mTabStrip.setDividerColors(colors); in setDividerColors()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 96 void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 99 mDefaultTabColorizer.setIndicatorColors(colors); in setSelectedIndicatorColors() 103 void setDividerColors(int... colors) { in setDividerColors() argument 106 mDefaultTabColorizer.setDividerColors(colors); in setDividerColors() 200 void setIndicatorColors(int... colors) { in setIndicatorColors() argument 201 mIndicatorColors = colors; in setIndicatorColors() 204 void setDividerColors(int... colors) { in setDividerColors() argument 205 mDividerColors = colors; in setDividerColors()
|
D | SlidingTabLayout.java | 119 public void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors() 127 public void setDividerColors(int... colors) { in setDividerColors() argument 128 mTabStrip.setDividerColors(colors); in setDividerColors()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 96 void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 99 mDefaultTabColorizer.setIndicatorColors(colors); in setSelectedIndicatorColors() 103 void setDividerColors(int... colors) { in setDividerColors() argument 106 mDefaultTabColorizer.setDividerColors(colors); in setDividerColors() 200 void setIndicatorColors(int... colors) { in setIndicatorColors() argument 201 mIndicatorColors = colors; in setIndicatorColors() 204 void setDividerColors(int... colors) { in setDividerColors() argument 205 mDividerColors = colors; in setDividerColors()
|
D | SlidingTabLayout.java | 119 public void setSelectedIndicatorColors(int... colors) { in setSelectedIndicatorColors() argument 120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors() 127 public void setDividerColors(int... colors) { in setDividerColors() argument 128 mTabStrip.setDividerColors(colors); in setDividerColors()
|
/development/tools/checkcolor/ |
D | README | 3 colors. One example of hardcoded color is: 8 to presubmit, so it could detects whether hardcoded colors have been
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | RotationVectorDemo.java | 170 final float colors[] = { in Cube() local 192 ByteBuffer cbb = ByteBuffer.allocateDirect(colors.length*4); in Cube() 195 mColorBuffer.put(colors); in Cube()
|
/development/samples/Compass/src/com/example/android/compass/ |
D | CompassActivity.java | 171 float colors[] = { in onSurfaceCreated() local 194 vbb = ByteBuffer.allocateDirect(colors.length*4); in onSurfaceCreated() 197 mColorBuffer.put(colors); in onSurfaceCreated()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | DigitalWatchFaceWearableConfigActivity.java | 81 String[] colors = getResources().getStringArray(R.array.color_array); in onCreate() local 82 listView.setAdapter(new ColorListAdapter(colors)); in onCreate() 161 public ColorListAdapter(String[] colors) { in ColorListAdapter() argument 162 mColors = colors; in ColorListAdapter()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PresentationActivity.java | 520 drawable.setColors(mContents.colors); in onCreate() 530 final int[] colors; field in PresentationActivity.DemoPresentationContents 548 colors = new int[] { in DemoPresentationContents() 555 colors = new int[] { in.readInt(), in.readInt() }; in DemoPresentationContents() 567 dest.writeInt(colors[0]); in writeToParcel() 568 dest.writeInt(colors[1]); in writeToParcel()
|
/development/samples/browseable/DrawableTinting/ |
D | _index.jd | 11 A color state list is referenced as the tint color, which defines colors for different
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
D | NinePatchLab.java | 59 int[] colors = new int[] { in make_custom_bg() local 64 colors); in make_custom_bg()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | Spinner1.java | 46 this, R.array.colors, android.R.layout.simple_spinner_item); in onCreate()
|