Home
last modified time | relevance | path

Searched refs:location2 (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/debug/
Dtask_annotator_unittest.cc140 const Location location2 = FROM_HERE; in TEST_F() local
153 location2.program_counter(), location1.program_counter()}), in TEST_F()
160 ExpectedTrace({location3.program_counter(), location2.program_counter(), in TEST_F()
166 ExpectedTrace({location2.program_counter(), location1.program_counter(), in TEST_F()
171 Unretained(this), loop.task_runner(), location2, location3, in TEST_F()
176 Unretained(this), loop.task_runner(), location1, location2, in TEST_F()
284 const Location location2 = FROM_HERE; in TEST_F() local
320 location2.program_counter(), location1.program_counter()}), in TEST_F()
325 ExpectedTrace({location3.program_counter(), location2.program_counter(), in TEST_F()
331 ExpectedTrace({location2.program_counter(), location1.program_counter(), in TEST_F()
[all …]
/external/clang/bindings/python/tests/cindex/
Dtest_location.py58 location2 = SourceLocation.from_position(tu, file, 1, 5)
59 assert location == location2
61 assert location2 != location3
87 location2 = SourceLocation.from_position(tu, file, 1, 8)
89 range1 = SourceRange.from_locations(location1, location2)
90 range2 = SourceRange.from_locations(location1, location2)
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocationManagerTest.java421 Location location2 = new Location(GPS_PROVIDER); in simulateLocation_shouldNotNotifyListenerIfLessThanFastestInterval() local
422 location2.setTime(time + 1000); in simulateLocation_shouldNotNotifyListenerIfLessThanFastestInterval()
425 shadowLocationManager.simulateLocation(location2); in simulateLocation_shouldNotNotifyListenerIfLessThanFastestInterval()
439 Location location2 = new Location(GPS_PROVIDER); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance() local
440 location2.setLatitude(1.5); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance()
441 location2.setLongitude(2.5); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance()
442 location2.setTime(1000); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance()
445 shadowLocationManager.simulateLocation(location2); in simulateLocation_shouldNotNotifyListenerIfLessThanMinimumDistance()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java470 private static float distanceBetween(Location location1, Location location2) { in distanceBetween() argument
472 double latDifference = Math.toRadians(location2.getLatitude() - location1.getLatitude()); in distanceBetween()
473 double lonDifference = Math.toRadians(location2.getLongitude() - location1.getLongitude()); in distanceBetween()
475 …Math.cos(Math.toRadians(location1.getLatitude())) * Math.cos(Math.toRadians(location2.getLatitude(… in distanceBetween()
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp929 SkPoint location2 = SkPoint::Make(fLocation.fX, fLocation.fY); in transform() local
930 matrix.mapPoints(&location2, 1); in transform()
934 SkPoint3 location = SkPoint3::Make(location2.fX, in transform()
935 location2.fY, in transform()
986 SkPoint location2 = SkPoint::Make(fLocation.fX, fLocation.fY); in transform() local
987 matrix.mapPoints(&location2, 1); in transform()
991 SkPoint3 location = SkPoint3::Make(location2.fX, location2.fY, in transform()
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp931 SkPoint location2 = SkPoint::Make(fLocation.fX, fLocation.fY); in transform() local
932 matrix.mapPoints(&location2, 1); in transform()
936 SkPoint3 location = SkPoint3::Make(location2.fX, in transform()
937 location2.fY, in transform()
988 SkPoint location2 = SkPoint::Make(fLocation.fX, fLocation.fY); in transform() local
989 matrix.mapPoints(&location2, 1); in transform()
993 SkPoint3 location = SkPoint3::Make(location2.fX, location2.fY, in transform()