Home
last modified time | relevance | path

Searched refs:CycleAdapter (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DCycleAdapter.java24 public class CycleAdapter extends SettingsSpinnerAdapter<CycleAdapter.CycleItem> { class
28 public CycleAdapter(Context context, SpinnerInterface spinner) { in CycleAdapter() method in CycleAdapter
54 add(new CycleAdapter.CycleItem(getContext(), cycles.get(i + 1), cycles.get(i))); in setInitialCycleList()
67 final CycleAdapter.CycleItem previousItem = (CycleAdapter.CycleItem) in updateCycleList()
73 add(new CycleAdapter.CycleItem(context, cycle.getLower(), cycle.getUpper())); in updateCycleList()
118 void setAdapter(CycleAdapter cycleAdapter); in setAdapter()
DSpinnerPreference.java29 public class SpinnerPreference extends Preference implements CycleAdapter.SpinnerInterface {
31 private CycleAdapter mAdapter;
45 public void setAdapter(CycleAdapter cycleAdapter) { in setAdapter()
DDataUsageListHeaderController.kt30 import com.android.settings.datausage.CycleAdapter.SpinnerInterface
59 private val cycleAdapter = CycleAdapter(context, object : SpinnerInterface {
60 override fun setAdapter(cycleAdapter: CycleAdapter) { in setAdapter()
DAppDataUsageCycleController.kt40 private var cycleAdapter: CycleAdapter? = null
50 cycleAdapter = CycleAdapter(mContext, preference) in getAvailabilityStatus()