Commit Graph

  • 2eb26aaba1 Change code style. youtaol 2012-09-05 14:11:05 +08:00
  • 89496446c1 In StatsFragment, use the handler thread to update the total time instead of creating a new thread. Jimmy Shih 2012-09-04 13:14:31 -07:00
  • 72a6f31790 Remove the following strings and drawables - menu_record_track - menu_pause_track - menu_stop_track Jimmy Shih 2012-09-04 11:21:47 -07:00
  • 7b025443c1 Add checks about the status of recording, pause and not in recording. Add method findTextView and sleep to help current and following tests. youtaol 2012-09-04 15:04:11 +08:00
  • 9505ba9a23 Change code for there are no start, pause, stop buttons on the action bar any more. youtaol 2012-09-03 20:02:12 +08:00
  • e5078627c1 Merge heads youtaol 2012-09-03 14:17:09 +08:00
  • 3b92eb3a23 Change code style. youtaol 2012-09-03 14:15:22 +08:00
  • 9e85c0b8d5 Change the track_detail menu item order. Place voice frequency and split markers just above settings. Jimmy Shih 2012-08-31 15:44:23 -07:00
  • af4a24053b merge conflicts, update ids Jimmy Shih 2012-08-31 15:08:39 -07:00
  • 544eb798b0 merge heads Jimmy Shih 2012-08-31 14:52:58 -07:00
  • b7c2f85a02 Add TrackController UI in TrackDetailActivity. Jimmy Shih 2012-08-31 14:51:05 -07:00
  • c8bcfe654b Add method pauseRecording() and resumeRecording() in EndToEndTestUtils. Make some changes to make start, pause, resume, stop track recording can runs well on the new UI(Move these buttons down from action bar in TrackListActivity). youtaol 2012-08-31 17:08:41 +08:00
  • 90e621db1f Merge heads youtaol 2012-08-31 09:57:35 +08:00
  • da6f3da448 Change the code style to send Gps signal to emulator. youtaol 2012-08-31 09:54:45 +08:00
  • 8a7786f9ca In TrackWriterImpl, write an empty track if the track has no valid locations. Jimmy Shih 2012-08-30 16:12:31 -07:00
  • af32c4f40f Improve resume/pause layout Jimmy Shih 2012-08-30 14:57:01 -07:00
  • 378cae7151 In MarkerList, do not show insert waypoint if paused. In SearchList, update icon based on recording or paused state. In TrackDetail, do not show insert waypoint if paused. In TrackDetail, always show voice frequency and split marker settings. Jimmy Shih 2012-08-30 13:21:46 -07:00
  • 3b83d12056 merge heads Jimmy Shih 2012-08-30 12:32:01 -07:00
  • 5d34ddbd13 Change target sdk version to 16. Jimmy Shih 2012-08-30 12:31:16 -07:00
  • 9c0e522804 merge heads Jimmy Shih 2012-08-30 11:25:09 -07:00
  • 59f2092482 Check in the new record/pause UI in TrackListActivity. Jimmy Shih 2012-08-30 11:21:56 -07:00
  • ac119d815c Merge heads youtaol 2012-08-29 17:16:16 +08:00
  • 2212abe3c7 Add a check about the points of Paused track. youtaol 2012-08-29 17:15:55 +08:00
  • 09453d13cd If a GPX file doesn't contain timestamp, use the import time as the track starting time. Jimmy Shih 2012-08-28 18:24:33 -07:00
  • 2f6e36a8bc Update GpxImporter to support tracks with pauses. Jimmy Shih 2012-08-28 17:44:40 -07:00
  • df06149c6d Add test case about sending a paused track to Google. youtaol 2012-08-28 15:37:57 +08:00
  • 14ea38da8b Merge heads youtaol 2012-08-28 10:41:34 +08:00
  • 6a9fa7c488 Add pause, resume, export and import test cases for Pause feature. youtaol 2012-08-28 10:36:04 +08:00
  • 34889bc460 Update SendToGoogleUtil to take into account of pause/resume separator. Jimmy Shih 2012-08-27 15:27:56 -07:00
  • f89433322b merge heads Jimmy Shih 2012-08-27 12:18:08 -07:00
  • 25778911c9 For periodic task, set the next time based on current total time rather than track start time. The current total time would take into account pause/resume time. Jimmy Shih 2012-08-27 12:17:23 -07:00
  • 631bfe8302 Fix an error of test. youtaol 2012-08-27 20:21:27 +08:00
  • 9565e81dab Merge heads youtaol 2012-08-27 10:31:25 +08:00
  • 296cd81167 In TrackRecordingService, fix the code on detecting if a location is already inserted in the database. In TripStatisticsUpdater, improve total distance accuracy by taking into account the last point in a segment. Jimmy Shih 2012-08-24 17:46:16 -07:00
  • 41278eb137 Rename TripStatisticsBuilder to TripStatisticsUpdater. No logic change. Jimmy Shih 2012-08-24 15:57:27 -07:00
  • be6fd6d633 Rename methods in MyTracksProviderUtils. No logic change Jimmy Shih 2012-08-24 15:21:39 -07:00
  • 784ce8bc26 Remove unused methods in MyTracksProviderUtils Change getLastValidLocation to getLastValidTrackLocation, thus all location related api takes trackId as an argument. Jimmy Shih 2012-08-24 14:05:50 -07:00
  • c6861d1e49 In ChartFragment, MapFragment, StatsFragment, for callbacks from TrackDataHub, check that the fragment is resumed. In any runnable executed on the UI thread, also check that the fragment is resumed. Jimmy Shih 2012-08-24 12:46:11 -07:00
  • 2c87df6d75 merge heads Jimmy Shih 2012-08-24 09:46:37 -07:00
  • 3ef2a9c901 Fix an error when test in Chinese. youtaol 2012-08-24 14:51:24 +08:00
  • 9859e4ff14 Merge heads youtaol 2012-08-24 12:42:57 +08:00
  • bc37316fa5 Add pause test case in CreateAndSendTrackTest. youtaol 2012-08-24 12:42:22 +08:00
  • 0ddd11aef5 Fix Stats view. - when paused, do not update current location - handle possible null pointer for getActivity Jimmy Shih 2012-08-23 18:24:08 -07:00
  • b164398d47 merge heads Jimmy Shih 2012-08-23 14:59:58 -07:00
  • 9f63125816 - In MapView, only show the no gps message when recording. - Different messages for no gps signal and need better gps signal. - Add debug line when location is not inserted due to accuracy issue and min recording distance requirement. Jimmy Shih 2012-08-23 14:58:36 -07:00
  • 02f0f4831e Use TripStatisticsBuilder in - SendMapsAsyncTask - SendFusionTablesAsyncTask - ChartFragment Jimmy Shih 2012-08-23 14:12:08 -07:00
  • dcf5e5668a Merge heads youtaol 2012-08-23 19:28:32 +08:00
  • f008975936 Use default(first) account in choose account dialog. youtaol 2012-08-23 19:27:51 +08:00
  • 2bfb1ff49e merge heads Jimmy Shih 2012-08-22 16:20:40 -07:00
  • b0bb09db08 Add support to show both moving time and total time. Jimmy Shih 2012-08-22 15:52:14 -07:00
  • b3ad974bbb Update the ui thread in StatsFragment to support pause/resume for the total time. Jimmy Shih 2012-08-22 13:16:18 -07:00
  • 40dba3d183 Add a check when more than one account is bound with phone. youtaol 2012-08-22 15:29:03 +08:00
  • ccaf652c8b Add support for pause and resume in TrackRecordingService. Jimmy Shih 2012-08-21 18:36:04 -07:00
  • 832e2499c9 merge heads Jimmy Shih 2012-08-20 11:00:16 -07:00
  • 12ce7e3b0d merge heads Jimmy Shih 2012-08-20 10:59:22 -07:00
  • 883b4bc9a8 fix a typo bug in TrackRecordingServiceConnectionUtils Jimmy Shih 2012-08-16 14:34:10 -07:00
  • 6039c5e1d4 Add UI support to pause and resume the current recording track. Jimmy Shih 2012-08-15 17:14:25 -07:00
  • e9ac687fe0 Fix unit test error of TrackDataHubTest. youtaol 2012-08-15 19:30:12 +08:00
  • 302144d003 Move the code about checking status of GPS signal back to make the test runs well on real devices. Fix a warning in CreateAndSendTrackTest. youtaol 2012-08-15 15:51:43 +08:00
  • 532c7495e4 merge heads with Google Location settings change from My Tracks 2.0.1 Jimmy Shih 2012-08-14 12:32:56 -07:00
  • 5f4e32b921 Change intent name for opening Google location settings Jimmy Shih 2012-08-14 10:40:49 -07:00
  • 360b757bf3 revert f505ce7c6bde Jimmy Shih 2012-08-14 10:04:38 -07:00
  • 1a6baf2beb Refactor location recording logic so that all location filtering code is done at TripStatisticsBuilder.java. Jimmy Shih 2012-08-13 15:14:00 -07:00
  • bafcd0e37f In TrackRecordingService, make sure all fields of a waypoint are set consistently when creating a marker. Jimmy Shih 2012-08-09 14:17:19 -07:00
  • 80f2237e2b merge heads Jimmy Shih 2012-08-09 10:22:52 -07:00
  • 96b67a8f2b Rename files in the "tasks" package. Jimmy Shih 2012-08-09 10:21:24 -07:00
  • f983c93363 Merge heads youtaol 2012-08-09 13:32:59 +08:00
  • dc9173e015 Update TrackRecordingService. Jimmy Shih 2012-08-08 18:52:08 -07:00
  • 40e2aba739 Clean up classes in the stats package - TripStatisticsBuilder - TripStatistics - ExtremityMonitor - DoubleBuffer Jimmy Shih 2012-08-08 10:17:32 -07:00
  • a0b3e21b14 Clean up LocationListenerPolicy. Jimmy Shih 2012-08-07 12:19:59 -07:00
  • 61227b2d89 Remove useless method in TrackDataHub. youtaol 2012-08-06 14:56:49 +08:00
  • 27c796cda0 Change some code of MyTracksProviderTest. youtaol 2012-08-06 13:21:51 +08:00
  • 86b782e2f0 Change code style of TrackDataHubTest. youtaol 2012-08-03 17:05:55 +08:00
  • a4b6d9e87b Merge heads youtaol 2012-08-03 16:31:36 +08:00
  • 221155979e Add a wait after sending Gps Signal. youtaol 2012-08-03 15:22:35 +08:00
  • e94d62f6a9 Make a change to make testSplitSetting() runs more stable. youtaol 2012-08-03 14:24:24 +08:00
  • a9872f665f Add track description as Notes in TCX output. Jimmy Shih 2012-08-02 12:26:55 -07:00
  • 2fa1f6daf4 Change some code in getButtonOnScreen() in EndToEndTestUtils. youtaol 2012-08-02 19:53:06 +08:00
  • acdb140a4e Make some change to make test more stable. youtaol 2012-08-02 16:33:16 +08:00
  • 0568ccca2c Make some change to make test more stable. youtaol 2012-08-02 14:15:28 +08:00
  • d1c2d3df3d Change some code style of EndToEndTestRunner. youtaol 2012-08-02 10:49:09 +08:00
  • 371375178e merge heads Jimmy Shih 2012-08-01 19:03:44 -07:00
  • f0de32eb04 Use a different name for new strings. Jimmy Shih 2012-08-01 13:40:16 -07:00
  • 2dbd2ff956 My Tracks 2.0.1. Add support for Google location settings. Jimmy Shih 2012-08-01 12:57:48 -07:00
  • 4b7d996cb3 Add some test cases to TrackDataHubTest. youtaol 2012-08-01 20:26:02 +08:00
  • 8796318335 Add a class EndToEndTestRunner which extends InstrumentationTestRunner and can get the port of emulator. Then test can be run on more than one emulators at the same time. youtaol 2012-08-01 17:25:21 +08:00
  • 99c094d9a1 Merge heads youtaol 2012-08-01 10:12:17 +08:00
  • a08cbe4265 Change a field name in EndToEndTestUtils. youtaol 2012-08-01 10:11:52 +08:00
  • 599b220523 Fix for bug 1087: (Voice Announcements for Pace in min/mi broken). Voice announcements were always reporting 0 minutes 0 seconds if system was configured for Pace. Bug was caused by an incorrect cast of variable 'speed' to long (speed is a double). The casting was resulting in the variable 'speed' being changed to 0. Psychol 2012-07-30 23:06:33 -05:00
  • cbfcaaeb59 merge heads Jimmy Shih 2012-07-27 17:10:11 -07:00
  • d32221416d Clean up PeriodicTask. Jimmy Shih 2012-07-27 17:04:58 -07:00
  • b052c34e76 Make test can run on Android 4.1. Initialize the status of GPS signal and then use it during test. Create a common method to enter text which can hides soft keyboard. youtaol 2012-07-27 16:51:18 +08:00
  • b6fd63a512 Merge heads youtaol 2012-07-27 10:24:20 +08:00
  • b986dd51a9 Merge heads youtaol 2012-07-27 09:46:02 +08:00
  • 9244255b86 Change code style of MyTracksProviderUtilsImplTest. youtaol 2012-07-27 09:44:18 +08:00
  • 1bcbf7b5de Update all TrackPathPainter and TrackPathDescriptor. Fix issues of incrementally updating a path. Jimmy Shih 2012-07-26 15:29:16 -07:00
  • 2b85a0ebba Update MayOverlay. Fix heading calculation. Jimmy Shih 2012-07-26 10:05:24 -07:00
  • 1f093aa69f Change the code style and fix few invisible warnings in javadoc of MyTracksProviderUtilsImplTest. youtaol 2012-07-26 19:59:49 +08:00
  • a7d855cc27 Merge heads youtaol 2012-07-26 11:00:04 +08:00
  • e50938078f merge heads Jimmy Shih 2012-07-25 11:10:51 -07:00