Searched refs:UsageView (Results 1 – 7 of 7) sorted by relevance
34 import com.android.settings.widget.UsageView;78 final UsageView usageView = mock(UsageView.class); in calcPoints_dataAvailableFromCycleStart_shouldAddDataPointsOnly()94 final UsageView usageView = mock(UsageView.class); in calcPoints_dataNotAvailableAtCycleStart_shouldIndicateStartOfData()111 final UsageView usageView = mock(UsageView.class); in calcPoints_shouldNotDrawPointForFutureDate()166 final UsageView chart = (UsageView) mHolder.findViewById(R.id.data_usage); in notifyChange_nonEmptyDataUsage_shouldHaveSingleContentDescription()
35 import com.android.settings.widget.UsageView;74 final UsageView chart = (UsageView) holder.findViewById(R.id.data_usage); in onBindViewHolder()100 void calcPoints(UsageView chart, List<NetworkCycleData> usageSummary) { in calcPoints()130 private void setupContentDescription(UsageView chart, List<NetworkCycleData> usageSummary) { in setupContentDescription()259 private void bindNetworkPolicy(UsageView chart, NetworkPolicy policy, int top) { in bindNetworkPolicy()
44 import com.android.settings.widget.UsageView;293 UsageView view = mock(UsageView.class); in assertOnlyHistory()304 UsageView view = mock(UsageView.class); in assertHistoryAndLinearProjection()321 UsageView view = mock(UsageView.class); in assertHistoryAndEnhancedProjection()
34 import com.android.settings.widget.UsageView;55 private UsageView mUsageView;
33 import com.android.settings.widget.UsageView;118 final UsageView usageView = (UsageView) view.findViewById(R.id.battery_usage); in onBindViewHolder()
37 import com.android.settings.widget.UsageView;66 public void bindHistory(final UsageView view, BatteryDataParser... parsers) { in bindHistory()
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()