Home
last modified time | relevance | path

Searched refs:UsageView (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DChartDataUsagePreferenceTest.java26 import com.android.settings.widget.UsageView;
65 final UsageView usageView = mock(UsageView.class); in calcPoints_dataAvailableFromCycleStart_shouldAddDataPointsOnly()
81 final UsageView usageView = mock(UsageView.class); in calcPoints_dataNotAvailableAtCycleStart_shouldIndicateStartOfData()
98 final UsageView usageView = mock(UsageView.class); in calcPoints_shouldNotDrawPointForFutureDate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DChartDataUsagePreference.java33 import com.android.car.developeroptions.widget.UsageView;
66 final UsageView chart = (UsageView) holder.findViewById(R.id.data_usage); in onBindViewHolder()
91 void calcPoints(UsageView chart, List<NetworkCycleData> usageSummary) { in calcPoints()
126 private void bindNetworkPolicy(UsageView chart, NetworkPolicy policy, int top) { in bindNetworkPolicy()
/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java33 import com.android.settings.widget.UsageView;
66 final UsageView chart = (UsageView) holder.findViewById(R.id.data_usage); in onBindViewHolder()
91 void calcPoints(UsageView chart, List<NetworkCycleData> usageSummary) { in calcPoints()
126 private void bindNetworkPolicy(UsageView chart, NetworkPolicy policy, int top) { in bindNetworkPolicy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java42 import com.android.settings.widget.UsageView;
277 UsageView view = mock(UsageView.class); in assertOnlyHistory()
288 UsageView view = mock(UsageView.class); in assertHistoryAndLinearProjection()
305 UsageView view = mock(UsageView.class); in assertHistoryAndEnhancedProjection()
DBatteryHistoryPreferenceTest.java34 import com.android.settings.widget.UsageView;
55 private UsageView mUsageView;
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryPreference.java30 import com.android.settings.widget.UsageView;
92 UsageView usageView = (UsageView) view.findViewById(R.id.battery_usage); in onBindViewHolder()
DBatteryInfo.java35 import com.android.settings.widget.UsageView;
62 public void bindHistory(final UsageView view, BatteryDataParser... parsers) { in bindHistory()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryHistoryPreference.java30 import com.android.car.developeroptions.widget.UsageView;
92 UsageView usageView = (UsageView) view.findViewById(R.id.battery_usage); in onBindViewHolder()
DBatteryInfo.java35 import com.android.car.developeroptions.widget.UsageView;
60 public void bindHistory(final UsageView view, BatteryDataParser... parsers) { in bindHistory()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageView.java32 public class UsageView extends FrameLayout { class
38 public UsageView(Context context, AttributeSet attrs) { in UsageView() method in UsageView
51 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.UsageView, 0, 0); in UsageView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUsageView.java32 public class UsageView extends FrameLayout { class
38 public UsageView(Context context, AttributeSet attrs) { in UsageView() method in UsageView
51 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.UsageView, 0, 0); in UsageView()