Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DChartDataUsagePreferenceTest.java34 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()
/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java35 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java44 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()
DBatteryHistoryPreferenceTest.java34 import com.android.settings.widget.UsageView;
55 private UsageView mUsageView;
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryPreference.java33 import com.android.settings.widget.UsageView;
118 final UsageView usageView = (UsageView) view.findViewById(R.id.battery_usage); in onBindViewHolder()
DBatteryInfo.java37 import com.android.settings.widget.UsageView;
66 public void bindHistory(final UsageView view, BatteryDataParser... parsers) { in bindHistory()
/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()