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

1 2

  /cts/tests/tests/graphics/src/android/graphics/cts/
BlurMaskFilter_BlurTest.java 20 import android.graphics.BlurMaskFilter.Blur;
25 assertEquals(Blur.NORMAL, Blur.valueOf("NORMAL"));
26 assertEquals(Blur.SOLID, Blur.valueOf("SOLID"));
27 assertEquals(Blur.OUTER, Blur.valueOf("OUTER"));
28 assertEquals(Blur.INNER, Blur.valueOf("INNER"));
32 Blur[] bulr = Blur.values()
    [all...]
BlurMaskFilterTest.java 25 import android.graphics.BlurMaskFilter.Blur;
38 BlurMaskFilter filter = new BlurMaskFilter(RADIUS, Blur.NORMAL);
55 // 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/skia/src/animator/
SkDrawBlur.h 15 DECLARE_DRAW_MEMBER_INFO(Blur);
SkDisplayType.cpp 102 CASE_DRAW_NEW(Blur);
256 CASE_GET_DRAW_INFO(Blur);
422 DRAW_NAME("blur", SkType_Blur),
  /external/ImageMagick/PerlMagick/demo/
shadow-text.pl 11 $image->Blur('0x1');
  /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>
107 SkDrawLooper::BlurShadowRec blur; local
108 if (paint && paint->getLooper() && paint->getLooper()->asABlurShadow(&blur)) {
110 textShadow->radius = Blur::convertSigmaToRadius(blur.fSigma);
111 textShadow->dx = blur.fOffset.fX;
112 textShadow->dy = blur.fOffset.fY;
113 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 102 void Blur(uint8_t *data, int stride, int taps) {
163 Blur(reference_data_[0], reference_stride_, 3);
165 Blur(reference_data_[1], reference_stride_, 3);
187 // Less of a blur should be less inconsistent than more blur coming off a
188 // a frame with no blur.
194 Blur(reference_data_[1], reference_stride_, 4);
199 Blur(reference_data_[1], reference_stride_, 8);
204 << "Stronger Blur should produce more inconsistency.";
blockiness_test.cc 115 void Blur(uint8_t *data, int stride, int taps) {
192 Blur(reference_data_, reference_stride_, 4);
196 << "A straight blur should decrease blockiness.";
206 Blur(reference_data_, reference_stride_, 4);
210 << "A straight blur should decrease blockiness.";
  /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));
  /packages/apps/Launcher3/src/com/android/launcher3/
HolographicOutlineHelper.java 58 mMediumOuterBlurMaskFilter = new BlurMaskFilter(mediumBlur, BlurMaskFilter.Blur.OUTER);
59 mMediumInnerBlurMaskFilter = new BlurMaskFilter(mediumBlur, BlurMaskFilter.Blur.NORMAL);
62 res.getDimension(R.dimen.blur_size_thin_outline), BlurMaskFilter.Blur.OUTER);
65 res.getDimension(R.dimen.blur_size_click_shadow), BlurMaskFilter.Blur.NORMAL);
111 // calculate the outer blur first
120 // calculate the inner blur
127 // mask out the inner blur
136 // draw the inner and outer blur
  /frameworks/base/libs/hwui/
FontRenderer.cpp 27 #include "utils/Blur.h"
52 // blur inputs smaller than this constant will bypass renderscript
582 uint32_t intRadius = Blur::convertRadiusToInt(radius);
609 // text has non-whitespace, so draw and blur to create the shadow
690 uint32_t intRadius = Blur::convertRadiusToInt(radius);
701 ALOGE("blur RS failed to init");
732 Blur::generateGaussianWeights(gaussian.get(), radius);
735 Blur::horizontal(gaussian.get(), intRadius, *image, scratch.get(), width, height);
736 Blur::vertical(gaussian.get(), intRadius, scratch.get(), *image, width, height);
OpenGLRenderer.h 44 #include <utils/Blur.h>
  /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 63 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 168 SkScalar sigma = Blur::convertRadiusToSigma(5);
  /external/opencv3/modules/cudafilters/test/
test_filters.cpp 71 // Blur
73 PARAM_TEST_CASE(Blur, cv::cuda::DeviceInfo, cv::Size, MatType, KSize, Anchor, BorderType, UseRoi)
97 CUDA_TEST_P(Blur, Accuracy)
107 cv::blur(src, dst_gold, ksize, anchor, borderType);
112 INSTANTIATE_TEST_CASE_P(CUDA_Filters, Blur, testing::Combine(
  /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/opencv3/modules/cudafilters/perf/
perf_filters.cpp 50 // Blur
54 PERF_TEST_P(Sz_Type_KernelSz, Blur,
83 TEST_CYCLE() cv::blur(src, dst, cv::Size(ksize, ksize));
  /external/opencv3/modules/imgproc/perf/opencl/
perf_filters.cpp 58 ///////////// Blur ////////////////////////
62 OCL_PERF_TEST_P(BlurFixture, Blur,
75 OCL_TEST_CYCLE() cv::blur(src, dst, Size(ksize, ksize), Point(-1, -1), bordertype);

Completed in 601 milliseconds

1 2