Home
last modified time | relevance | path

Searched refs:estimate (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DEstimate.kt68 fun storeCachedEstimate(context: Context, estimate: Estimate) { in storeCachedEstimate()
72 estimate.estimateMillis) in storeCachedEstimate()
74 if (estimate.isBasedOnUsage) 1 else 0) in storeCachedEstimate()
76 estimate.averageDischargeTime) in storeCachedEstimate()
/frameworks/base/core/java/android/view/
DVelocityTracker.java267 return estimate(time, xCoeff); in estimateX()
276 return estimate(time, yCoeff); in estimateY()
297 private float estimate(float time, float[] c) { in estimate() method in VelocityTracker.Estimator
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java306 Estimate estimate = refreshEstimateIfNeeded(); in maybeShowBatteryWarningV2() local
309 mLowBatteryReminderLevels[0], estimate.getEstimateMillis(), in maybeShowBatteryWarningV2()
310 estimate.getAverageDischargeTime(), in maybeShowBatteryWarningV2()
312 mEnhancedEstimates.getLowWarningThreshold(), estimate.isBasedOnUsage(), in maybeShowBatteryWarningV2()
337 final Estimate estimate = mEnhancedEstimates.getEstimate(); in refreshEstimateIfNeeded() local
339 Slog.d(TAG, "updated estimate: " + estimate.getEstimateMillis()); in refreshEstimateIfNeeded()
341 return estimate; in refreshEstimateIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java83 void onBatteryRemainingEstimateRetrieved(@Nullable String estimate); in onBatteryRemainingEstimateRetrieved() argument
DBatteryControllerImpl.java248 String estimate = generateTimeRemainingString(); in notifyEstimateFetchCallbacks() local
250 completion.onBatteryRemainingEstimateRetrieved(estimate); in notifyEstimateFetchCallbacks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java355 mBatteryController.getEstimatedTimeRemainingString((String estimate) -> { in updatePercentText() argument
356 if (estimate != null) { in updatePercentText()
357 mBatteryPercentView.setText(estimate); in updatePercentText()
360 mLevel, estimate)); in updatePercentText()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java509 Estimate estimate = new Estimate(BELOW_HYBRID_THRESHOLD, true, 0); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull() local
513 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
526 estimate = new Estimate(BELOW_SEVERE_HYBRID_THRESHOLD, true, 0); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
527 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
536 estimate = new Estimate(BELOW_HYBRID_THRESHOLD, true, 0); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
537 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp183 int32_t estimate = *it; in estimateBandwidth() local
184 if (minEstimate < 0 || minEstimate > estimate) { in estimateBandwidth()
185 minEstimate = estimate; in estimateBandwidth()
187 if (maxEstimate < 0 || maxEstimate < estimate) { in estimateBandwidth()
188 maxEstimate = estimate; in estimateBandwidth()
/frameworks/native/opengl/specs/
DEGL_ANDROID_get_frame_timestamps.txt144 composition. This can be used to estimate the latency of the
/frameworks/base/core/proto/android/os/
Dbatterystats.proto150 // calculate an estimate, or if the battery is currently discharging.
154 // calculate an estimate, or if the battery is currently charging.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DCHANGES.txt1170 * All message classes now have a SpaceUsed() method which returns an estimate
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt83107 Landroid/view/VelocityTracker$Estimator;->estimate(F[F)F