Searched refs:UsageView (Results 1 – 11 of 11) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | ChartDataUsagePreferenceTest.java | 26 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/apps/Settings/src/com/android/settings/datausage/ |
D | ChartDataUsagePreference.java | 33 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | ChartDataUsagePreference.java | 33 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/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryInfoTest.java | 42 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()
|
D | BatteryHistoryPreferenceTest.java | 34 import com.android.settings.widget.UsageView; 55 private UsageView mUsageView;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryHistoryPreference.java | 30 import com.android.car.developeroptions.widget.UsageView; 92 UsageView usageView = (UsageView) view.findViewById(R.id.battery_usage); in onBindViewHolder()
|
D | BatteryInfo.java | 35 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/fuelgauge/ |
D | BatteryHistoryPreference.java | 30 import com.android.settings.widget.UsageView; 92 UsageView usageView = (UsageView) view.findViewById(R.id.battery_usage); in onBindViewHolder()
|
D | BatteryInfo.java | 35 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/widget/ |
D | UsageView.java | 32 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/apps/Settings/src/com/android/settings/widget/ |
D | UsageView.java | 32 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()
|