/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowColorMatrixColorFilter.java | 3 import android.graphics.ColorMatrix; 11 private ColorMatrix matrix; 14 public void __constructor__(ColorMatrix matrix) { 20 this.matrix = new ColorMatrix(array);
|
ShadowColorMatrix.java | 3 import android.graphics.ColorMatrix; 14 @Implements(ColorMatrix.class) 27 public void __constructor__(ColorMatrix src) {
|
/frameworks/base/graphics/java/android/graphics/ |
ColorMatrixColorFilter.java | 23 * @see ColorMatrix 26 private final ColorMatrix mMatrix = new ColorMatrix(); 35 public ColorMatrixColorFilter(ColorMatrix matrix) { 45 * the filter. See ColorMatrix. 56 * Returns the {@link ColorMatrix} used by this filter. The returned 58 * any effect until you call {@link #setColorMatrix(ColorMatrix)}. 60 * @see #setColorMatrix(ColorMatrix) 64 public ColorMatrix getColorMatrix() { 73 * @param matrix A {@link ColorMatrix} or nul [all...] |
ColorMatrix.java | 49 * The sample ColorMatrix below inverts incoming colors by scaling each 61 public class ColorMatrix { 65 * Create a new colormatrix initialized to identity (as if reset() had 68 public ColorMatrix() { 73 * Create a new colormatrix initialized with the specified array of values. 75 public ColorMatrix(float[] src) { 80 * Create a new colormatrix initialized with the specified colormatrix. 82 public ColorMatrix(ColorMatrix src) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdipluscolormatrix.h | 61 typedef struct ColorMatrix { 63 } ColorMatrix;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorMatrixSample.java | 46 private static void setTranslate(ColorMatrix cm, float dr, float dg, 55 private static void setContrast(ColorMatrix cm, float contrast) { 65 private static void setContrastTranslateOnly(ColorMatrix cm, float contrast) { 75 private static void setContrastScaleOnly(ColorMatrix cm, float contrast) { 95 ColorMatrix cm = new ColorMatrix();
|
ColorPickerDialog.java | 145 ColorMatrix cm = new ColorMatrix(); 146 ColorMatrix tmp = new ColorMatrix();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ColorMatrixTest.java | 18 import android.graphics.ColorMatrix; 22 private ColorMatrix mColorMatrix; 37 mColorMatrix = new ColorMatrix(mSrc); 41 new ColorMatrix(); 43 ColorMatrix cM1 = new ColorMatrix(mSrc); 52 ColorMatrix cM2 = new ColorMatrix(cM1); 113 mColorMatrix.set(new ColorMatrix(fArray)); 253 mColorMatrix.postConcat(new ColorMatrix()); [all...] |
ColorMatrixColorFilterTest.java | 22 import android.graphics.ColorMatrix; 36 ColorMatrix cm = new ColorMatrix();
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
ColorMatrix.java | 31 public class ColorMatrix extends TestBase { 37 public ColorMatrix(boolean useIntrinsic, boolean useGrey) {
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
ColorMatrix.java | 24 public class ColorMatrix extends TestBase { 30 public ColorMatrix(boolean useIntrinsic, boolean useGrey) {
|
IPTestList.java | 55 COLOR_MATRIX ("ColorMatrix", RELAXED_FP, 33.8f), 56 INTRINSICS_COLOR_MATRIX ("Intrinsics ColorMatrix", INTRINSIC, 21.3f), 57 INTRINSICS_COLOR_MATRIX_GREY ("Intrinsics ColorMatrix Grey", INTRINSIC, 21.4f), 145 return new ColorMatrix(false, false); 147 return new ColorMatrix(true, false); 149 return new ColorMatrix(true, true);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
ColorMatrix.java | 31 public class ColorMatrix extends TestBase { 37 public ColorMatrix(boolean useIntrinsic, boolean useGrey) {
|
IPTestListJB.java | 55 COLOR_MATRIX ("ColorMatrix", RELAXED_FP, 33.8f), 56 INTRINSICS_COLOR_MATRIX ("Intrinsics ColorMatrix", INTRINSIC, 21.3f), 57 INTRINSICS_COLOR_MATRIX_GREY ("Intrinsics ColorMatrix Grey", INTRINSIC, 21.4f), 147 return new ColorMatrix(false, false); 149 return new ColorMatrix(true, false); 151 return new ColorMatrix(true, true);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ViewInvertHelper.java | 23 import android.graphics.ColorMatrix; 36 private final ColorMatrix mMatrix = new ColorMatrix(); 37 private final ColorMatrix mGrayscaleMatrix = new ColorMatrix();
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
ActivityAnimations.java | 25 import android.graphics.ColorMatrix; 60 ColorMatrix grayMatrix = new ColorMatrix();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ColorFiltersActivity.java | 24 import android.graphics.ColorMatrix; 56 final ColorMatrix colorMatrix = new ColorMatrix(); 57 colorMatrix.setSaturation(0); 58 mColorMatrixPaint.setColorFilter(new ColorMatrixColorFilter(colorMatrix));
|
ColorFiltersMutateActivity.java | 26 import android.graphics.ColorMatrix; 63 final ColorMatrix colorMatrix = new ColorMatrix(); 64 colorMatrix.setSaturation(0); 65 mColorMatrixPaint.setColorFilter(new ColorMatrixColorFilter(colorMatrix)); 141 final ColorMatrix m = filter.getColorMatrix();
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
DragView.java | 30 import android.graphics.ColorMatrix; 260 ColorMatrix m1 = new ColorMatrix(); 263 ColorMatrix m2 = new ColorMatrix(); 278 animateFilterTo(new ColorMatrix().getArray()); 285 float[] oldFilter = mCurrentFilter == null ? new ColorMatrix().getArray() : mCurrentFilter; 388 public static void setColorScale(int color, ColorMatrix target) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
FastBitmapDrawable.java | 26 import android.graphics.ColorMatrix; 93 private static final ColorMatrix sTempBrightnessMatrix = new ColorMatrix(); 94 private static final ColorMatrix sTempFilterMatrix = new ColorMatrix();
|
ButtonDropTarget.java | 29 import android.graphics.ColorMatrix; 78 @Thunk ColorMatrix mSrcFilter, mDstFilter, mCurrentFilter; 131 mCurrentFilter = new ColorMatrix(); 167 mSrcFilter = new ColorMatrix(); 168 mDstFilter = new ColorMatrix(); 169 mCurrentFilter = new ColorMatrix();
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
LayerTests.java | 21 import android.graphics.ColorMatrix; 64 // See ColorMatrix#setSaturation() 70 ColorMatrix desatMatrix = new ColorMatrix();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
NotificationViewWrapper.java | 22 import android.graphics.ColorMatrix; 39 protected final ColorMatrix mGrayscaleColorMatrix = new ColorMatrix();
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorWheel.java | 162 ColorMatrix cm = new ColorMatrix(); 163 ColorMatrix tmp = new ColorMatrix();
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayoutActivity.java | 23 import android.graphics.ColorMatrix; 139 ColorMatrix m1 = new ColorMatrix(); 140 ColorMatrix m2 = new ColorMatrix();
|