Changeset 00d1787 in orbit for android/src
- Timestamp:
- 12/27/13 06:02:27 (9 years ago)
- Branches:
- master, Servo
- Children:
- c912129
- Parents:
- 4ca9aa3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
android/src/info/puzzlebox/orbit/FragmentTabFlightThinkGear.java
r71f66b0 r00d1787 9 9 10 10 import android.bluetooth.BluetoothAdapter; 11 import android.content.pm.PackageManager.NameNotFoundException;12 11 import android.content.res.Configuration; 13 12 import android.graphics.Color; … … 76 75 int minimumScoreTarget = 40; 77 76 int scoreCurrent = 0; 77 int scoreLast = 0; 78 78 int scoreHigh = 0; 79 79 … … 93 93 Button stopTestButton; 94 94 TextView textViewScore; 95 TextView textViewLastScore; 95 96 TextView textViewHighScore; 97 View viewSpaceLastScore; 96 98 97 99 ImageView imageViewStatus; … … 268 270 269 271 textViewScore = (TextView) v.findViewById(R.id.textViewScore); 272 textViewLastScore = (TextView) v.findViewById(R.id.textViewLastScore); 270 273 textViewHighScore = (TextView) v.findViewById(R.id.textViewHighScore); 274 viewSpaceLastScore = (View) v.findViewById(R.id.viewSpaceScoreLast); 271 275 272 276 … … 457 461 String button_test_fly_small = getResources().getString(R.string.button_test_fly_small); 458 462 setButtonText(R.id.buttonTestFly, button_test_fly_small); 463 464 textViewLastScore.setVisibility(View.GONE); 465 viewSpaceLastScore.setVisibility(View.GONE); 459 466 460 467 // viewSpaceGenerateAudioWidth = LayoutParams.MATCH_PARENT; … … 665 672 Log.v(TAG, "Meditation: " + eegMeditation); 666 673 progressBarMeditation.setProgress(eegMeditation); 667 //updatePower();674 updatePower(); 668 675 669 676 break; … … 1065 1072 public void resetCurrentScore() { 1066 1073 1074 if (scoreCurrent > 0) 1075 textViewLastScore.setText(Integer.toString(scoreCurrent)); 1067 1076 scoreCurrent = 0; 1068 1077 textViewScore.setText(Integer.toString(scoreCurrent));
Note: See TracChangeset
for help on using the changeset viewer.