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

1 2 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLSrcsetParser.h 45 ImageCandidate(const String& source, unsigned start, unsigned length, float scaleFactor)
47 , m_scaleFactor(scaleFactor)
56 inline float scaleFactor() const
  /external/chromium_org/third_party/WebKit/Source/core/events/
MouseRelatedEvent.cpp 51 float scaleFactor = frame->pageZoomFactor();
52 return LayoutSize(frameView->scrollX() / scaleFactor, frameView->scrollY() / scaleFactor);
72 float scaleFactor = 1 / frame->pageZoomFactor();
73 if (scaleFactor != 1.0f) {
74 adjustedPageLocation.scale(scaleFactor, scaleFactor);
75 scrollPosition.scale(scaleFactor, scaleFactor);
124 float scaleFactor = pageZoomFactor(this)
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
ex_ctrl.cpp 161 Word16 testEnergy, scaleFactor, avgEnergy, prevEnergy;
190 /* scaleFactor=avgEnergy/excEnergy in Q0 (const 29 below)*/
201 scaleFactor = extract_l(t0);
203 /* test if scaleFactor > 3.0 */
204 if (carefulFlag != 0 && (scaleFactor > 3072))
206 scaleFactor = 3072;
209 /* scale the excitation by scaleFactor */
212 t0 = L_mult(scaleFactor, excitation[i], pOverflow);
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSImageSetValue.h 57 float scaleFactor;
72 static inline bool compareByScaleFactor(ImageWithScale first, ImageWithScale second) { return first.scaleFactor < second.scaleFactor; }
CSSImageSetValue.cpp 66 float scaleFactor = toCSSPrimitiveValue(scaleFactorValue)->getFloatValue();
70 image.scaleFactor = scaleFactor;
85 if (image.scaleFactor >= m_scaleFactor)
108 m_imageSet = StyleFetchedImageSet::create(cachedImage.get(), image.scaleFactor, this);
  /external/jmonkeyengine/engine/src/core/com/jme3/input/event/
TouchEvent.java 69 * Two finger scale event start, fields: posX/posY = getFocusX/Y, scaleFactor, scaleSpan
73 * Two finger scale event, fields: posX/posY = getFocusX/Y, scaleFactor, scaleSpan
77 * Two finger scale event end, fields: posX/posY = getFocusX/Y, scaleFactor, scaleSpan
104 private float scaleFactor;
128 scaleFactor = 0;
195 return scaleFactor;
198 public void setScaleFactor(float scaleFactor) {
199 this.scaleFactor = scaleFactor;
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Mandelbrot.java 52 float scaleFactor = mScript.get_scaleFactor();
54 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f);
65 float scaleFactor = mScript.get_scaleFactor();
67 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f);
78 float scaleFactor = 4.f - (3.96f * (progress / 100.f));
79 mScript.set_scaleFactor(scaleFactor);
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Mandelbrot.java 46 float scaleFactor = mScript.get_scaleFactor();
48 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f);
59 float scaleFactor = mScript.get_scaleFactor();
61 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f);
72 float scaleFactor = 4.f - (3.96f * (progress / 100.f));
73 mScript.set_scaleFactor(scaleFactor);
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Mandelbrot.java 52 float scaleFactor = mScript.get_scaleFactor();
54 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f);
65 float scaleFactor = mScript.get_scaleFactor();
67 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f);
78 float scaleFactor = 4.f - (3.96f * (progress / 100.f));
79 mScript.set_scaleFactor(scaleFactor);
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
omxVCM4P2_EncodeMV.c 91 OMX_U8 scaleFactor, index;
126 scaleFactor = 1 << (fcodeForward -1);
153 mvHorResidual = ( armAbs(diffMV.dx) - 1) % scaleFactor;
154 mvHorData = (armAbs(diffMV.dx) - mvHorResidual + (scaleFactor - 1))
155 / scaleFactor;
170 mvVerResidual = ( armAbs(diffMV.dy) - 1) % scaleFactor;
171 mvVerData = (armAbs(diffMV.dy) - mvVerResidual + (scaleFactor - 1))
172 / scaleFactor;
omxVCM4P2_DecodePadMV_PVOP.c 95 OMX_S8 scaleFactor, index;
133 scaleFactor = 1 << (fcodeForward -1);
134 high = ( 32 * scaleFactor) - 1;
135 low = ( (-32) * scaleFactor);
136 range = ( 64 * scaleFactor);
168 if ( (scaleFactor == 1) || (mvHorData == 0) )
182 if ( (scaleFactor == 1) || (mvVerData == 0) )
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
GraphicsContext3DImagePacking.cpp 431 const float scaleFactor = 1.0f / 255.0f;
433 destination[0] = source[0] * scaleFactor;
434 destination[1] = source[1] * scaleFactor;
435 destination[2] = source[2] * scaleFactor;
436 destination[3] = source[3] * scaleFactor;
444 const float scaleFactor = 1.0f / 255.0f;
446 destination[0] = source[2] * scaleFactor;
447 destination[1] = source[1] * scaleFactor;
448 destination[2] = source[0] * scaleFactor;
449 destination[3] = source[3] * scaleFactor;
    [all...]
Color.cpp 101 const double scaleFactor = nextafter(256.0, 0.0);
104 int greyValue = static_cast<int>(lightness * scaleFactor);
105 return makeRGBA(greyValue, greyValue, greyValue, static_cast<int>(alpha * scaleFactor));
111 return makeRGBA(static_cast<int>(calcHue(temp1, temp2, hue + 1.0 / 3.0) * scaleFactor),
112 static_cast<int>(calcHue(temp1, temp2, hue) * scaleFactor),
113 static_cast<int>(calcHue(temp1, temp2, hue - 1.0 / 3.0) * scaleFactor),
114 static_cast<int>(alpha * scaleFactor));
276 const float scaleFactor = nextafterf(256.0f, 0.0f);
289 return Color(static_cast<int>(multiplier * r * scaleFactor),
290 static_cast<int>(multiplier * g * scaleFactor),
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/audio/
MultiChannelResampler.h 43 MultiChannelResampler(double scaleFactor, unsigned numberOfChannels);
SincResampler.h 42 // scaleFactor == sourceSampleRate / destinationSampleRate
45 SincResampler(double scaleFactor, unsigned kernelSize = 32, unsigned numberOfKernelOffsets = 32);
47 // Processes numberOfSourceFrames from source to produce numberOfSourceFrames / scaleFactor frames in destination.
MultiChannelResampler.cpp 95 MultiChannelResampler::MultiChannelResampler(double scaleFactor, unsigned numberOfChannels)
100 m_kernels.append(adoptPtr(new SincResampler(scaleFactor)));
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGTransformDistance.cpp 85 SVGTransformDistance SVGTransformDistance::scaledDistance(float scaleFactor) const
93 return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform());
95 return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform(m_transform).scale(scaleFactor));
98 newTransform.setE(m_transform.e() * scaleFactor);
99 newTransform.setF(m_transform.f() * scaleFactor);
    [all...]
SVGTransformDistance.h 34 SVGTransformDistance scaledDistance(float scaleFactor) const;
  /development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
BitmapUtils.java 93 float scaleFactor = (float) maxDimension / width;
95 scaledHeight = (int) (scaleFactor * height);
97 float scaleFactor = (float) maxDimension / height;
98 scaledWidth = (int) (scaleFactor * width);
  /external/chromium_org/chrome/renderer/resources/extensions/
image_util.js 25 var scaleFactor = 1;
27 scaleFactor = imageSpec.width / img.width;
31 if (heightScale < scaleFactor)
32 scaleFactor = heightScale;
35 canvas.width = img.width * scaleFactor;
36 canvas.height = img.height * scaleFactor;
  /external/chromium_org/third_party/WebKit/Source/core/dom/
Touch.cpp 70 float scaleFactor = frame->pageZoomFactor();
71 float x = pageX * scaleFactor;
72 float y = pageY * scaleFactor;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterSharpen.java 63 protected void createFilter(android.content.res.Resources res, float scaleFactor,
71 float scaleFactor = getEnvironment().getScaleFactor();
72 float p1 = mParameters.getValue() * scaleFactor;
ImageFilterChanSat.java 67 protected void createFilter(android.content.res.Resources res, float scaleFactor,
69 createFilter(res, scaleFactor, quality, getInPixelsAllocation());
73 protected void createFilter(android.content.res.Resources res, float scaleFactor,
90 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) {
96 Bitmap ret = super.apply(bitmap, scaleFactor, quality);
  /development/samples/CrossCompatibility/src/com/example/android/touchexample/
TouchExampleView.java 73 public void onScale(float scaleFactor) {
74 mScaleFactor *= scaleFactor;
  /external/replicaisland/src/com/replica/replicaisland/
TimeSystem.java 116 public void appyScale(float scaleFactor, float duration, boolean ease) {
117 mTargetScale = scaleFactor;

Completed in 1240 milliseconds

1 2 3 4 5 6