Home
last modified time | relevance | path

Searched refs:increment (Results 1 – 25 of 56) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/photos/
DSelectionManager.java62 int increment = selected ? 1 : -1; in onItemSelectedStateChanged() local
64 mSelectedTotalCount += increment; in onItemSelectedStateChanged()
68 mSelectedDeletableCount += increment; in onItemSelectedStateChanged()
71 mSelectedEditableCount += increment; in onItemSelectedStateChanged()
74 mSelectedCroppableCount += increment; in onItemSelectedStateChanged()
77 mSelectedTrimmableCount += increment; in onItemSelectedStateChanged()
80 mSelectedMuteableCount += increment; in onItemSelectedStateChanged()
83 mSelectedShareableCount += increment; in onItemSelectedStateChanged()
85 mSelectedShareableImageCount += increment; in onItemSelectedStateChanged()
87 mSelectedShareableVideoCount += increment; in onItemSelectedStateChanged()
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DEntityTypeCounterTest.java39 mCounter.increment(TextClassifier.TYPE_URL); in testIncrementAndGetCount()
40 mCounter.increment(TextClassifier.TYPE_URL); in testIncrementAndGetCount()
41 mCounter.increment(TextClassifier.TYPE_URL); in testIncrementAndGetCount()
43 mCounter.increment(TextClassifier.TYPE_PHONE); in testIncrementAndGetCount()
44 mCounter.increment(TextClassifier.TYPE_PHONE); in testIncrementAndGetCount()
53 mCounter.increment(TextClassifier.TYPE_DATE_TIME); in testIncrementAndGetCount_typeDateAndDateTime()
54 mCounter.increment(TextClassifier.TYPE_DATE); in testIncrementAndGetCount_typeDateAndDateTime()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DScheduledProgramReaperTest.java95 mFakeClock.increment(TimeUnit.DAYS); in testRun_oneRecordingsStarted()
104 mFakeClock.increment(TimeUnit.DAYS); in testRun_oneRecordingsFinished()
105 mFakeClock.increment(TimeUnit.MINUTES, 2); in testRun_oneRecordingsFinished()
114 mFakeClock.increment(TimeUnit.DAYS, 1 + ScheduledProgramReaper.DAYS); in testRun_oneRecordingsExpired()
115 mFakeClock.increment(TimeUnit.MILLISECONDS, DURATION); in testRun_oneRecordingsExpired()
117 mFakeClock.increment(TimeUnit.SECONDS, 1); in testRun_oneRecordingsExpired()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DTemperatureControlViewTest.java126 float increment = mTemperatureControlView.getCelsiusTemperatureIncrement(); in onHoldIncreaseButtonDown_inCelsius_increasesThreeDegreesCelsius() local
127 float expectedNewTemperature = (float) mCarPropertyValue.getValue() + increment; in onHoldIncreaseButtonDown_inCelsius_increasesThreeDegreesCelsius()
147 float increment = mTemperatureControlView.getCelsiusTemperatureIncrement(); in onHoldDecreaseButtonDown_inCelsius_decreasesThreeDegreesCelsius() local
148 float expectedNewTemperature = (float) mCarPropertyValue.getValue() - increment; in onHoldDecreaseButtonDown_inCelsius_decreasesThreeDegreesCelsius()
168 float increment = mTemperatureControlView.getCelsiusTemperatureIncrement(); in onHoldIncreaseButtonDown_inFahrenheit_increasesThreeDegreesFahrenheit() local
169 float expectedNewTemperature = (float) mCarPropertyValue.getValue() + increment; in onHoldIncreaseButtonDown_inFahrenheit_increasesThreeDegreesFahrenheit()
189 float increment = mTemperatureControlView.getCelsiusTemperatureIncrement(); in onHoldDecreaseButtonDown_inFahrenheit_decreasesThreeDegreesFahrenheit() local
190 float expectedNewTemperature = (float) mCarPropertyValue.getValue() - increment; in onHoldDecreaseButtonDown_inFahrenheit_decreasesThreeDegreesFahrenheit()
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeClock.java72 public void increment(TimeUnit unit) { in increment() method in FakeClock
73 increment(unit, 1); in increment()
82 public void increment(TimeUnit unit, long amount) { in increment() method in FakeClock
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DBitwiseInputStream.java99 int increment = Math.min(8, bits - (i << 3)); in readByteArray() local
100 arr[i] = (byte) (read(increment) << (8 - increment)); in readByteArray()
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/
DRealLocationListeningAccountantTest.java73 Duration increment = seconds(50); in depositActiveListeningAmount_capped() local
76 mAccountant.depositActiveListeningAmount(increment); in depositActiveListeningAmount_capped()
81 mAccountant.depositActiveListeningAmount(increment); in depositActiveListeningAmount_capped()
100 Duration increment = seconds(50); in accrueActiveListeningBudget_capped() local
103 mAccountant.accrueActiveListeningBudget(increment); in accrueActiveListeningBudget_capped()
108 mAccountant.accrueActiveListeningBudget(increment); in accrueActiveListeningBudget_capped()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterFx.java92 int increment = stride * 256; // 256 lines in apply() local
93 for (int i = 0; i < max; i += increment) { in apply()
95 int end = i + increment; in apply()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DIntCounterTest.java57 counter.increment(k); in testAddToCounter()
82 counter.increment(k); in testAddToClampedCounter()
DIntHistogramTest.java59 mHistogram.increment(value); in incrementValueAndVerify()
279 mHistogram.increment(i); in testQuantileUniformDistribution()
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DEntityTypeCounter.java39 void increment(@NonNull String entityType) { in increment() method in EntityTypeCounter
70 counter.increment(entityType); in fromTextLinks()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DLinearVhalEventGenerator.java66 LinearVhalEventGenerator setIncrement(float increment) { in setIncrement() argument
67 mIncrement = increment; in setIncrement()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java851 mBlockedBssidPerReasonCount.increment(blockReason); in incrementBssidBlocklistCount()
855 mBlockedConfigurationPerReasonCount.increment(blockReason); in incrementWificonfigurationBlocklistCount()
3389 mTxLinkSpeedCount2g.increment(txLinkSpeed); in incrementTxLinkSpeedBandCount()
3391 mTxLinkSpeedCount5gLow.increment(txLinkSpeed); in incrementTxLinkSpeedBandCount()
3393 mTxLinkSpeedCount5gMid.increment(txLinkSpeed); in incrementTxLinkSpeedBandCount()
3395 mTxLinkSpeedCount5gHigh.increment(txLinkSpeed); in incrementTxLinkSpeedBandCount()
3397 mTxLinkSpeedCount6gLow.increment(txLinkSpeed); in incrementTxLinkSpeedBandCount()
3399 mTxLinkSpeedCount6gMid.increment(txLinkSpeed); in incrementTxLinkSpeedBandCount()
3401 mTxLinkSpeedCount6gHigh.increment(txLinkSpeed); in incrementTxLinkSpeedBandCount()
3420 mRxLinkSpeedCount2g.increment(rxLinkSpeed); in incrementRxLinkSpeedBandCount()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DQuickstepOnboardingPrefs.java86 && HOTSEAT_DISCOVERY_TIP_COUNT.increment(launcher)) { in setup()
145 ALL_APPS_VISITED_COUNT.increment(launcher); in setup()
/packages/modules/Bluetooth/system/blueberry/facade/hci/
Dle_advertising_manager_facade.proto60 // Unit: number of Bluetooth slots in 0.125 ms increment
62 // Unit: number of Bluetooth slots in 0.125 ms increment
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSecondLevelIndicatorControlBar.java183 int increment = iconWidth + ICON_SPACING; in onLayout() local
186 offsetX += increment; in onLayout()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/login/
DLoginActivity.java140 idlingResource.increment(); in onCreate()
152 idlingResource.increment(); in onCreate()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/
DCarUiPortraitTemperatureControlView.java224 private void incrementTemperature(boolean increment) { in incrementTemperature() argument
229 float newTempC = increment in incrementTemperature()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureControlView.java225 private void incrementTemperature(boolean increment) { in incrementTemperature() argument
230 float newTempC = increment in incrementTemperature()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayPredictionsImpl.java46 ALL_APPS_VISITED_COUNT.increment(mContext); in updateAppDivider()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOnboardingPrefs.kt46 fun increment(c: Context): Boolean { in increment() method in com.android.launcher3.util.OnboardingPrefs.CountedItem
/packages/modules/Virtualization/service_vm/manager/src/
Dlib.rs73 fn increment(&self) { in increment() method
87 PENDING_REQUESTS.increment(); in process_request()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DObjectCounter.java63 public void increment(K key) { in increment() method in ObjectCounter
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairGattServer.java144 public void increment() { in increment() method in FastPairGattServer.DecryptionFailureCounter
672 mFailureCounter.increment(); in processKeyBasedPairing()
701 mFailureCounter.increment(); in processKeyBasedPairing()
737 mFailureCounter.increment(); in processKeyBasedPairing()
DBluetoothConnectionRetryManager.java130 int increment() { in increment() method in BluetoothConnectionRetryManager.FirstConnectionTracker.RetryTokenAndCounter
204 int countForLogs = counter.increment(); in handleProfileConnectionStateChange()

123