Search in sources :

Example 1 with QSTile

use of com.android.systemui.qs.QSTile in project platform_frameworks_base by android.

the class QSCustomizer method setTileSpecs.

private void setTileSpecs() {
    List<String> specs = new ArrayList<>();
    for (QSTile tile : mHost.getTiles()) {
        specs.add(tile.getTileSpec());
    }
    mTileAdapter.setTileSpecs(specs);
    mRecyclerView.setAdapter(mTileAdapter);
}
Also used : QSTile(com.android.systemui.qs.QSTile) ArrayList(java.util.ArrayList)

Example 2 with QSTile

use of com.android.systemui.qs.QSTile in project android_frameworks_base by ResurrectionRemix.

the class QSCustomizer method setTileSpecs.

private void setTileSpecs() {
    List<String> specs = new ArrayList<>();
    for (QSTile tile : mHost.getTiles()) {
        specs.add(tile.getTileSpec());
    }
    mTileAdapter.setTileSpecs(specs);
    mRecyclerView.setAdapter(mTileAdapter);
}
Also used : QSTile(com.android.systemui.qs.QSTile) ArrayList(java.util.ArrayList)

Example 3 with QSTile

use of com.android.systemui.qs.QSTile in project android_frameworks_base by AOSPA.

the class QSCustomizer method setTileSpecs.

private void setTileSpecs() {
    List<String> specs = new ArrayList<>();
    for (QSTile tile : mHost.getTiles()) {
        specs.add(tile.getTileSpec());
    }
    mTileAdapter.setTileSpecs(specs);
    mRecyclerView.setAdapter(mTileAdapter);
}
Also used : QSTile(com.android.systemui.qs.QSTile) ArrayList(java.util.ArrayList)

Example 4 with QSTile

use of com.android.systemui.qs.QSTile in project android_frameworks_base by DirtyUnicorns.

the class QSCustomizer method setTileSpecs.

private void setTileSpecs() {
    List<String> specs = new ArrayList<>();
    for (QSTile tile : mHost.getTiles()) {
        specs.add(tile.getTileSpec());
    }
    mTileAdapter.setTileSpecs(specs);
    mRecyclerView.setAdapter(mTileAdapter);
}
Also used : QSTile(com.android.systemui.qs.QSTile) ArrayList(java.util.ArrayList)

Example 5 with QSTile

use of com.android.systemui.qs.QSTile in project android_frameworks_base by crdroidandroid.

the class QSCustomizer method setTileSpecs.

private void setTileSpecs() {
    List<String> specs = new ArrayList<>();
    for (QSTile tile : mHost.getTiles()) {
        specs.add(tile.getTileSpec());
    }
    mTileAdapter.setTileSpecs(specs);
    mRecyclerView.setAdapter(mTileAdapter);
}
Also used : QSTile(com.android.systemui.qs.QSTile) ArrayList(java.util.ArrayList)

Aggregations

QSTile (com.android.systemui.qs.QSTile)5 ArrayList (java.util.ArrayList)5