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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/support/design/base/android/support/design/widget/
MathUtils.java 21 static int constrain(int amount, int low, int high) {
22 return amount < low ? low : (amount > high ? high : amount);
25 static float constrain(float amount, float low, float high) {
26 return amount < low ? low : (amount > high ? high : amount);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
AtomicJavaBean.java 21 private float amount; field in class:AtomicJavaBean
25 return amount;
28 public void setAmount(float amount) {
29 this.amount = amount;
BigDecimalJavaBean.java 22 private float amount; field in class:BigDecimalJavaBean
33 return amount;
36 public void setAmount(float amount) {
37 this.amount = amount;
IncompleteJavaBean.java 21 private float amount; field in class:IncompleteJavaBean
29 amount += number;
  /external/tpm2/
Entropy.c 36 // >= 0 the returned amount of entropy (bytes)
41 uint32_t amount // amount requested
46 if(amount == 0)
58 if(amount > sizeof(rndNum))
59 amount = sizeof(rndNum);
60 memcpy(entropy, &rndNum, amount);
62 return (int32_t)amount;
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/
RotateByAction.java 22 private float amount; field in class:RotateByAction
25 target.rotateBy(amount * percentDelta);
29 return amount;
33 amount = rotationAmount;
  /frameworks/rs/driver/runtime/arch/
clamp.c 25 extern T __attribute__((overloadable)) clamp(T amount, T low, T high) { \
26 return amount < low ? low : (amount > high ? high : amount); \
46 extern T##2 __attribute__((overloadable)) clamp(T##2 amount, T##2 low, T##2 high) { \
48 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); \
49 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y);
    [all...]
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicInlines.h 85 static inline int4 clamp(int4 amount, int low, int high) {
87 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x);
88 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y);
89 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z)
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mturk/
price.py 24 def __init__(self, amount=0.0, currency_code='USD'):
25 self.amount = amount
33 return str(self.amount)
39 if name == 'Amount':
40 self.amount = float(value)
47 return {'%s.%d.Amount'%(label, ord) : str(self.amount),
  /external/icu/icu4c/source/i18n/
curramt.cpp 20 CurrencyAmount::CurrencyAmount(const Formattable& amount, const UChar* isoCode,
22 Measure(amount, new CurrencyUnit(isoCode, ec), ec) {
25 CurrencyAmount::CurrencyAmount(double amount, const UChar* isoCode,
27 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) {
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/aarch64/
movi.s 48 .macro all_8bit_imm_movi_sft dst, from=0, to=255, shift_op, amount
49 movi \dst, \from, \shift_op \amount
51 all_8bit_imm_movi_sft \dst, "(\from+1)", \to, \shift_op, \amount
56 // MOVI <Vd>.<T>, #<imm8>, MSL #<amount>
58 .irp amount, 8, 16
61 all_8bit_imm_movi_sft v7.\T, 0, 63, MSL, \amount
62 all_8bit_imm_movi_sft v7.\T, 64, 127, MSL, \amount
63 all_8bit_imm_movi_sft v7.\T, 128, 191, MSL, \amount
64 all_8bit_imm_movi_sft v7.\T, 192, 255, MSL, \amount
70 // MOVI <Vd>.<T>, #<imm8> {, LSL #<amount>}
    [all...]
addsub.s 27 .macro adjust_rm op, rd, rn, rm_r, rm_n, extend, amount
34 .ifb \amount
37 \op \rd, \rn, W\()\rm_n, \extend #\amount
45 .ifb \amount
48 \op \rd, \rn, \rm_r\()\rm_n, \extend #\amount
55 .macro do_addsub_ext type, op, Rn, reg, extend, amount
61 .ifb \amount
64 adjust_rm \op, \reg\()16, \Rn, \reg, 1, \extend, \amount
73 .ifb \amount
76 adjust_rm \op, \reg\()ZR, \Rn, \reg, 1, \extend, \amount
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
NotificationUtils.java 43 public static float interpolate(float start, float end, float amount) {
44 return start * (1.0f - amount) + end * amount;
47 public static int interpolateColors(int startColor, int endColor, float amount) {
49 (int) interpolate(Color.alpha(startColor), Color.alpha(endColor), amount),
50 (int) interpolate(Color.red(startColor), Color.red(endColor), amount),
51 (int) interpolate(Color.green(startColor), Color.green(endColor), amount),
52 (int) interpolate(Color.blue(startColor), Color.blue(endColor), amount));
  /external/snakeyaml/src/test/java/examples/
SelectiveConstructorTest.java 58 .load("- 1\n- 2\n- !!examples.MyPersistentObject {amount: 222, id: persistent}");
69 private int amount; field in class:MyPersistentObject
73 this.amount = 222;
76 public MyPersistentObject(String id, int amount) {
78 this.amount = amount;
90 return amount;
93 public void setAmount(int amount) {
94 this.amount = amount;
    [all...]
  /dalvik/dx/src/com/android/dx/io/instructions/
BaseCodeCursor.java 54 * Advance the cursor by the indicated amount.
56 protected final void advance(int amount) {
57 cursor += amount;
  /external/dexmaker/src/dx/java/com/android/dx/io/instructions/
BaseCodeCursor.java 56 * Advance the cursor by the indicated amount.
58 protected final void advance(int amount) {
59 cursor += amount;
  /frameworks/base/core/jni/android/graphics/
Utils.cpp 53 ssize_t amount; local
60 // we want to return amount that was skipped
72 amount = newOffset - oldOffset;
74 amount = fAsset->read(buffer, size);
75 if (amount <= 0) {
76 SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount);
80 if (amount < 0) {
81 amount = 0;
83 return amount;
  /external/icu/icu4c/source/i18n/unicode/
curramt.h 23 * \brief C++ API: Currency Amount Object.
30 * A currency together with a numeric amount, such as 200 USD.
38 * Construct an object with the given numeric amount and the given
40 * @param amount a numeric object; amount.isNumeric() must be TRUE
43 * @param ec input-output error code. If the amount or the isoCode
47 CurrencyAmount(const Formattable& amount, const UChar* isoCode,
51 * Construct an object with the given numeric amount and the given
53 * @param amount the amount of the given currenc
    [all...]
  /external/libchrome/base/metrics/
histogram_flattener.h 38 // argument |amount| is the non-zero discrepancy.
39 virtual void InconsistencyDetectedInLoggedCount(int amount) = 0;
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-gwt/src/com/badlogic/gdx/controllers/gwt/
GwtControllerEvent.java 37 public float amount; field in class:GwtControllerEvent
  /external/libgdx/gdx/src/com/badlogic/gdx/
InputAdapter.java 53 public boolean scrolled (int amount) {
  /external/zopfli/src/zopfli/
zlib_container.c 36 size_t amount = size > sums_overflow ? sums_overflow : size; local
37 size -= amount;
38 while (amount > 0) {
41 amount--;
  /frameworks/base/core/java/android/util/
MathUtils.java 38 public static int constrain(int amount, int low, int high) {
39 return amount < low ? low : (amount > high ? high : amount);
42 public static long constrain(long amount, long low, long high) {
43 return amount < low ? low : (amount > high ? high : amount);
46 public static float constrain(float amount, float low, float high) {
47 return amount < low ? low : (amount > high ? high : amount)
    [all...]
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/lns/
lns-common-1-alt.d 13 \[0x.*\] Advance PC by fixed size amount .* to .*
17 \[0x.*\] Advance PC by fixed size amount .* to .*
22 \[0x.*\] Advance PC by fixed size amount .* to .*
27 \[0x.*\] Advance PC by fixed size amount .* to .*
31 \[0x.*\] Advance PC by fixed size amount .* to .*
35 \[0x.*\] Advance PC by fixed size amount .* to .*
39 \[0x.*\] Advance PC by fixed size amount .* to .*
41 \[0x.*\] Advance PC by fixed size amount .* to .*
  /external/curl/lib/
gopher.c 85 ssize_t amount, k; local
121 result = Curl_write(conn, sockfd, sel, k, &amount);
123 result = Curl_client_write(conn, CLIENTWRITE_HEADER, sel, amount);
128 k -= amount;
129 sel += amount;

Completed in 6375 milliseconds

1 2 3 4 5 6 7 8 91011>>