Home
last modified time | relevance | path

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

/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java101 private int mSpeedLimit; field in WearableMainActivity
157 mSpeedLimit = sharedPreferences.getInt(PREFS_SPEED_LIMIT_KEY, SPEED_LIMIT_DEFAULT_MPH); in onCreate()
300 mSpeedLimitTextView.setText(getString(R.string.speed_limit, mSpeedLimit)); in updateSpeedInViews()
305 if (mSpeed <= mSpeedLimit - 5) { in updateSpeedInViews()
307 } else if (mSpeed <= mSpeedLimit) { in updateSpeedInViews()
444 data.getIntExtra(SpeedPickerActivity.EXTRA_NEW_SPEED_LIMIT, mSpeedLimit); in onActivityResult()
452 mSpeedLimit = newSpeedLimit; in onActivityResult()