Home
last modified time | relevance | path

Searched refs:fold (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/native/libs/debugstore/rust/src/
Dstorage.rs36 pub fn fold<U, F>(&self, init: U, mut func: F) -> U in fold() method
62 let sum = storage.fold(0, |acc, &x| acc + x); in test_insert_and_retrieve()
73 let sum = storage.fold(0, |acc, &x| acc + x); in test_fold_functionality()
87 let first_sum = storage.fold(0, |acc, &x| acc + x); in test_insert_and_retrieve_multiple_values()
93 let second_sum = storage.fold(0, |acc, &x| acc + x); in test_insert_and_retrieve_multiple_values()
106 let sum = storage.fold(0, |acc, &x| acc + x); in test_storage_limit()
131 let count = storage.fold(0, |acc, _| acc + 1); in test_concurrent_insertions()
Dcore.rs130 self.event_store.fold(String::new(), |mut acc, event| { in fmt()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/fold/ui/composable/
DFoldPosture.kt17 package com.android.systemui.fold.ui.composable
27 import com.android.systemui.fold.ui.helper.FoldPosture
28 import com.android.systemui.fold.ui.helper.foldPostureInternal
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldAodAnimationControllerTest.kt144 fold() in onFolded_aodDisabled_doesNotLogLatency()
156 fold() in onFolded_aodEnabled_logsLatency()
169 fold() in onFolded_onScreenTurningOnInvokedTwice_doesNotLogLatency()
186 fold() in onFolded_onScreenTurningOnWithoutDozingThenWithDozing_doesNotLogLatency()
206 fold() in onFolded_animationCancelled_doesNotLogLatency()
223 private fun fold() = sendFoldEvent(folded = true) in fold() method in com.android.systemui.unfold.FoldAodAnimationControllerTest
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/
DDisplayFoldFeatureUtil.java58 for (CommonFoldingFeature fold : folds) { in extractDisplayFoldFeatures()
59 foldFeatures.add(DisplayFoldFeatureUtil.create(fold, isHalfOpenedSupported)); in extractDisplayFoldFeatures()
/frameworks/base/tools/processors/immutability/src/android/processor/immutability/
DImmutabilityProcessor.kt144 .fold(false) { anyError, field -> in <lambda>()
161 return@fold anyError in <lambda>()
166 return@fold true in <lambda>()
169 return@fold anyError in <lambda>()
179 .fold(false) { anyError, innerClass -> in <lambda>()
198 .fold(false) { anyError, method -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fold/ui/helper/
DFoldPosture.kt17 package com.android.systemui.fold.ui.helper in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractor.kt151 clock.smallClock.animations.fold(foldFraction) in <lambda>()
152 clock.largeClock.animations.fold(foldFraction) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/fold/ui/helper/
DFoldPostureTest.kt17 package com.android.systemui.fold.ui.helper
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DParameters.kt190 .fold(onSuccess = { inner.add(it) }, onFailure = { throw it }) in getValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/ui/view/
DMirroringConfirmationDialogDelegate.kt126 animations.fold(0) { acc: Int, it -> acc or it.typeMask } in <lambda>()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/
DClockProviderPlugin.kt193 fun fold(fraction: Float) in onTimeZoneChanged() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryDumper.kt96 memoryUse.fold(Totals()) { t, usage -> in <lambda>()
/frameworks/base/core/java/android/window/flags/
Dwindowing_frontend.aconfig76 description: "Reduce unnecessary visibility or lifecycle changes when changing fold state"
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DFakeSharedPreferencesTest.kt125 data.fold(editor) { ed, d -> in <lambda>()
/frameworks/proto_logging/stats/atoms/sysui/
Dsysui_extension_atoms.proto108 // This field defines the fold-state of the device.
146 // The time elapsed between the hall sensor unfold/fold event and the device state change
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java403 split[n] = fold(split[n]); in getRuleStrings()
432 public static String fold(String unfoldedIcalContent) { in fold() method in RecurrenceSet
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManager.kt193 sections.fold(false) { changed, section -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitchController.java506 clock.getSmallClock().getAnimations().fold(foldFraction); in animateFoldToAod()
507 clock.getLargeClock().getAnimations().fold(foldFraction); in animateFoldToAod()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DDefaultClockController.kt303 override fun fold(fraction: Float) { in fold() method
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DBouncerContent.kt104 import com.android.systemui.fold.ui.composable.foldPosture in <lambda>()
105 import com.android.systemui.fold.ui.helper.FoldPosture in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayActorEnforcerTests.kt305 .fold(TestState.create()) { testState, case -> in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/shared/animation/
DPhysicsAnimatorTest.kt623 updates.values.fold(0, { count, propertyUpdates -> count + propertyUpdates.size })) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardRootViewBinder.kt463 childViews.entries.fold(Int.MAX_VALUE) { currentMin, (viewId, view) -> in <lambda>()
/frameworks/proto_logging/stats/enums/telephony/
Denums.proto652 * enum for device fold state

12