Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DChartDataUsagePreferenceTest.java36 import com.android.settings.widget.UsageView;
79 final UsageView usageView = mock(UsageView.class); in calcPoints_dataAvailableFromCycleStart_shouldAddDataPointsOnly()
99 final UsageView usageView = mock(UsageView.class); in calcPoints_dataNotAvailableAtCycleStart_shouldIndicateStartOfData()
120 final UsageView usageView = mock(UsageView.class); in calcPoints_shouldNotDrawPointForFutureDate()
198 final UsageView chart = (UsageView) mHolder.findViewById(R.id.data_usage); in notifyChange_nonEmptyDataUsage_shouldHaveSingleContentDescription()
/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java39 import com.android.settings.widget.UsageView;
74 final UsageView chart = holder.itemView.requireViewById(R.id.data_usage); in onBindViewHolder()
99 void calcPoints(UsageView chart, @NonNull List<NetworkUsageData> usageSummary) { in calcPoints()
124 UsageView chart, @NonNull List<NetworkUsageData> usageSummary) { in setupContentDescription()
253 private void bindNetworkPolicy(UsageView chart, NetworkPolicy policy, int top) { in bindNetworkPolicy()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageView.java35 public class UsageView extends FrameLayout { class
41 public UsageView(Context context, AttributeSet attrs) { in UsageView() method in UsageView
54 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.UsageView, 0, 0); in UsageView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java49 import com.android.settings.widget.UsageView;
894 UsageView view = mock(UsageView.class); in assertOnlyHistory()
905 UsageView view = mock(UsageView.class); in assertHistoryAndLinearProjection()
922 UsageView view = mock(UsageView.class); in assertHistoryAndEnhancedProjection()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryInfo.java39 import com.android.settings.widget.UsageView;
72 public void bindHistory(final UsageView view, BatteryDataParser... parsers) { in bindHistory()