/frameworks/base/core/java/android/text/method/ |
BaseMovementMethod.java | 462 * @param amount The number of characters to scroll by. Must be at least 1. 466 protected boolean scrollLeft(TextView widget, Spannable buffer, int amount) { 470 scrollX = Math.max(scrollX - getCharacterWidth(widget) * amount, minScrollX); 483 * @param amount The number of characters to scroll by. Must be at least 1. 487 protected boolean scrollRight(TextView widget, Spannable buffer, int amount) { 491 scrollX = Math.min(scrollX + getCharacterWidth(widget) * amount, maxScrollX); 504 * @param amount The number of lines to scroll by. Must be at least 1. 508 protected boolean scrollUp(TextView widget, Spannable buffer, int amount) { 518 topLine = Math.max(topLine - amount + 1, 0); 531 * @param amount The number of lines to scroll by. Must be at least 1 [all...] |
/libcore/ojluni/src/main/java/java/time/ |
DayOfWeek.java | 366 int amount = (int) (days % 7); local 367 return ENUMS[(ordinal() + (amount + 7)) % 7];
|
/libcore/ojluni/src/main/java/java/util/ |
GregorianCalendar.java | [all...] |
JapaneseImperialCalendar.java | 356 * Adds the specified (signed) amount of time to the given calendar field, 361 * call is <code>amount</code>, modulo any overflow that has occurred in 377 * @param amount the amount of date or time to be added to the field. 383 public void add(int field, int amount) { 384 // If amount == 0, do nothing even the given field is out of 386 if (amount == 0) { 399 d.addYear(amount); 407 d.addMonth(amount); 414 int era = internalGet(ERA) + amount; [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKInstant.java | 580 public <R extends Temporal> R addTo(R temporal, long amount) { 615 public <R extends Temporal> R addTo(R temporal, long amount) { 691 public void test_plusTemporalAmount(TemporalUnit unit, TemporalAmount amount, int seconds, int nanos) { 693 Instant actual = inst.plus(amount); 707 public void test_badPlusTemporalAmount(TemporalAmount amount) { 709 inst.plus(amount); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SummaryPreference.java | 54 public void setAmount(String amount) { 55 mAmount = amount;
|
/system/core/libpixelflinger/codeflinger/ |
Arm64Assembler.h | 205 uint32_t amount); 207 uint32_t amount); 215 uint32_t Rm, uint32_t shift = 0, uint32_t amount = 0); 217 uint32_t shift = 0, uint32_t amount = 0); 219 uint32_t shift = 0, uint32_t amount = 0, 222 uint32_t Rm, uint32_t shift = 0, uint32_t amount = 0); 224 uint32_t Rm, uint32_t shift = 0, uint32_t amount = 0); 226 uint32_t Rm, uint32_t shift = 0, uint32_t amount = 0);
|
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/ |
VDUBuffer.java | 110 * the amount of lines on the screen 324 * amount of lines to be inserted 441 // copy anything from the topMargin up to the amount of lines inserted 740 * @param amount 743 public void setBufferSize(int amount) { 744 if (amount < height) { 745 amount = height; 747 if (amount < maxBufSize) { 748 char cbuf[][] = new char[amount][width]; 749 int abuf[][] = new int[amount][width] [all...] |
/external/boringssl/src/include/openssl/ |
thread.h | 128 int *num, int amount, int lock_num, const char *file, int line));
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
CalendarICU.java | 45 public void add(int field, int amount) { 47 fIcuCal.add(field, amount); 218 public void roll(int field, int amount) { 220 fIcuCal.roll(field, amount);
|
/external/tpm2/include/tpm2/ |
Platform.h | 370 // >= 0 the returned amount of entropy (bytes) 375 uint32_t amount // amount requested
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
HTTPResponse.java | 38 int amount = in.read(input, offset, input.length - offset); local 39 if (amount < 0) { 44 for (int n = offset; n < offset + amount; n++) { 57 offset += amount;
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
ChronoLocalDate.java | 448 default ChronoLocalDate plus(TemporalAmount amount) { 449 return ChronoLocalDateImpl.ensureValid(getChronology(), Temporal.super.plus(amount)); 471 default ChronoLocalDate minus(TemporalAmount amount) { 472 return ChronoLocalDateImpl.ensureValid(getChronology(), Temporal.super.minus(amount)); 552 * Calculates the amount of time until another date in terms of the specified unit. 554 * This calculates the amount of time between two {@code ChronoLocalDate} 562 * For example, the amount in days between two dates can be calculated 570 * amount = start.until(end, MONTHS); 571 * amount = MONTHS.between(start, end); 590 * @param unit the unit to measure the amount in, not nul [all...] |
ChronoLocalDateImpl.java | 191 public D plus(TemporalAmount amount) { 192 return (D) ChronoLocalDate.super.plus(amount); 218 public D minus(TemporalAmount amount) { 219 return (D) ChronoLocalDate.super.minus(amount);
|
ChronoLocalDateTime.java | 283 default ChronoLocalDateTime<D> plus(TemporalAmount amount) { 284 return ChronoLocalDateTimeImpl.ensureValid(getChronology(), Temporal.super.plus(amount)); 301 default ChronoLocalDateTime<D> minus(TemporalAmount amount) { 302 return ChronoLocalDateTimeImpl.ensureValid(getChronology(), Temporal.super.minus(amount));
|
ChronoZonedDateTime.java | 430 default ChronoZonedDateTime<D> plus(TemporalAmount amount) { 431 return ChronoZonedDateTimeImpl.ensureValid(getChronology(), Temporal.super.plus(amount)); 448 default ChronoZonedDateTime<D> minus(TemporalAmount amount) { 449 return ChronoZonedDateTimeImpl.ensureValid(getChronology(), Temporal.super.minus(amount));
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
shift_test.go | 33 func makeConstShiftFunc(c *Config, amount int64, op Op, typ Type) fun { 42 Valu("c", OpConst64, TypeUInt64, amount, nil),
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
shift_test.go | 33 func makeConstShiftFunc(c *Config, amount int64, op Op, typ Type) fun { 42 Valu("c", OpConst64, TypeUInt64, amount, nil),
|
/system/vold/ |
MoveTask.cpp | 30 #define CONSTRAIN(amount, low, high) ((amount) < (low) ? (low) : ((amount) > (high) ? (high) : (amount)))
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mt/ |
relocs2.s | 11 ;; to a .space, since the amount specified will be treated like
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CompactDecimalFormat.java | 52 * the Unicode CLDR. Because of this, attempting to format a currency amount using the "long" style will produce 259 Amount amount = toAmount(number.doubleValue(), null, null); local 260 return super.formatToCharacterIterator(amount.getQty(), amount.getUnit()); 329 // Compute the scaled amount, prefix, and suffix appropriate for the number's magnitude. 331 Amount amount = toAmount(number, curr, currencyUnit); local 332 Unit unit = amount.getUnit(); 349 super.format(amount.getQty(), toAppendTo, pos) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CompactDecimalFormat.java | 51 * the Unicode CLDR. Because of this, attempting to format a currency amount using the "long" style will produce 267 Amount amount = toAmount(number.doubleValue(), null, null); local 268 return super.formatToCharacterIterator(amount.getQty(), amount.getUnit()); 342 // Compute the scaled amount, prefix, and suffix appropriate for the number's magnitude. 344 Amount amount = toAmount(number, curr, currencyUnit); local 345 Unit unit = amount.getUnit(); 362 super.format(amount.getQty(), toAppendTo, pos) [all...] |
/external/skia/gm/ |
colorfilterimagefilter.cpp | 91 static sk_sp<SkImageFilter> make_blur(float amount, sk_sp<SkImageFilter> input) { 92 return SkBlurImageFilter::Make(amount, amount, std::move(input)); 95 static sk_sp<SkImageFilter> make_brightness(float amount, sk_sp<SkImageFilter> input) { 96 return SkColorFilterImageFilter::Make(cf_make_brightness(amount), std::move(input));
|
/external/sonivox/arm-wt-22k/misc/ |
eas_host.c | 192 void *EAS_HWMemCpy (void *dest, const void *src, EAS_I32 amount) 194 return memcpy(dest,src,(size_t) amount); 205 void *EAS_HWMemSet (void *dest, int val, EAS_I32 amount) 207 return memset(dest,val,(size_t) amount); 218 EAS_I32 EAS_HWMemCmp (const void *s1, const void *s2, EAS_I32 amount) 220 return (EAS_I32) memcmp(s1, s2, (size_t) amount);
|
/frameworks/base/core/java/com/android/internal/util/ |
NotificationColorUtil.java | 502 * @param amount the amount to lighten the color from 0 to 100. This corresponds to the L 507 public static int changeColorLightness(int baseColor, int amount) { 510 result[0] = Math.max(Math.min(100, result[0] + amount), 0); 564 * amount. 568 * @param amount the amount from 1 to 100 how much to modify the color 571 public static int getShiftedColor(int color, int amount) { 575 result[0] = Math.max(0, result[0] - amount); 577 result[0] = Math.min(100, result[0] + amount); [all...] |