/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
OverScrollerSGV.java | 443 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && 444 Math.signum(velocityY) == Math.signum(oldVelocityY)) { 540 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && 541 Math.signum(yvel) == Math.signum(dy); 771 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
OverScroller.java | 441 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && 442 Math.signum(velocityY) == Math.signum(oldVelocityY)) { 538 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && 539 Math.signum(yvel) == Math.signum(dy); 772 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 200 if (bigInt.signum() == -1) 205 if ((floorBigInt.signum() == -1) && (!(fract.equals(ECConstants.ZERO))))
|
/external/chromium_org/base/process/ |
launch_posix.cc | 150 for (int signum = 1; ; ++signum) { 152 int sigaction_get_ret = sys_rt_sigaction(signum, NULL, &act); 159 RAW_CHECK(signum == kNumberOfSignals + 1); 169 if (signum != SIGSTOP && signum != SIGKILL) { 172 if (sys_rt_sigaction(signum, &act, NULL)) { 178 if (sys_rt_sigaction(signum, NULL, &act) || act.k_sa_restorer) {
|
/external/guava/guava/src/com/google/common/math/ |
DoubleUtils.java | 144 return x.signum() * Double.POSITIVE_INFINITY; 176 bits |= x.signum() & SIGN_MASK;
|
IntMath.java | 266 * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise. 268 int signum = 1 | ((p ^ q) >> (Integer.SIZE - 1)); local 281 increment = signum > 0; 284 increment = signum < 0; 302 return increment ? div + signum : div;
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
UnsignedBytesTest.java | 92 Math.signum(UnsignedBytes.compare(x, y)), 93 Math.signum(Ints.compare(i, j)));
|
UnsignedIntsTest.java | 56 assertEquals(Integer.signum(cmpAsLongs), Integer.signum(cmpAsUInt));
|
/libcore/luni/src/main/java/java/security/spec/ |
EllipticCurve.java | 84 if (this.a.signum() < 0 || this.a.compareTo(p) >= 0) { 87 if (this.b.signum() < 0 || this.b.compareTo(p) >= 0) {
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
AlbumDataAdapter.java | 139 return (int) Math.signum(typeA - typeB); 156 return (int) Math.signum(b.updated - a.updated);
|
/system/core/liblog/tests/ |
liblog_benchmark.cpp | 102 static void caught_latency(int /*signum*/) 196 static void caught_delay(int /*signum*/)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
MathTest.java | [all...] |
/cts/apps/CtsVerifier/assets/scripts/power_monitors/ |
monsoon.py | 40 for signum in [signal.SIGCONT]: 41 signal.signal(signum, signal.SIG_IGN) 87 for signum in [signal.SIGALRM, signal.SIGHUP, signal.SIGINT, 92 signal.signal(signum, self.handle_signal) 183 def handle_signal( self, signum, frame): 188 self.log("Got signal %d"%signum) 189 sys.exit("\nGot signal %d\n"%signum)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerConvertTest.java | 669 assertEquals("incorrect sign", 1, aNumber.signum()); 684 assertEquals("incorrect sign", -1, aNumber.signum()); 699 assertEquals("incorrect sign", 1, aNumber.signum()); 714 assertEquals("incorrect sign", -1, aNumber.signum()); 729 assertEquals("incorrect sign", 1, aNumber.signum()); 745 assertEquals("incorrect sign", 1, aNumber.signum()); 760 assertEquals("incorrect sign", -1, aNumber.signum()); 776 assertEquals("incorrect sign", -1, aNumber.signum()); 790 assertEquals("incorrect sign", 0, aNumber.signum());
|
/external/chromium_org/build/android/pylib/ |
screenshot.py | 74 self._device.KillAll('screenrecord', signum=signal.SIGINT)
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
linux_syscall_support.h | [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
linux_syscall_support.h | [all...] |
/external/chromium_org/third_party/webrtc/base/ |
macsocketserver.h | 45 virtual bool SetPosixSignalHandler(int signum, void (*handler)(int));
|
/external/compiler-rt/lib/asan/ |
asan_interceptors.h | 94 DECLARE_REAL(int, sigaction, int signum, const struct sigaction *act,
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_linux_libcdep.cc | 66 real_sigaction(int signum, const void *act, void *oldact); 68 int internal_sigaction(int signum, const void *act, void *oldact) { 70 return real_sigaction(signum, act, oldact); 71 return sigaction(signum, (struct sigaction *)act, (struct sigaction *)oldact);
|
/external/fio/os/ |
os-mac.h | 55 static void sig_alrm(int signum)
|
/external/ltrace/ |
libltrace.c | 160 exiting && ev->e_un.signum == SIGSTOP) {
|
/external/proguard/src/proguard/gui/ |
boilerplate.pro | 146 public static double signum(double); 147 public static float signum(float); 200 public static int signum(int); 226 public static int signum(long);
|
default.pro | 85 public static double signum(double); 86 public static float signum(float); 137 public static int signum(int); 162 public static int signum(long);
|
/libcore/luni/src/test/java/libcore/java/math/ |
BigDecimalTest.java | 88 assertEquals(0, a.subtract(b).signum());
|