Searched refs:UsageView (Results 1 – 5 of 5) sorted by relevance
36 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()
39 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()
35 public class UsageView extends FrameLayout { class41 public UsageView(Context context, AttributeSet attrs) { in UsageView() method in UsageView54 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.UsageView, 0, 0); in UsageView()
49 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()
39 import com.android.settings.widget.UsageView;72 public void bindHistory(final UsageView view, BatteryDataParser... parsers) { in bindHistory()