Changeset dcf6979 in orbit for android/src
- Timestamp:
- 01/30/14 10:54:30 (9 years ago)
- Branches:
- master, Servo
- Children:
- bdd316c
- Parents:
- a2742af
- Location:
- android/src/info/puzzlebox/orbit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
android/src/info/puzzlebox/orbit/FragmentTabAdvanced.java
rfa8ffb5 rdcf6979 550 550 // This is necessary for the onPause/onResume functions which don't receive a View 551 551 552 onCheckBoxTiltSensorControlClicked(); 553 554 if (checkBoxTiltSensorControl.isChecked()) 552 Log.v(TAG, "onCheckBoxTiltSensorControlClicked"); 553 554 onCheckBoxTiltSensorControlClicked(); // call the full method (this version is the View method called by GUI) 555 556 if (checkBoxTiltSensorControl.isChecked()) { 555 557 checkBoxTiltSensorControlThrottle.setVisibility(View.VISIBLE); 556 else 558 Log.v(TAG, "checkBoxTiltSensorControlThrottle.setVisibility(View.VISIBLE)"); 559 } else { 557 560 checkBoxTiltSensorControlThrottle.setVisibility(View.GONE); 558 559 } 561 Log.v(TAG, "checkBoxTiltSensorControlThrottle.setVisibility(View.GONE)"); 562 } 563 564 } // onCheckBoxTiltSensorControlClicked(View view) 560 565 561 566 … … 641 646 referenceTiltY = 0; 642 647 643 if ((checkBoxTiltSensorControlThrottle.isChecked()) && 644 (! checkBoxTiltSensorControl.isChecked())) { 645 checkBoxTiltSensorControl.setChecked(true); 646 } 648 Log.v(TAG, "onCheckBoxTiltSensorControlThrottleClicked"); 649 650 651 // Disabled due to problems with "Tilt Sensor Control" becoming stuck checked 652 // if ((checkBoxTiltSensorControlThrottle.isChecked()) && 653 // (! checkBoxTiltSensorControl.isChecked())) { 654 // checkBoxTiltSensorControl.setChecked(true); 655 // } 656 657 658 if (checkBoxTiltSensorControl.isChecked()) { 659 checkBoxTiltSensorControlThrottle.setVisibility(View.VISIBLE); 660 Log.v(TAG, "checkBoxTiltSensorControlThrottle.setVisibility(View.VISIBLE)"); 661 } else { 662 checkBoxTiltSensorControlThrottle.setVisibility(View.GONE); 663 Log.v(TAG, "checkBoxTiltSensorControlThrottle.setVisibility(View.GONE)"); 664 } 665 647 666 648 667 } // checkBoxTiltSensorControlThrottleClicked … … 857 876 858 877 public void registerControlledDescent() { 859 878 860 879 Log.v(TAG, "registerControlledDescent()"); 861 880 -
android/src/info/puzzlebox/orbit/OrbitTabActivity.java
ra2742af rdcf6979 281 281 */ 282 282 283 maximizeAudioVolume(); // Automatically set media volume to maximum 283 // TODO Testing DroidDNA 284 // maximizeAudioVolume(); // Automatically set media volume to maximum 284 285 285 286 /** Set the hardware buttons to control the audio output */ … … 810 811 // soundPool.setVolume(soundID, 1f, 1f); 811 812 // soundPool.play(soundID, maxVolume, maxVolume, 1, 0, 1f); // Fixes Samsung Galaxy S4 [SGH-M919] 813 812 814 soundPool.play(soundID, 1f, 1f, 1, 0, 1f); // Fixes Samsung Galaxy S4 [SGH-M919] 815 816 // TODO No visible effects of changing these variables on digital oscilloscope 817 // soundPool.play(soundID, 0.5f, 0.5f, 1, 0, 0.5f); 813 818 if (DEBUG) 814 819 Log.v(TAG, "Played sound");
Note: See TracChangeset
for help on using the changeset viewer.