HomeSort by relevance Sort by last modified time
    Searched refs:toIntExact (Results 1 - 24 of 24) sorted by null

  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/
WelcomeActivity.java 25 import static java.lang.Math.toIntExact;
41 int secondsRemaining = toIntExact(millisUntilFinished / 1000);
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/
WelcomeActivity.java 25 import static java.lang.Math.toIntExact;
41 int secondsRemaining = toIntExact(millisUntilFinished / 1000);
  /developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/
WelcomeActivity.kt 25 import java.lang.Math.toIntExact
36 val secondsRemaining = toIntExact(millisUntilFinished / 1000)
  /developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/
WelcomeActivity.kt 25 import java.lang.Math.toIntExact
36 val secondsRemaining = toIntExact(millisUntilFinished / 1000)
  /libcore/ojluni/src/main/java/java/time/
Period.java 270 years = Math.toIntExact(unitAmount);
272 months = Math.toIntExact(unitAmount);
274 days = Math.toIntExact(unitAmount);
644 return create(Math.toIntExact(Math.addExact(years, yearsToAdd)), months, days);
664 return create(years, Math.toIntExact(Math.addExact(months, monthsToAdd)), days);
684 return create(years, months, Math.toIntExact(Math.addExact(days, daysToAdd)));
    [all...]
LocalDate.java     [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
StrictMathTest.java 131 assertEquals((int) a, StrictMath.toIntExact(a));
132 assertEquals(a, StrictMath.toIntExact(a)); // Is not exact, should throw AE.
MathTest.java 203 assertEquals((int) a, Math.toIntExact(a));
204 assertEquals(a, Math.toIntExact(a)); // Is not exact, should throw AE.
  /libcore/ojluni/src/main/java/java/lang/
StrictMath.java 68 * {@code subtractExact}, {@code multiplyExact}, and {@code toIntExact}
809 * @see Math#toIntExact(long)
    [all...]
Math.java 95 * {@code subtractExact}, {@code multiplyExact}, and {@code toIntExact}
    [all...]
  /frameworks/base/core/java/android/util/apk/
ApkVerityBuilder.java 277 alternativeCentralDirOffset.putInt(Math.toIntExact(signatureInfo.apkSigningBlockOffset));
401 buffer.putInt(Math.toIntExact(signingBlockOffset)); // databytes
440 + Math.toIntExact(levelSize.get(levelSize.size() - i - 1));
  /tools/apksig/src/main/java/com/android/apksig/internal/util/
ChainedDataSource.java 89 mSources[i].copyTo(offset, Math.toIntExact(sizeToCopy), buffer);
VerityTreeBuilder.java 158 levelOffset[i + 1] = levelOffset[i] + Math.toIntExact(
  /libcore/ojluni/src/test/java/time/tck/java/time/chrono/
CopticDate.java 287 int newYear = Math.toIntExact(Math.floorDiv(calcEm, 13));
324 return Period.of(Math.toIntExact(years), months, days);
  /libcore/ojluni/src/main/java/java/time/chrono/
ChronoPeriodImpl.java 237 return new ChronoPeriodImpl(chrono, Math.toIntExact(splitYears), splitMonths, days);
HijrahDate.java 602 return getChronology().period(Math.toIntExact(years), months, days);
AbstractChronology.java 521 yoe = Math.toIntExact(yoeLong);
    [all...]
  /frameworks/base/core/java/android/os/
RecoverySystem.java     [all...]
  /libcore/ojluni/src/main/java/java/time/temporal/
WeekFields.java     [all...]
  /frameworks/base/core/java/android/text/
SpannableStringBuilder.java 554 final int offset = Math.toIntExact(diff * newLen / origLen);
563 final int offset = Math.toIntExact(diff * newLen / origLen);
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKLocalDate.java     [all...]
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/current/
core.jar 
  /prebuilts/sdk/tools/
jack-launcher.jar 

Completed in 459 milliseconds