Home
last modified time | relevance | path

Searched refs:mCycleSpinner (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java109 Spinner mCycleSpinner; field in DataUsageList
161 mCycleSpinner = mHeader.findViewById(R.id.filter_spinner); in onViewCreated()
162 mCycleSpinner.setVisibility(View.GONE); in onViewCreated()
163 mCycleAdapter = new CycleAdapter(mCycleSpinner.getContext(), new SpinnerInterface() { in onViewCreated()
166 mCycleSpinner.setAdapter(cycleAdapter); in onViewCreated()
171 mCycleSpinner.setOnItemSelectedListener(listener); in onViewCreated()
176 return mCycleSpinner.getSelectedItem(); in onViewCreated()
181 mCycleSpinner.setSelection(position); in onViewCreated()
315 ? mCycleData.get(mCycleSpinner.getSelectedItemPosition()).getTotalUsage() : 0; in updateDetailData()
434 mCycleData.get(mCycleSpinner.getSelectedItemPosition()).getEndTime()); in startAppDataUsage()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageList.java117 private Spinner mCycleSpinner; field in DataUsageList
160 mCycleSpinner = mHeader.findViewById(R.id.filter_spinner); in onViewCreated()
161 mCycleAdapter = new CycleAdapter(mCycleSpinner.getContext(), new SpinnerInterface() { in onViewCreated()
164 mCycleSpinner.setAdapter(cycleAdapter); in onViewCreated()
169 mCycleSpinner.setOnItemSelectedListener(listener); in onViewCreated()
174 return mCycleSpinner.getSelectedItem(); in onViewCreated()
179 mCycleSpinner.setSelection(position); in onViewCreated()
312 ? mCycleData.get(mCycleSpinner.getSelectedItemPosition()).getTotalUsage() : 0; in updateDetailData()
431 mCycleData.get(mCycleSpinner.getSelectedItemPosition()).getEndTime()); in startAppDataUsage()
469 mCycleSpinner.getSelectedItem();
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageListTest.java196 mDataUsageList.mCycleSpinner = spinner; in onLoadFinished_networkCycleDataCallback_shouldShowCycleSpinner()