OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:colorMatrix
(Results
1 - 14
of
14
) 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
.
/external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFEColorMatrixElement.cpp
101
FEColorMatrix*
colorMatrix
= static_cast<FEColorMatrix*>(effect);
103
return
colorMatrix
->setType(typeCurrentValue());
105
return
colorMatrix
->setValues(valuesCurrentValue().toFloatVector());
/external/chromium_org/third_party/skia/src/effects/
SkColorFilterImageFilter.cpp
62
SkScalar
colorMatrix
[20], inputMatrix[20];
64
if (input && cf->asColorMatrix(
colorMatrix
)
70
mult_color_matrix(inputMatrix,
colorMatrix
, combinedMatrix);
SkColorMatrixFilter.cpp
406
"
ColorMatrix
");
469
SkColorMatrix
colorMatrix
;
470
for (size_t i = 0; i < SK_ARRAY_COUNT(
colorMatrix
.fMat); ++i) {
471
colorMatrix
.fMat[i] = random->nextSScalar1();
473
return ColorMatrixEffect::Create(
colorMatrix
);
/external/skia/src/effects/
SkColorFilterImageFilter.cpp
62
SkScalar
colorMatrix
[20], inputMatrix[20];
64
if (input && cf->asColorMatrix(
colorMatrix
)
70
mult_color_matrix(inputMatrix,
colorMatrix
, combinedMatrix);
SkColorMatrixFilter.cpp
406
"
ColorMatrix
");
469
SkColorMatrix
colorMatrix
;
470
for (size_t i = 0; i < SK_ARRAY_COUNT(
colorMatrix
.fMat); ++i) {
471
colorMatrix
.fMat[i] = random->nextSScalar1();
473
return ColorMatrixEffect::Create(
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);
/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
));
/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);
/packages/apps/Settings/src/com/android/settings/
HomeSettings.java
33
import android.graphics.
ColorMatrix
;
227
ColorMatrix
colorMatrix
= new
ColorMatrix
();
228
colorMatrix
.setSaturation(0f);
229
float[] matrix =
colorMatrix
.getArray();
231
grayscaleFilter = new ColorMatrixColorFilter(
colorMatrix
);
/external/chromium_org/cc/output/
shader.cc
650
"
colorMatrix
",
748
uniform mat4
colorMatrix
;
754
texColor =
colorMatrix
* texColor + colorOffset;
[
all
...]
/packages/apps/Launcher2/src/com/android/launcher2/
WidgetPreviewLoader.java
18
import android.graphics.
ColorMatrix
;
597
ColorMatrix
colorMatrix
= new
ColorMatrix
();
598
colorMatrix
.setSaturation(0);
599
p.setColorFilter(new ColorMatrixColorFilter(
colorMatrix
));
/packages/apps/Launcher3/src/com/android/launcher3/
WidgetPreviewLoader.java
17
import android.graphics.
ColorMatrix
;
592
ColorMatrix
colorMatrix
= new
ColorMatrix
();
593
colorMatrix
.setSaturation(0);
594
p.setColorFilter(new ColorMatrixColorFilter(
colorMatrix
));
/packages/apps/Settings/src/com/android/settings/users/
AppRestrictionsFragment.java
36
import android.graphics.
ColorMatrix
;
170
ColorMatrix
colorMatrix
= new
ColorMatrix
();
171
colorMatrix
.setSaturation(0f);
172
float[] matrix =
colorMatrix
.getArray();
174
grayscaleFilter = new ColorMatrixColorFilter(
colorMatrix
);
[
all
...]
Completed in 211 milliseconds