HomeSort by relevance Sort by last modified time
    Searched refs:Double (Results 226 - 250 of 684) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/content/
ContentValues.java 164 public void put(String key, Double value) {
355 * Gets a value and converts it to a Double.
358 * @return the Double value, or null if the value is missing or cannot be converted
360 public Double getAsDouble(String key) {
367 return Double.valueOf(value.toString());
369 Log.e(TAG, "Cannot parse Double value for " + value + " at key " + key);
373 Log.e(TAG, "Cannot cast value for " + key + " to a Double: " + value, e);
  /frameworks/base/core/java/android/util/
JsonReader.java 112 * List<Double> geo = null;
133 * public List<Double> readDoublesArray(JsonReader reader) throws IOException {
134 * List<Double> doubles = new ArrayList<Double>();
167 * This behavior is intended to prevent lossy numeric conversions: double is
451 * Returns the {@link JsonToken#NUMBER double} value of the next token,
453 * parse it as a double using {@link Double#parseDouble(String)}.
457 public double nextDouble() throws IOException {
460 throw new IllegalStateException("Expected a double but was " + token)
    [all...]
ReflectiveProperty.java 104 (getterType == double.class && valueType == Double.class) ||
  /frameworks/base/services/java/com/android/server/location/
GeofenceManager.java 256 double minFenceDistance = Double.MAX_VALUE;
291 double fenceDistance = state.getDistanceToBoundary(); // MAX_VALUE if unknown
303 if (location != null && Double.compare(minFenceDistance, Double.MAX_VALUE) != 0) {
  /libcore/luni/src/main/java/java/lang/reflect/
Array.java 95 if (array instanceof double[]) {
96 return new Double(((double[]) array)[index]);
156 * Returns the double at the given index in the given array.
157 * Applies to byte, char, float, double, int, long, and short arrays.
166 public static double getDouble(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException {
167 if (array instanceof double[]) {
168 return ((double[]) array)[index];
253 } else if (array instanceof double[]) {
254 return ((double[]) array).length
    [all...]
  /art/test/093-serialization/src/
Main.java 109 Double four;
  /cts/tools/dex-tools/src/dex/reader/
DexBuffer.java 172 public double readDouble(int nBytes) {
176 return Double.longBitsToDouble(bits);
  /external/android-mock/tests/com/google/android/testing/mocking/
ConstructorCreationTests.java 37 private double value;
38 Bar(double value) { this.value = value; }
39 double get() { return value; }
44 public double v2;
65 public TestClass(int v1, double v2) {
126 new Type[]{Integer.TYPE, Double.TYPE});
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
Support_DecimalFormat.java 45 Number number = new Double(10000000.76);
102 number = new Double(350.76);
133 Number number = new Double(350.76);
134 Number negativeNumber = new Double(-350.76);
  /external/chromium_org/base/test/
trace_event_analyzer.h 40 // Query(EVENT_DURATION) > Query::Double(1000000.0));
70 // double duration;
122 double GetAbsTimeToOtherEvent() const;
127 bool GetArgAsNumber(const std::string& name, double* arg) const;
131 // Check if argument exists and is number (double, int or bool).
138 double GetKnownArgAsDouble(const std::string& name) const;
146 // Stored as double to match its JSON representation.
147 double timestamp;
157 // All numbers and bool values from TraceEvent args are cast to double.
159 std::map<std::string, double> arg_numbers
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
fast-dtoa.cc 34 #include "double.h"
594 // v == (double) (buffer * 10^decimal_exponent).
601 static bool Grisu3(double v,
605 DiyFp w = Double(v).AsNormalizedDiyFp();
608 // boundary_minus and boundary_plus will round to v when convert to a double.
611 Double(v).NormalizedBoundaries(&boundary_minus, &boundary_plus);
648 // v == (double) (scaled_w * 10^-mk).
    [all...]
  /external/chromium_org/v8/src/
fast-dtoa.cc 36 #include "double.h"
593 // v == (double) (buffer * 10^decimal_exponent).
600 static bool Grisu3(double v,
604 DiyFp w = Double(v).AsNormalizedDiyFp();
607 // boundary_minus and boundary_plus will round to v when convert to a double.
610 Double(v).NormalizedBoundaries(&boundary_minus, &boundary_plus);
647 // v == (double) (scaled_w * 10^-mk).
665 static bool Grisu3Counted(double v,
670 DiyFp w = Double(v).AsNormalizedDiyFp();
696 // We now have (double) (scaled_w * 10^-mk)
    [all...]
  /external/easymock/src/org/easymock/
EasyMock.java 269 * Expects any double argument. For details, see the EasyMock documentation.
273 public static double anyDouble() {
327 * Expects a double argument greater than or equal to the given value. For
334 public static double geq(double value) {
335 reportMatcher(new GreaterOrEqual<Double>(value));
419 * Expects a double argument less than or equal to the given value. For
426 public static double leq(double value) {
427 reportMatcher(new LessOrEqual<Double>(value));
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
BuildResults.java 30 private static final double IMPOSSIBLE_VALUE = -1E6;
39 double[] average, stddev;
41 double[][] values;
77 double squaredDeviations= 0;
79 double deviation= this.average[dim_id] - this.values[dim_id][i];
192 public double getDeviation() {
206 public double getDeviation(int dim_id) {
260 public double getError() {
262 if (n == 1) return Double.NaN;
272 public double getError(int dim_id)
    [all...]
  /external/guava/guava/src/com/google/common/io/
LittleEndianDataInputStream.java 33 * for reading {@code short}, {@code int}, {@code float}, {@code double}, and
160 * Reads a {@code double} as specified by
165 * {@code double} in little-endian byte order
169 public double readDouble() throws IOException {
170 return Double.longBitsToDouble(readLong());
LittleEndianDataOutputStream.java 32 * double}, and {@code long} values.
102 * Writes a {@code double} as specified by
103 * {@link DataOutputStream#writeDouble(double)}, except using little-endian
108 @Override public void writeDouble(double v) throws IOException {
109 writeLong(Double.doubleToLongBits(v));
  /external/guava/guava/src/com/google/common/primitives/
Primitives.java 51 add(primToWrap, wrapToPrim, double.class, Double.class);
  /external/javassist/src/main/javassist/runtime/
Desc.java 115 clazz = Double.TYPE;
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/objects/
Properties.java 114 double[] doubleList = new double[elementAmount];
139 value = Double.valueOf(Double.longBitsToDouble(doubleVal));
340 oc.write((double[]) value, "value", null);
349 oc.write((Double) value, "value", 0);
399 value = Double.valueOf(ic.readDouble("value", 0.0));
  /external/jmonkeyengine/engine/src/core/com/jme3/util/
LittleEndien.java 127 public double readDouble() throws IOException {
128 return Double.longBitsToDouble(readLong());
  /external/junit/src/junit/textui/
ResultPrinter.java 107 return Double.toString((double)runTime/1000);
  /external/proguard/src/proguard/evaluation/value/
ParticularDoubleValue.java 24 * This DoubleValue represents a particular double value.
30 private final double value;
34 * Creates a new particular double value.
36 public ParticularDoubleValue(double value)
44 public double value()
202 (int)Double.doubleToLongBits(value);
  /external/v8/src/
fast-dtoa.cc 36 #include "double.h"
593 // v == (double) (buffer * 10^decimal_exponent).
600 static bool Grisu3(double v,
604 DiyFp w = Double(v).AsNormalizedDiyFp();
607 // boundary_minus and boundary_plus will round to v when convert to a double.
610 Double(v).NormalizedBoundaries(&boundary_minus, &boundary_plus);
647 // v == (double) (scaled_w * 10^-mk).
665 static bool Grisu3Counted(double v,
670 DiyFp w = Double(v).AsNormalizedDiyFp();
696 // We now have (double) (scaled_w * 10^-mk)
    [all...]
  /external/valgrind/main/VEX/pub/
libvex_basictypes.h 80 typedef double Double; /* IEEE754 double-precision (64-bit) value */
  /frameworks/base/telephony/java/android/telephony/cdma/
CdmaCellLocation.java 239 public static double convertQuartSecToDecDegrees(int quartSec) {
240 if(Double.isNaN(quartSec) || quartSec < -2592000 || quartSec > 2592000){
244 return ((double)quartSec) / (3600 * 4);

Completed in 516 milliseconds

1 2 3 4 5 6 7 8 91011>>