Search in sources :

Example 1 with StatsView

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);
}
Also used : StatsView(com.moro.mtweaks.views.recyclerview.StatsView)

Example 2 with StatsView

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);
}
Also used : StatsView(com.moro.mtweaks.views.recyclerview.StatsView) TemperatureView(com.moro.mtweaks.views.recyclerview.overallstatistics.TemperatureView)

Example 3 with StatsView

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);
}
Also used : StatsView(com.moro.mtweaks.views.recyclerview.StatsView)

Example 4 with StatsView

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);
}
Also used : StatsView(com.moro.mtweaks.views.recyclerview.StatsView)

Example 5 with StatsView

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);
}
Also used : StatsView(com.moro.mtweaks.views.recyclerview.StatsView)

Aggregations

StatsView (com.moro.mtweaks.views.recyclerview.StatsView)9 TemperatureView (com.moro.mtweaks.views.recyclerview.overallstatistics.TemperatureView)1