Searched refs:multiplier (Results 1 - 25 of 83) sorted by relevance

1234

/external/webkit/Source/WebCore/rendering/style/
H A DStyleCachedImage.cpp37 bool StyleCachedImage::canRender(float multiplier) const
39 return m_image->canRender(multiplier);
52 IntSize StyleCachedImage::imageSize(const RenderObject* /*renderer*/, float multiplier) const
54 return m_image->imageSize(multiplier);
H A DStyleGeneratedImage.cpp37 IntSize StyleGeneratedImage::imageSize(const RenderObject* renderer, float multiplier) const
41 if (multiplier == 1.0f)
44 int width = fixedSize.width() * multiplier;
45 int height = fixedSize.height() * multiplier;
H A DStyleCachedImage.h45 virtual bool canRender(float multiplier) const;
48 virtual IntSize imageSize(const RenderObject*, float multiplier) const;
H A DStyleGeneratedImage.h47 virtual IntSize imageSize(const RenderObject*, float multiplier) const;
H A DStyleImage.h52 virtual bool canRender(float /*multiplier*/) const { return true; }
55 virtual IntSize imageSize(const RenderObject*, float multiplier) const = 0;
/external/replicaisland/src/com/replica/replicaisland/
H A DGravityComponent.java51 public void setGravityMultiplier(float multiplier) { argument
53 mGravity.multiply(multiplier);
/external/chromium/sdch/open-vcdiff/src/
H A Drolling_hash.h196 // Compute multiplier. Concisely, it is:
199 uint32_t multiplier = 1; local
201 multiplier =
202 RollingHashUtil::ModBase(multiplier * RollingHashUtil::kMult);
225 // Iteratively adding the multiplier in this loop is equivalent to
226 // computing (removed_byte * multiplier), and is faster
228 RollingHashUtil::ModBase(byte_times_multiplier + multiplier);
/external/webkit/Source/WebCore/loader/cache/
H A DCachedImage.h50 bool canRender(float multiplier) const { return !errorOccurred() && !imageSize(multiplier).isEmpty(); }
58 // Both of these methods take a zoom multiplier that can be used to increase the natural size of the image by the
60 IntSize imageSize(float multiplier) const; // returns the size of the complete image.
61 IntRect imageRect(float multiplier) const; // The size of the currently decoded portion of the image.
H A DCachedImage.cpp171 IntSize CachedImage::imageSize(float multiplier) const
177 if (multiplier == 1.0f)
183 int width = m_image->size().width() * (m_image->hasRelativeWidth() ? 1.0f : multiplier);
184 int height = m_image->size().height() * (m_image->hasRelativeHeight() ? 1.0f : multiplier);
192 IntRect CachedImage::imageRect(float multiplier) const
198 if (multiplier == 1.0f || (!m_image->hasRelativeWidth() && !m_image->hasRelativeHeight()))
201 float widthMultiplier = (m_image->hasRelativeWidth() ? 1.0f : multiplier);
202 float heightMultiplier = (m_image->hasRelativeHeight() ? 1.0f : multiplier);
/external/ppp/pppd/plugins/pppoatm/
H A Dtext2qos.c28 const char *multiplier; local
44 multiplier = NULL;
45 if (*end && (multiplier = strchr(mult,*end))) {
46 while (multiplier >= mult) {
50 multiplier -= 2;
65 if (multiplier) return RATE_ERROR;
73 else if (multiplier) return RATE_ERROR;
/external/libxslt/libxslt/
H A DnumbersInternals.h60 int multiplier; /* Scaling for percent or permille */ member in struct:_xsltFormatNumberInfo
/external/webkit/Source/WebCore/platform/
H A DScrollAnimatorWin.h46 virtual bool scroll(ScrollbarOrientation, ScrollGranularity, float step, float multiplier);
H A DScrollableArea.cpp58 bool ScrollableArea::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier) argument
90 multiplier = -multiplier;
92 return m_scrollAnimator->scroll(orientation, granularity, step, multiplier);
H A DScrollAnimatorWin.cpp77 bool ScrollAnimatorWin::scroll(ScrollbarOrientation orientation, ScrollGranularity granularity, float step, float multiplier) argument
81 return ScrollAnimator::scroll(orientation, granularity, step, multiplier);
85 float newPos = std::max(std::min(data->m_desiredPos + (step * multiplier), static_cast<float>(m_scrollableArea->scrollSize(orientation))), 0.0f);
101 // increment the desired position by |step| (with |multiplier| == 1) every
162 // with |animationStep| == |step| * |multiplier| despite the actual distance
H A DScrollAnimator.cpp62 bool ScrollAnimator::scroll(ScrollbarOrientation orientation, ScrollGranularity, float step, float multiplier) argument
65 float newPos = std::max(std::min(*currentPos + (step * multiplier), static_cast<float>(m_scrollableArea->scrollSize(orientation))), 0.0f);
H A DScrollAnimator.h58 virtual bool scroll(ScrollbarOrientation, ScrollGranularity, float step, float multiplier);
/external/webkit/Source/WebKit/chromium/public/
H A DWebScrollbar.h87 virtual void scroll(ScrollDirection, ScrollGranularity, float multiplier) = 0;
/external/webkit/Source/WebCore/rendering/
H A DRenderImageResource.h65 virtual IntSize imageSize(float multiplier) const { return m_cachedImage ? m_cachedImage->imageSize(multiplier) : IntSize(); }
H A DRenderImageResourceStyleImage.h57 virtual IntSize imageSize(float multiplier) const { return m_styleImage->imageSize(m_renderer, multiplier); }
/external/oprofile/pp/
H A Dopgprof.cpp144 /* FIXME worth to try more multiplier ? */
145 int multiplier = 2; local
147 multiplier = 8;
149 cverb << vdebug << "opgrof multiplier: " << multiplier << endl;
157 low_pc = (low_pc / multiplier) * multiplier;
159 high_pc = ((high_pc + multiplier - 1) / multiplier) * multiplier;
[all...]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/
H A DGCMBlockCipher.java27 private GCMMultiplier multiplier; field in class:GCMBlockCipher
62 // TODO Consider a static property specifying default multiplier
67 this.multiplier = m;
139 multiplier.init(H);
155 multiplier.multiplyH(this.J0);
264 multiplier.multiplyH(S);
362 multiplier.multiplyH(S);
377 multiplier.multiplyH(Y);
386 // multiplier.multiplyH(S);
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
H A DECPoint.java18 protected ECMultiplier multiplier = null; field in class:ECPoint
91 // * @param multiplier The <code>ECMultiplier</code> to be used to multiply
94 // public void setECMultiplier(ECMultiplier multiplier)
96 // this.multiplier = multiplier;
123 if (this.multiplier == null)
125 this.multiplier = new FpNafMultiplier();
152 return this.multiplier.multiply(this, k, preCompInfo);
322 if (this.multiplier == null)
324 this.multiplier
[all...]
/external/webkit/Source/WebCore/css/
H A DCSSPrimitiveValue.h140 int computeLengthInt(RenderStyle* currStyle, RenderStyle* rootStyle, double multiplier);
142 int computeLengthIntForLength(RenderStyle* currStyle, RenderStyle* rootStyle, double multiplier);
144 short computeLengthShort(RenderStyle* currStyle, RenderStyle* rootStyle, double multiplier);
146 float computeLengthFloat(RenderStyle* currStyle, RenderStyle* rootStyle, double multiplier, bool computingFontSize = false);
147 double computeLengthDouble(RenderStyle* currentStyle, RenderStyle* rootStyle, double multiplier = 1.0, bool computingFontSize = false);
H A DCSSPrimitiveValue.cpp257 int CSSPrimitiveValue::computeLengthInt(RenderStyle* style, RenderStyle* rootStyle, double multiplier) argument
259 return roundForImpreciseConversion<int, INT_MAX, INT_MIN>(computeLengthDouble(style, rootStyle, multiplier));
269 int CSSPrimitiveValue::computeLengthIntForLength(RenderStyle* style, RenderStyle* rootStyle, double multiplier) argument
271 return roundForImpreciseConversion<int, intMaxForLength, intMinForLength>(computeLengthDouble(style, rootStyle, multiplier));
279 short CSSPrimitiveValue::computeLengthShort(RenderStyle* style, RenderStyle* rootStyle, double multiplier) argument
281 return roundForImpreciseConversion<short, SHRT_MAX, SHRT_MIN>(computeLengthDouble(style, rootStyle, multiplier));
289 float CSSPrimitiveValue::computeLengthFloat(RenderStyle* style, RenderStyle* rootStyle, double multiplier, bool computingFontSize) argument
291 return static_cast<float>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize));
294 double CSSPrimitiveValue::computeLengthDouble(RenderStyle* style, RenderStyle* rootStyle, double multiplier, bool computingFontSize) argument
345 if (!applyZoomMultiplier || multiplier
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DColor.cpp266 float multiplier = min(1.0f, v + 0.33f) / v;
268 return Color(static_cast<int>(multiplier * r * scaleFactor),
269 static_cast<int>(multiplier * g * scaleFactor),
270 static_cast<int>(multiplier * b * scaleFactor),
286 float multiplier = max(0.0f, (v - 0.33f) / v);
288 return Color(static_cast<int>(multiplier * r * scaleFactor),
289 static_cast<int>(multiplier * g * scaleFactor),
290 static_cast<int>(multiplier * b * scaleFactor),

Completed in 2548 milliseconds

1234