use of com.moro.mtweaks.views.recyclerview.StatsView in project MTweaks-KernelAdiutorMOD by morogoku.
the class BatteryFragment method statusInit.
private void statusInit(List<RecyclerViewItem> items) {
mStatus = new StatsView();
mStatus.setTitle(getString(R.string.status));
mStatus.setFullSpan(true);
items.add(mStatus);
}
use of com.moro.mtweaks.views.recyclerview.StatsView in project MTweaks-KernelAdiutorMOD by morogoku.
the class OverallFragment method statsInit.
private void statsInit(List<RecyclerViewItem> items) {
if (GPUFreq.hasCurFreq()) {
mGPUFreq = new StatsView();
mGPUFreq.setTitle(getString(R.string.gpu_freq));
items.add(mGPUFreq);
}
mTemperature = new TemperatureView();
mTemperature.setFullSpan(mGPUFreq == null);
items.add(mTemperature);
}
use of com.moro.mtweaks.views.recyclerview.StatsView in project MTweaks-KernelAdiutorMOD by morogoku.
the class BatteryFragment method levelInit.
private void levelInit(List<RecyclerViewItem> items) {
mLevel = new StatsView();
mLevel.setTitle(getString(R.string.level));
items.add(mLevel);
}
use of com.moro.mtweaks.views.recyclerview.StatsView in project MTweaks-KernelAdiutorMOD by morogoku.
the class BatteryFragment method healthInit.
private void healthInit(List<RecyclerViewItem> items) {
mHealth = new StatsView();
mHealth.setTitle(getString(R.string.health));
items.add(mHealth);
}
use of com.moro.mtweaks.views.recyclerview.StatsView in project MTweaks-KernelAdiutorMOD by morogoku.
the class BatteryFragment method charsourceInit.
/*
private void chartypeInit(List<RecyclerViewItem> items) {
mCharType = new StatsView();
mCharType.setTitle(getString(R.string.char_type));
mCharType.setFullSpan(true);
items.add(mCharType);
}
*/
private void charsourceInit(List<RecyclerViewItem> items) {
mCharSource = new StatsView();
mCharSource.setTitle(getString(R.string.char_source));
mCharSource.setFullSpan(true);
items.add(mCharSource);
}
Aggregations