Searched defs:multiplier (Results 1 - 25 of 49) sorted by relevance

12

/external/glide/library/src/main/java/com/bumptech/glide/
H A DMemoryCategory.java20 private float multiplier; field in class:MemoryCategory
22 MemoryCategory(float multiplier) { argument
23 this.multiplier = multiplier;
27 * Returns the multiplier that should be applied to the initial maximum size of Glide's memory cache and bitmap
31 return multiplier;
/external/skia/src/utils/
H A DSkTextureCompressor_R11EAC.cpp57 // Pack the base codeword, palette, and multiplier into the 64 bits necessary
59 static uint64_t pack_r11eac_block(uint16_t base_cw, uint16_t palette, uint16_t multiplier, argument
62 SkASSERT(multiplier < 16);
66 const uint64_t m = static_cast<uint64_t>(multiplier) << 52;
71 // Given a base codeword, a modifier, and a multiplier, compute the proper
73 static uint16_t compute_r11eac_pixel(int base_cw, int modifier, int multiplier) {
74 int ret = (base_cw * 8 + 4) + (modifier * multiplier * 8);
81 // 2. Choose a multiplier based roughly on the size of the span of block values
96 // Based on the min and max, we can guesstimate a proper multiplier
98 uint16_t multiplier
[all...]
/external/v8/src/base/
H A Ddivision-by-constant.h19 : multiplier(m), shift(s), add(a) {}
22 T multiplier; member in struct:v8::base::MagicNumbersForDivision
28 // Calculate the multiplier and shift for signed division via multiplication.
34 // Calculate the multiplier and shift for unsigned division via multiplication,
/external/replicaisland/src/com/replica/replicaisland/
H A DGravityComponent.java51 public void setGravityMultiplier(float multiplier) { argument
53 mGravity.multiply(multiplier);
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DMemoryCacheAdapter.java24 public void setSizeMultiplier(float multiplier) { argument
H A DMemoryCache.java28 * Adjust the maximum size of the cache by multiplying the original size of the cache by the given multiplier.
31 * If the size multiplier causes the size of the cache to be decreased, items will be evicted until the cache
35 * @param multiplier A size multiplier >= 0.
37 void setSizeMultiplier(float multiplier); argument
/external/glide/library/src/main/java/com/bumptech/glide/util/
H A DLruCache.java30 * Sets a size multiplier that will be applied to the size provided in the constructor to set the new size of the
34 * @param multiplier The multiplier to apply.
36 public void setSizeMultiplier(float multiplier) { argument
37 if (multiplier < 0) {
40 maxSize = Math.round(initialMaxSize * 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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/
H A DDistanceLodCalculator.java60 public DistanceLodCalculator(int patchSize, float multiplier) { argument
62 this.lodMultiplier = multiplier;
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
H A DKeyFactory.java125 private int multiplier; field in class:KeyFactory.Generator
152 public void setHashMultiplier(int multiplier) { argument
153 this.multiplier = multiplier;
205 int hm = (multiplier != 0) ? multiplier : PRIMES[(int)(Math.abs(seed * 13) % PRIMES.length)];
H A DEmitUtils.java390 public static void hash_code(CodeEmitter e, Type type, int multiplier, Customizer customizer) { argument
392 hash_array(e, type, multiplier, customizer);
395 e.push(multiplier);
407 private static void hash_array(final CodeEmitter e, Type type, final int multiplier, final Customizer customizer) { argument
414 hash_code(e, type, multiplier, customizer);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DGCMBlockCipher.java30 private GCMMultiplier multiplier; field in class:GCMBlockCipher
68 // TODO Consider a static property specifying default multiplier
73 this.multiplier = m;
148 multiplier.init(H);
509 multiplier.multiplyH(Y);
515 multiplier.multiplyH(Y);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_blorp.h150 int16_t multiplier; member in struct:brw_blorp_coord_transform_params
H A Dbrw_blorp_blit.cpp532 struct brw_reg multiplier; member in struct:brw_blorp_blit_program::__anon12578
754 ALLOC_REG(x_transform.multiplier);
756 ALLOC_REG(y_transform.multiplier);
1201 brw_MUL(&func, Xp, X, x_transform.multiplier);
1202 brw_MUL(&func, Yp, Y, y_transform.multiplier);
1588 multiplier = 1;
1596 multiplier = -1;
/external/v8/src/ic/
H A Dstub-cache.h148 const int multiplier = sizeof(*table) >> Name::kHashShift; local
150 offset * multiplier);
/external/v8/test/cctest/compiler/
H A Dtest-machine-operator-reducer.cc442 Node* multiplier = R.Constant<int32_t>(1 << n); local
444 multiplier); // x * 2^n => x << n
445 R.CheckFoldBinop<int32_t>(x, R.machine.Word32Shl(), n, multiplier,
/external/icu/icu4c/source/i18n/
H A Ddecimalformatpattern.cpp183 // prematurely. We set the following variables for the multiplier,
191 int32_t multiplier = 1; local
406 if (multiplier != 1) {
415 multiplier = 100;
420 if (multiplier != 1) {
429 multiplier = 1000;
589 out.fMultiplier = multiplier;
/external/icu/icu4c/source/test/intltest/
H A Ddcfmapts.cpp271 int32_t multiplier = 0; local
273 multiplier = pat.getMultiplier();
274 logln((UnicodeString)"Multiplier (should be 8): " + multiplier);
275 if(multiplier != 8) {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECCurve.java38 protected ECMultiplier multiplier; field in class:ECCurve.Config
40 Config(int coord, ECEndomorphism endomorphism, ECMultiplier multiplier) argument
44 this.multiplier = multiplier;
59 public Config setMultiplier(ECMultiplier multiplier) argument
61 this.multiplier = multiplier;
80 c.multiplier = multiplier;
92 protected ECMultiplier multiplier field in class:ECCurve
[all...]
/external/skia/src/pdf/
H A DSkPDFShader.cpp59 SkScalar multiplier[kColorComponents]; local
61 multiplier[i] = (curColor[i] - prevColor[i]) / range;
70 dupInput[i] = dupInput[i + 1] || multiplier[i + 1] != 0;
73 if (!dupInput[0] && multiplier[0] == 0) {
80 if (dupInput[i] && multiplier[i] != 0) {
84 if (multiplier[i] == 0) {
88 if (multiplier[i] != 1) {
89 result->appendScalar(multiplier[i]);
/external/squashfs-tools/squashfs-tools/
H A Dunsquashfs.c163 int multiply_overflow(int a, int multiplier) argument
165 return (INT_MAX / multiplier) < a;
/external/deqp/framework/common/
H A DtcuCompressedTexture.cpp742 const deUint8 multiplier = (deUint8)getBits(src, 52, 55); local
754 dst[dstOffset] = (deUint8)deClamp32((int)baseCodeword + (int)multiplier*modifier, 0, 255);
780 const deInt32 multiplier = (deInt32)getBits(src, 52, 55); local
805 if (multiplier != 0)
806 value = (deInt16)deClamp32(baseCodeword*8 + multiplier*modifier*8, -1023, 1023);
816 if (multiplier != 0)
817 value = (deUint16)deClamp32(baseCodeword*8 + 4 + multiplier*modifier*8, 0, 2047);
/external/deqp/modules/gles31/functional/
H A Des31fCopyImageTests.cpp2021 const int multiplier = smallestCommonMultiple(texelBlockPixelSize.x(), texelBlockPixelSize.y()); local
2022 const int size = (1 + (targetSize.x() / multiplier)) * multiplier;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDecimalFormat.java807 // Apply rounding after multiplier
819 // number. If there is no multiplier, returns the number passed in unchanged.
821 if (multiplier != 1) {
822 return number * multiplier;
1097 // careful of: The multiplier can push a number near MIN_VALUE or MAX_VALUE
1100 if (multiplier != 1) {
1103 long cutoff = Long.MIN_VALUE / multiplier;
1104 tooBig = (number <= cutoff); // number == cutoff can only happen if multiplier == -1
1106 long cutoff = Long.MAX_VALUE / multiplier;
1118 number *= multiplier;
5554 private int multiplier = 1; field in class:DecimalFormat
[all...]
/external/v8/src/arm/
H A Dlithium-arm.h811 // Instruction for computing multiplier * multiplicand + addend.
814 LMultiplyAddD(LOperand* addend, LOperand* multiplier, argument
817 inputs_[1] = multiplier;
822 LOperand* multiplier() { return inputs_[1]; } function in class:v8::internal::FINAL
829 // Instruction for computing minuend - multiplier * multiplicand.
832 LMultiplySubD(LOperand* minuend, LOperand* multiplier, argument
835 inputs_[1] = multiplier;
840 LOperand* multiplier() { return inputs_[1]; } function in class:v8::internal::FINAL

Completed in 1197 milliseconds

12