HomeSort by relevance Sort by last modified time
    Searched refs:Blur (Results 1 - 25 of 47) sorted by null

1 2

  /cts/tests/tests/graphics/src/android/graphics/cts/
BlurMaskFilter_BlurTest.java 22 import android.graphics.BlurMaskFilter.Blur;
34 assertEquals(Blur.NORMAL, Blur.valueOf("NORMAL"));
35 assertEquals(Blur.SOLID, Blur.valueOf("SOLID"));
36 assertEquals(Blur.OUTER, Blur.valueOf("OUTER"));
37 assertEquals(Blur.INNER, Blur.valueOf("INNER"));
42 Blur[] blur = Blur.values() local
    [all...]
BlurMaskFilterTest.java 23 import android.graphics.BlurMaskFilter.Blur;
44 BlurMaskFilter filter = new BlurMaskFilter(RADIUS, Blur.NORMAL);
61 // check blur zone, color should remain, alpha varies
  /frameworks/base/graphics/java/android/graphics/
BlurMaskFilter.java 21 * or not to include the original mask, and whether the blur goes outside,
23 * Blur enum.
27 public enum Blur {
29 * Blur inside and outside the original border.
34 * Draw solid inside the border, blur outside.
39 * Draw nothing inside the border, blur outside.
44 * Blur inside the border, draw nothing outside.
48 Blur(int value) {
55 * Create a blur maskfilter.
57 * @param radius The radius to extend the blur from the original mask. Must be > 0
    [all...]
  /external/ImageMagick/PerlMagick/demo/
shadow-text.pl 11 $image->Blur('0x1');
demo.pl 33 print "Adaptive Blur...\n";
35 $example->Label('Adaptive Blur');
82 print "Blur...\n";
84 $example->Label('Blur');
85 $example->Blur('0.0x1.0');
223 print "Gaussian Blur...\n";
225 $example->Label('Gaussian Blur');
299 print "Motion Blur...\n";
301 $example->Label('Motion Blur');
349 print "Rotational Blur...\n"
    [all...]
  /frameworks/base/libs/hwui/utils/
Blur.cpp 19 #include "Blur.h"
26 // "high quality" mode, in SkBlurMask::Blur() (1 / sqrt(3)).
29 float Blur::convertRadiusToSigma(float radius) {
33 float Blur::convertSigmaToRadius(float sigma) {
40 uint32_t Blur::convertRadiusToInt(float radius) {
54 * radius gets, the more our gaussian blur will resemble a box blur since with
61 void Blur::generateGaussianWeights(float* weights, float radius) {
64 // Compute gaussian weights for the blur
75 // the blur calculation
    [all...]
Blur.h 26 class Blur {
PaintUtils.h 19 #include <utils/Blur.h>
79 SkDrawLooper::BlurShadowRec blur; local
80 if (paint && paint->getLooper() && paint->getLooper()->asABlurShadow(&blur)) {
82 textShadow->radius = Blur::convertSigmaToRadius(blur.fSigma);
83 textShadow->dx = blur.fOffset.fX;
84 textShadow->dy = blur.fOffset.fY;
85 textShadow->color = blur.fColor;
  /packages/apps/Launcher2/src/com/android/launcher2/
HolographicOutlineHelper.java 52 sExtraThickOuterBlurMaskFilter = new BlurMaskFilter(scale * 12.0f, BlurMaskFilter.Blur.OUTER);
53 sThickOuterBlurMaskFilter = new BlurMaskFilter(scale * 6.0f, BlurMaskFilter.Blur.OUTER);
54 sMediumOuterBlurMaskFilter = new BlurMaskFilter(scale * 2.0f, BlurMaskFilter.Blur.OUTER);
55 sThinOuterBlurMaskFilter = new BlurMaskFilter(scale * 1.0f, BlurMaskFilter.Blur.OUTER);
56 sExtraThickInnerBlurMaskFilter = new BlurMaskFilter(scale * 6.0f, BlurMaskFilter.Blur.NORMAL);
57 sThickInnerBlurMaskFilter = new BlurMaskFilter(scale * 4.0f, BlurMaskFilter.Blur.NORMAL);
58 sMediumInnerBlurMaskFilter = new BlurMaskFilter(scale * 2.0f, BlurMaskFilter.Blur.NORMAL);
121 // calculate the outer blur first
134 throw new RuntimeException("Invalid blur thickness");
148 // calculate the inner blur
    [all...]
Utilities.java 243 sBlurPaint.setMaskFilter(new BlurMaskFilter(5 * density, BlurMaskFilter.Blur.NORMAL));
  /external/libvpx/libvpx/test/
consistency_test.cc 96 void Blur(uint8_t *data, int stride, int taps) {
156 Blur(reference_data_[0], reference_stride_, 3);
158 Blur(reference_data_[1], reference_stride_, 3);
180 // Less of a blur should be less inconsistent than more blur coming off a
181 // a frame with no blur.
187 Blur(reference_data_[1], reference_stride_, 4);
192 Blur(reference_data_[1], reference_stride_, 8);
197 << "Stronger Blur should produce more inconsistency.";
blockiness_test.cc 112 void Blur(uint8_t *data, int stride, int taps) {
189 Blur(reference_data_, reference_stride_, 4);
193 << "A straight blur should decrease blockiness.";
203 Blur(reference_data_, reference_stride_, 4);
207 << "A straight blur should decrease blockiness.";
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
ShadowGenerator.java 23 import android.graphics.BlurMaskFilter.Blur;
60 mBlurPaint.setMaskFilter(new BlurMaskFilter(mIconSize * BLUR_FACTOR, Blur.NORMAL));
95 blurPaint.setMaskFilter(new BlurMaskFilter(shadowRadius, Blur.NORMAL));
HolographicOutlineHelper.java 65 mMediumOuterBlurMaskFilter = new BlurMaskFilter(mediumBlur, BlurMaskFilter.Blur.OUTER);
66 mMediumInnerBlurMaskFilter = new BlurMaskFilter(mediumBlur, BlurMaskFilter.Blur.NORMAL);
69 res.getDimension(R.dimen.blur_size_thin_outline), BlurMaskFilter.Blur.OUTER);
72 mShadowBlurMaskFilter = new BlurMaskFilter(mShadowBitmapShift, BlurMaskFilter.Blur.NORMAL);
109 // calculate the outer blur first
118 // calculate the inner blur
125 // mask out the inner blur
134 // draw the inner and outer blur
  /development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
ShadowLayout.java 22 import android.graphics.BlurMaskFilter.Blur;
72 mShadowPaint.setMaskFilter(new BlurMaskFilter(BLUR_RADIUS, Blur.NORMAL));
  /frameworks/base/libs/hwui/
FontRenderer.cpp 31 #include "utils/Blur.h"
44 // blur inputs smaller than this constant will bypass renderscript
582 uint32_t intRadius = Blur::convertRadiusToInt(radius);
604 // text has non-whitespace, so draw and blur to create the shadow
685 uint32_t intRadius = Blur::convertRadiusToInt(radius);
695 ALOGE("blur RS failed to init");
725 Blur::generateGaussianWeights(gaussian.get(), radius);
728 Blur::horizontal(gaussian.get(), intRadius, *image, scratch.get(), width, height);
729 Blur::vertical(gaussian.get(), intRadius, scratch.get(), *image, width, height);
Android.mk 52 utils/Blur.cpp \
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
FingerPaint.java 47 mBlur = new BlurMaskFilter(8, BlurMaskFilter.Blur.NORMAL);
152 menu.add(0, BLUR_MENU_ID, 0, "Blur").setShortcut('5', 'z');
  /external/skia/samplecode/
SampleStrokePath.cpp 62 SkBlurMask::Blur(&dst, src, radius, SkBlurMask::kNormal_Style);
  /frameworks/base/services/core/java/com/android/server/policy/
IconUtilities.java 69 mBlurPaint.setMaskFilter(new BlurMaskFilter(blurPx, BlurMaskFilter.Blur.NORMAL));
  /frameworks/base/libs/hwui/tests/unit/
BakedOpDispatcherTests.cpp 167 SkScalar sigma = Blur::convertRadiusToSigma(5);
  /external/ImageMagick/www/api/
morphology.php 148 <dd> Blur:{radius},{sigma}[,{angle}] Generates a 1 dimensional or linear gaussian blur, at the angle given (current restricted to orthogonal angles). If a 'radius' is given the kernel is clipped to a width of 2*radius+1. Kernel can be rotated by a 90 degree angle. </dd>
152 <dd> Note that two convolutions with two "Blur" kernels perpendicular to each other, is equivalent to a far larger "Gaussian" kernel with the same sigma value, However it is much faster to apply. This is how the "-blur" operator actually works. </dd>
154 <dd> Comet:{width},{sigma},{angle} Blur in one direction only, much like how a bright object leaves a comet like trail. The Kernel is actually half a gaussian curve, Adding two such blurs in opposite directions produces a Blur Kernel. Angle can be rotated in multiples of 90 degrees. </dd>
    [all...]
  /external/ImageMagick/www/source/
examples.pl 33 print "Adaptive Blur...\n";
35 $example->Label('Adaptive Blur');
82 print "Blur...\n";
84 $example->Label('Blur');
85 $example->Blur('0.0x1.0');
215 print "Gaussian Blur...\n";
217 $example->Label('Gaussian Blur');
272 print "Motion Blur...\n";
274 $example->Label('Motion Blur');
316 print "Radial Blur...\n"
    [all...]
  /developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/
ControllerView.java 200 BlurMaskFilter blurMaskFilter = new BlurMaskFilter(20.0f, BlurMaskFilter.Blur.OUTER);
  /frameworks/base/core/java/android/widget/
StackView.java     [all...]

Completed in 473 milliseconds

1 2