com.triggertrap.seekarc.SeekArc Java Examples
The following examples show how to use
com.triggertrap.seekarc.SeekArc.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DisabledActivity.java From SeekArc with MIT License | 6 votes |
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_disabled); SeekArc seekArcComplete = (SeekArc) findViewById(R.id.seekArcComplete); SeekArc seekArcWarning = (SeekArc) findViewById(R.id.seekArcWarning); seekArcComplete.setProgressColor(Color.parseColor("#22FF22")); //seekArcComplete.setProgress(99); seekArcWarning.setProgressColor(Color.parseColor("#FF2222")); seekArcWarning.setArcColor(Color.parseColor("#c2c2c2")); //seekArcWarning.setProgress(33); }
Example #2
Source File: EqualizerActivity.java From Rey-MusicPlayer with Apache License 2.0 | 5 votes |
@Override public void onProgressChanged(SeekArc arg0, int arg1, boolean arg2) { virtualizerLevel = (short) arg1; if (mApp.isServiceRunning()) { mApp.getService().getEqualizerHelper().getVirtualizer().setStrength((short) virtualizerLevel); } float angle = ((float) arg1 / 1000) * 280; mImageButtonVirtualizer.setRotation(angle); if ((arg1 == 5 || arg1 == 990) && arg2) { arg0.performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY); } }
Example #3
Source File: EqualizerActivity.java From Rey-MusicPlayer with Apache License 2.0 | 5 votes |
@Override public void onProgressChanged(SeekArc seekArc, int i, boolean b) { bassBoostLevel = (short) i; if (mApp.isServiceRunning()) { mApp.getService().getEqualizerHelper().getBassBoost().setStrength((short) bassBoostLevel); } float angle = ((float) i / 1000) * 280; mImageButtonBassBoost.setRotation(angle); if ((i == 5 || i == 990) && b) { seekArc.performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY); } }
Example #4
Source File: EqualizerActivity.java From Rey-MusicPlayer with Apache License 2.0 | 4 votes |
@Override public void onStartTrackingTouch(SeekArc seekBar) { }
Example #5
Source File: EqualizerActivity.java From Rey-MusicPlayer with Apache License 2.0 | 4 votes |
@Override public void onStopTrackingTouch(SeekArc seekBar) { }
Example #6
Source File: DurationPickerDialogFragment.java From Jockey with Apache License 2.0 | 4 votes |
@Override public void onProgressChanged(SeekArc seekArc, int progress, boolean fromUser) { mOffsetValue = progress + mMinValue; mLabel.setText(getString(R.string.time_in_min_format, mOffsetValue)); }
Example #7
Source File: EqualizerActivity.java From Rey-MusicPlayer with Apache License 2.0 | 2 votes |
@Override public void onStartTrackingTouch(SeekArc seekArc) { }
Example #8
Source File: EqualizerActivity.java From Rey-MusicPlayer with Apache License 2.0 | 2 votes |
@Override public void onStopTrackingTouch(SeekArc seekArc) { }
Example #9
Source File: DurationPickerDialogFragment.java From Jockey with Apache License 2.0 | 2 votes |
@Override public void onStartTrackingTouch(SeekArc seekArc) { }
Example #10
Source File: DurationPickerDialogFragment.java From Jockey with Apache License 2.0 | 2 votes |
@Override public void onStopTrackingTouch(SeekArc seekArc) { }