/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
MatrixCursorTest.java | 90 assertThat(cursor.getDouble(0), equalTo(42.0)); 97 assertThat(cursor.getDouble(1), equalTo(3.3)); 155 assertThat(singleColumnSingleNullValueMatrixCursor.getDouble(0), is(equalTo(0.0)));
|
BundleTest.java | 63 assertEquals(Double.valueOf(5), Double.valueOf(bundle.getDouble("foo"))); 64 assertEquals(Double.valueOf(0),Double.valueOf(bundle.getDouble("bar"))); 65 assertEquals(Double.valueOf(7), Double.valueOf(bundle.getDouble("bar", 7))); 215 assertEquals(0, bundle.getDouble("foo"), 0.005);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
nmfmtrt.cpp | 240 s = fmt->format(value.getDouble(), s); 255 s2 = fmt->format(n.getDouble(), s2); 292 escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong()) 304 aa = a.getDouble(); 309 bb = b.getDouble();
|
tfsmalls.cpp | 195 if ((fta.getType() == Formattable::kDouble) && (fta.getDouble() == 3.0)) { 196 it_logln("FT set- and getDouble tested."); 198 it_errln("*** FT set- or getDouble"); 262 && (ft_arr[1].getType() == Formattable::kDouble) && (ft_arr[1].getDouble() == 2.0)
|
/external/icu4c/test/intltest/ |
nmfmtrt.cpp | 240 s = fmt->format(value.getDouble(), s); 255 s2 = fmt->format(n.getDouble(), s2); 292 escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong()) 304 aa = a.getDouble(); 309 bb = b.getDouble();
|
tfsmalls.cpp | 195 if ((fta.getType() == Formattable::kDouble) && (fta.getDouble() == 3.0)) { 196 it_logln("FT set- and getDouble tested."); 198 it_errln("*** FT set- or getDouble"); 262 && (ft_arr[1].getType() == Formattable::kDouble) && (ft_arr[1].getDouble() == 2.0)
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
device_status_collector.cc | 167 if (location->GetDouble(kLatitude, &position.latitude) && 168 location->GetDouble(kLongitude, &position.longitude) && 169 location->GetDouble(kAltitude, &position.altitude) && 170 location->GetDouble(kAccuracy, &position.accuracy) && 171 location->GetDouble(kAltitudeAccuracy, &position.altitude_accuracy) && 172 location->GetDouble(kHeading, &position.heading) && 173 location->GetDouble(kSpeed, &position.speed) &&
|
/external/chromium_org/chrome/test/chromedriver/ |
session_commands.cc | 209 if (!params.GetDouble("ms", &ms_double)) 235 if (!params.GetDouble("ms", &ms) || ms < 0) 246 if (!params.GetDouble("ms", &ms) || ms < 0) 319 if (!params.GetDouble("x", &x) || !params.GetDouble("y", &y)) 355 if (!params.GetDouble("width", &width) || 356 !params.GetDouble("height", &height))
|
/external/chromium/chrome/browser/web_resource/ |
promo_resource_service.cc | 166 double promo_start = prefs_->GetDouble(prefs::kNTPPromoStart); 167 double promo_end = prefs_->GetDouble(prefs::kNTPPromoEnd); 194 old_promo_start = prefs_->GetDouble(prefs::kNTPPromoStart); 195 old_promo_end = prefs_->GetDouble(prefs::kNTPPromoEnd); 359 old_logo_start = prefs_->GetDouble(prefs::kNTPCustomLogoStart); 360 old_logo_end = prefs_->GetDouble(prefs::kNTPCustomLogoEnd);
|
/external/chromium/chrome/browser/prefs/ |
pref_member_unittest.cc | 148 EXPECT_EQ(0.0, prefs.GetDouble(kDoublePref)); 155 EXPECT_EQ(1.0, prefs.GetDouble(kDoublePref)); 160 EXPECT_EQ(3.0, prefs.GetDouble(kDoublePref));
|
/external/chromium_org/base/prefs/ |
pref_member_unittest.cc | 154 EXPECT_EQ(0.0, prefs.GetDouble(kDoublePref)); 161 EXPECT_EQ(1.0, prefs.GetDouble(kDoublePref)); 166 EXPECT_EQ(3.0, prefs.GetDouble(kDoublePref));
|
/external/chromium_org/ui/gfx/ |
transform.h | 110 return matrix_.getDouble(0, 0) > 0.0 && 111 matrix_.getDouble(1, 1) > 0.0 && 112 matrix_.getDouble(2, 2) > 0.0;
|
/cts/tests/tests/database/src/android/database/cts/ |
AbstractCursor_SelfContentObserverTest.java | 69 public double getDouble(int column) {
|
DatabaseUtils_InsertHelperTest.java | 132 assertEquals(123.456, cursor.getDouble(doubleValueIndex)); 164 assertEquals(654.321, cursor.getDouble(doubleValueIndex)); 228 assertEquals(123.456, cursor.getDouble(doubleValueIndex)); 274 assertEquals(654.321, cursor.getDouble(doubleValueIndex));
|
AbstractWindowedCursorTest.java | 155 double db2 = mWindow.getDouble(ROW_INDEX0, COLUMN_INDEX0); 159 double cd = mCursor.getDouble(COLUMN_INDEX0);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_MediaTest.java | 124 assertEquals(40.689060d, c.getDouble(c.getColumnIndex(Media.LATITUDE)), 0d); 125 assertEquals(-74.044636d, c.getDouble(c.getColumnIndex(Media.LONGITUDE)), 0d); 177 assertEquals(41.689060d, c.getDouble(c.getColumnIndex(Media.LATITUDE)), 0d); 178 assertEquals(-75.044636d, c.getDouble(c.getColumnIndex(Media.LONGITUDE)), 0d);
|
/external/chromium_org/chrome/browser/extensions/api/diagnostics/ |
diagnostics_api_chromeos.cc | 50 if (info->GetDouble("avg", latency))
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
ntp_login_handler.cc | 159 bool success = args->GetDouble(0, &x); 161 success = args->GetDouble(1, &y); 163 success = args->GetDouble(2, &width); 165 success = args->GetDouble(3, &height);
|
/external/chromium_org/chrome/test/webdriver/commands/ |
command.cc | 75 return parameters_.get() != NULL && parameters_->GetDouble(key, out);
|
/external/chromium_org/tools/json_schema_compiler/ |
util.cc | 21 return from.GetDouble(index, out);
|
/libcore/luni/src/test/java/libcore/java/nio/ |
OldAndroidNIOTest.java | 304 // Check 'getDouble(int position)' 306 assertEquals(0xA7A6A5A4A3A2A1A0L, Double.doubleToRawLongBits(b.getDouble(0))); 307 assertEquals(0xA8A7A6A5A4A3A2A1L, Double.doubleToRawLongBits(b.getDouble(1))); 309 b.getDouble(-1); 315 b.getDouble(5); 322 assertEquals(0xA0A1A2A3A4A5A6A7L, Double.doubleToRawLongBits(b.getDouble(0))); 323 assertEquals(0xA1A2A3A4A5A6A7A8L, Double.doubleToRawLongBits(b.getDouble(1))); 325 b.getDouble(-1); 331 b.getDouble(5);
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldAbstractPreferencesTest.java | 460 assertEquals(new Double(9.10938188e-31), pref.getDouble("DoubleValue", new Double(2.14))); 500 assertEquals(new Double(0.1), pref.getDouble("Value", new Double(0.1))); 501 assertEquals(new Double(0.2), pref.getDouble("BoolValue", new Double(0.2))); 502 assertEquals(new Double(9.10938188e-31), pref.getDouble("DoubleValue", new Double(2.14))); 503 assertEquals(new Double(2.99792458e8), pref.getDouble("IntValue", new Double(5))); 506 pref.getDouble(null, new Double(0.1)); 515 pref.getDouble("DoubleValue", new Double(0.1)); 1026 assertEquals(new Double(6.626e-34), ap2.getDouble("DoubleValue", new Double (3.14))); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalImage.java | 137 latitude = cursor.getDouble(INDEX_LATITUDE); 138 longitude = cursor.getDouble(INDEX_LONGITUDE); 156 latitude = uh.update(latitude, cursor.getDouble(INDEX_LATITUDE)); 157 longitude = uh.update(longitude, cursor.getDouble(INDEX_LONGITUDE));
|
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsUtils.java | 142 return new int[]{(int)Math.floor(a.getDouble(0) * width + 0.5f), 143 (int)Math.floor(a.getDouble(1) * height + 0.5f), 144 (int)Math.floor(a.getDouble(2) * width + 0.5f), 145 (int)Math.floor(a.getDouble(3) * height + 0.5f) };
|
/external/chromium/chrome/browser/extensions/ |
extension_cookies_unittest.cc | 132 cookie_value1->GetDouble(keys::kExpirationDateKey, &double_value)); 148 cookie_value2->GetDouble(keys::kExpirationDateKey, &double_value));
|