OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Rational
(Results
1 - 13
of
13
) sorted by null
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
Rational.java
20
* The
rational
data type of EXIF tag. Contains a pair of longs representing the
21
* numerator and denominator of a
Rational
number.
23
public class
Rational
{
29
* Create a
Rational
with a given numerator and denominator.
34
public
Rational
(long nominator, long denominator) {
40
* Create a copy of a
Rational
.
42
public
Rational
(
Rational
r) {
48
* Gets the numerator of the
rational
.
55
* Gets the denominator of the
rational
[
all
...]
/packages/apps/Camera2/src/com/android/camera/exif/
Rational.java
20
* The
rational
data type of EXIF tag. Contains a pair of longs representing the
21
* numerator and denominator of a
Rational
number.
23
public class
Rational
{
29
* Create a
Rational
with a given numerator and denominator.
34
public
Rational
(long nominator, long denominator) {
40
* Create a copy of a
Rational
.
42
public
Rational
(
Rational
r) {
48
* Gets the numerator of the
rational
.
55
* Gets the denominator of the
rational
[
all
...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
Rational.java
20
* The
rational
data type of EXIF tag. Contains a pair of longs representing the
21
* numerator and denominator of a
Rational
number.
23
public class
Rational
{
29
* Create a
Rational
with a given numerator and denominator.
34
public
Rational
(long nominator, long denominator) {
40
* Create a copy of a
Rational
.
42
public
Rational
(
Rational
r) {
48
* Gets the numerator of the
rational
.
55
* Gets the denominator of the
rational
[
all
...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
Rational.java
20
* The
rational
data type of EXIF tag. Contains a pair of longs representing the
21
* numerator and denominator of a
Rational
number.
23
public class
Rational
{
29
* Create a
Rational
with a given numerator and denominator.
34
public
Rational
(long nominator, long denominator) {
40
* Create a copy of a
Rational
.
42
public
Rational
(
Rational
r) {
48
* Gets the numerator of the
rational
.
55
* Gets the denominator of the
rational
[
all
...]
/packages/apps/Mms/src/com/android/mms/exif/
Rational.java
20
* The
rational
data type of EXIF tag. Contains a pair of longs representing the
21
* numerator and denominator of a
Rational
number.
23
public class
Rational
{
29
* Create a
Rational
with a given numerator and denominator.
34
public
Rational
(long nominator, long denominator) {
40
* Create a copy of a
Rational
.
42
public
Rational
(
Rational
r) {
48
* Gets the numerator of the
rational
.
55
* Gets the denominator of the
rational
[
all
...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_abstract_numbers.py
5
from numbers import Complex, Real,
Rational
, Integral
30
self.assertFalse(issubclass(float,
Rational
))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_abstract_numbers.py
5
from numbers import Complex, Real,
Rational
, Integral
30
self.assertFalse(issubclass(float,
Rational
))
/frameworks/base/core/java/android/util/
Rational.java
24
* <p>An immutable data type representation a
rational
number.</p>
27
*
Rational
number. </p>
29
public final class
Rational
extends Number implements Comparable<
Rational
> {
31
* Constant for the <em>Not-a-Number (NaN)</em> value of the {@code
Rational
} type.
37
* <p>Equivalent to constructing a new
rational
with both the numerator and denominator
40
public static final
Rational
NaN = new
Rational
(0, 0);
43
* Constant for the positive infinity value of the {@code
Rational
} type.
45
* <p>Equivalent to constructing a new
rational
with a positive numerator and a denominato
[
all
...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
fractions.py
4
"""
Rational
, infinite-precision, real numbers."""
15
Rational
= numbers.
Rational
44
class Fraction(
Rational
):
45
"""This class implements
rational
numbers.
48
produce a
rational
number equivalent to 4/3. Both arguments must
49
be
Rational
. The numerator defaults to 0 and the denominator
61
- other
Rational
instances (including integers)
71
Takes a string like '3/2' or '1.5', another
Rational
instance, a
102
if isinstance(numerator,
Rational
)
[
all
...]
numbers.py
11
__all__ = ["Number", "Complex", "Real", "
Rational
", "Integral"]
270
class
Rational
(Real):
295
class Integral(
Rational
):
375
# Concrete implementations of
Rational
and Real abstract methods.
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
fractions.py
4
"""
Rational
, infinite-precision, real numbers."""
15
Rational
= numbers.
Rational
44
class Fraction(
Rational
):
45
"""This class implements
rational
numbers.
48
produce a
rational
number equivalent to 4/3. Both arguments must
49
be
Rational
. The numerator defaults to 0 and the denominator
61
- other
Rational
instances (including integers)
71
Takes a string like '3/2' or '1.5', another
Rational
instance, a
102
if isinstance(numerator,
Rational
)
[
all
...]
numbers.py
11
__all__ = ["Number", "Complex", "Real", "
Rational
", "Integral"]
270
class
Rational
(Real):
295
class Integral(
Rational
):
375
# Concrete implementations of
Rational
and Real abstract methods.
/frameworks/native/opengl/tests/hwc/
hwcCommit.cpp
203
class
Rational
{
205
Rational
(void) : _n(0), _d(1) {}
206
Rational
(uint32_t n, uint32_t d) : _n(n), _d(d) {}
211
bool operator==(const
Rational
& other) const;
212
bool operator!=(const
Rational
& other) const { return !(*this == other); }
213
bool operator<(const
Rational
& other) const;
214
bool operator>(const
Rational
& other) const {
218
Rational
& lower,
Rational
& upper);
262
Rational
hScale
[
all
...]
Completed in 683 milliseconds