Searched refs:CycleAdapter (Results 1 – 4 of 4) sorted by relevance
24 public class CycleAdapter extends SettingsSpinnerAdapter<CycleAdapter.CycleItem> { class28 public CycleAdapter(Context context, SpinnerInterface spinner) { in CycleAdapter() method in CycleAdapter54 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()
29 public class SpinnerPreference extends Preference implements CycleAdapter.SpinnerInterface {31 private CycleAdapter mAdapter;45 public void setAdapter(CycleAdapter cycleAdapter) { in setAdapter()
30 import com.android.settings.datausage.CycleAdapter.SpinnerInterface59 private val cycleAdapter = CycleAdapter(context, object : SpinnerInterface {60 override fun setAdapter(cycleAdapter: CycleAdapter) { in setAdapter()
40 private var cycleAdapter: CycleAdapter? = null50 cycleAdapter = CycleAdapter(mContext, preference) in getAvailabilityStatus()