OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:colorMatrix
(Results
1 - 9
of
9
) sorted by null
/frameworks/base/graphics/java/android/graphics/
ColorMatrixColorFilter.java
27
public ColorMatrixColorFilter(
ColorMatrix
matrix) {
28
final float[]
colorMatrix
= matrix.getArray();
29
native_instance = nativeColorMatrixFilter(
colorMatrix
);
30
nativeColorFilter = nColorMatrixFilter(native_instance,
colorMatrix
);
38
* the filter. See
ColorMatrix
.
/frameworks/base/core/jni/android/graphics/
ColorFilter.cpp
71
float*
colorMatrix
= new float[16];
72
memcpy(
colorMatrix
, src, 4 * sizeof(float));
73
memcpy(&
colorMatrix
[4], &src[5], 4 * sizeof(float));
74
memcpy(&
colorMatrix
[8], &src[10], 4 * sizeof(float));
75
memcpy(&
colorMatrix
[12], &src[15], 4 * sizeof(float));
83
return new SkiaColorMatrixFilter(skFilter,
colorMatrix
, colorVector);
/pdk/apps/TestingCamera/src/com/android/testingcamera/
CallbackProcessor.java
105
ScriptIntrinsicColorMatrix
colorMatrix
=
109
colorMatrix
.setColorMatrix(yuv2rgb);
113
b.addKernel(
colorMatrix
.getKernelID());
115
colorMatrix
.getKernelID());
118
mConverter.setOutput(
colorMatrix
.getKernelID(), mAllocationOut);
/external/skia/src/effects/
SkColorFilterImageFilter.cpp
62
SkScalar
colorMatrix
[20], inputMatrix[20];
64
if (input && cf->asColorMatrix(
colorMatrix
)
69
mult_color_matrix(inputMatrix,
colorMatrix
, combinedMatrix);
SkColorMatrixFilter.cpp
406
"
ColorMatrix
");
468
SkColorMatrix
colorMatrix
;
469
for (size_t i = 0; i < SK_ARRAY_COUNT(
colorMatrix
.fMat); ++i) {
470
colorMatrix
.fMat[i] = random->nextSScalar1();
472
return ColorMatrixEffect::Create(
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
));
/external/webkit/Source/WebCore/svg/
SVGFEColorMatrixElement.cpp
74
FEColorMatrix*
colorMatrix
= static_cast<FEColorMatrix*>(effect);
76
return
colorMatrix
->setType(static_cast<ColorMatrixType>(type()));
78
return
colorMatrix
->setValues(values());
/packages/apps/Launcher2/src/com/android/launcher2/
WidgetPreviewLoader.java
17
import android.graphics.
ColorMatrix
;
576
ColorMatrix
colorMatrix
= new
ColorMatrix
();
577
colorMatrix
.setSaturation(0);
578
p.setColorFilter(new ColorMatrixColorFilter(
colorMatrix
));
/packages/apps/Settings/src/com/android/settings/users/
AppRestrictionsFragment.java
43
import android.graphics.
ColorMatrix
;
191
ColorMatrix
colorMatrix
= new
ColorMatrix
();
192
colorMatrix
.setSaturation(0f);
193
float[] matrix =
colorMatrix
.getArray();
195
grayscaleFilter = new ColorMatrixColorFilter(
colorMatrix
);
[
all
...]
Completed in 821 milliseconds