/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/ |
D | UnfoldLatencyTrackerTest.kt | 85 sendFoldEvent(folded = true) in unfold_startedFolded_animationsDisabled_eventPropagatedOnScreenTurnedOnEvent() 86 sendFoldEvent(folded = false) in unfold_startedFolded_animationsDisabled_eventPropagatedOnScreenTurnedOnEvent() 97 sendFoldEvent(folded = true) in unfold_startedFolded_animationsEnabledOnScreenTurnedOn_eventNotFinished() 98 sendFoldEvent(folded = false) in unfold_startedFolded_animationsEnabledOnScreenTurnedOn_eventNotFinished() 109 sendFoldEvent(folded = false) in firstFoldEventAnimationsEnabledOnScreenTurnedOnAndTransitionStarted_eventNotPropagated() 120 sendFoldEvent(folded = true) in secondFoldEventAnimationsEnabledOnScreenTurnedOnAndTransitionStarted_eventPropagated() 121 sendFoldEvent(folded = false) in secondFoldEventAnimationsEnabledOnScreenTurnedOnAndTransitionStarted_eventPropagated() 133 sendFoldEvent(folded = false) in unfoldFoldUnfoldAnimationsEnabledOnScreenTurnedOnAndTransitionStarted_eventPropagated() 134 sendFoldEvent(folded = true) in unfoldFoldUnfoldAnimationsEnabledOnScreenTurnedOnAndTransitionStarted_eventPropagated() 135 sendFoldEvent(folded = false) in unfoldFoldUnfoldAnimationsEnabledOnScreenTurnedOnAndTransitionStarted_eventPropagated() [all …]
|
D | FoldAodAnimationControllerTest.kt | 134 sendFoldEvent(folded = false) in setup() 223 private fun fold() = sendFoldEvent(folded = true) in fold() 227 private fun sendFoldEvent(folded: Boolean) { in fold() 228 val state = if (folded) deviceStates.folded else deviceStates.unfolded in fold()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | UnfoldLatencyTracker.kt | 57 private var folded: Boolean? = null variable in com.android.systemui.unfold.UnfoldLatencyTracker 91 "onScreenTurnedOn: folded = $folded, isTransitionEnabled = $isTransitionEnabled" in onScreenTurnedOn() 98 if (folded == false && isTransitionEnabled == false) { in onScreenTurnedOn() 115 "onTransitionStarted: folded = $folded, isTransitionEnabled = $isTransitionEnabled" in onTransitionStarted() 119 if (folded == false && isTransitionEnabled == true) { in onTransitionStarted() 144 private fun onFoldEvent(folded: Boolean) { in onFoldEvent() 145 val oldFolded = this.folded in onFoldEvent() 147 if (oldFolded != folded) { in onFoldEvent() 148 this.folded = folded in onFoldEvent() 151 Log.d(TAG, "Received onFoldEvent = $folded") in onFoldEvent() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/ |
D | DeviceFoldStateProviderTest.kt | 165 setFoldState(folded = true) in <lambda>() 172 setFoldState(folded = false) in <lambda>() 179 setFoldState(folded = true) in <lambda>() 182 setFoldState(folded = false) in <lambda>() 195 setFoldState(folded = true) in <lambda>() 198 setFoldState(folded = false) in <lambda>() 214 setFoldState(folded = true) in <lambda>() 221 setFoldState(folded = false) in <lambda>() 228 setFoldState(folded = true) in <lambda>() 239 setFoldState(folded = false) in <lambda>() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DisplayFoldDurationLogger.java | 56 void onFinishedWakingUp(Boolean folded) { in onFinishedWakingUp() argument 57 if (folded == null) { in onFinishedWakingUp() 59 } else if (folded) { in onFinishedWakingUp() 73 void setDeviceFolded(boolean folded) { in setDeviceFolded() argument 80 mScreenState = folded ? SCREEN_STATE_ON_FOLDED : SCREEN_STATE_ON_UNFOLDED; in setDeviceFolded() 84 void logFocusedAppWithFoldState(boolean folded, String packageName) { in logFocusedAppWithFoldState() argument 88 .setSubtype(folded ? LOG_SUBTYPE_FOLDED : LOG_SUBTYPE_UNFOLDED) in logFocusedAppWithFoldState()
|
D | DisplayFoldController.java | 68 new FoldStateListener(context, folded -> setDeviceFolded(folded))); in DisplayFoldController() 79 private void setDeviceFolded(boolean folded) { in setDeviceFolded() argument 80 if (mFolded != null && mFolded == folded) { in setDeviceFolded() 95 if (folded) { in setDeviceFolded() 116 mDurationLogger.setDeviceFolded(folded); in setDeviceFolded() 117 mDurationLogger.logFocusedAppWithFoldState(folded, mFocusedApp); in setDeviceFolded() 118 mFolded = folded; in setDeviceFolded() 123 mListeners.getBroadcastItem(i).onDisplayFoldChanged(mDisplayId, folded); in setDeviceFolded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/ |
D | FoldableTestUtils.kt | 33 val folded = getDeviceState( in findDeviceStates() constant 37 identifier = folded.identifier + 1 in findDeviceStates() 39 return FoldableDeviceStates(folded = folded, unfolded = unfolded) in findDeviceStates() 51 data class FoldableDeviceStates(val folded: DeviceState, val unfolded: DeviceState) constant in com.android.systemui.unfold.util.FoldableDeviceStates
|
/frameworks/base/core/java/android/hardware/devicestate/ |
D | DeviceStateManager.java | 265 this(context, folded -> {}); in FoldStateListener() 277 final boolean folded; in onDeviceStateChanged() 280 folded = deviceState.hasProperty( in onDeviceStateChanged() 284 folded = ArrayUtils.contains(mFoldedDeviceStates, deviceState.getIdentifier()); in onDeviceStateChanged() 287 if (lastResult == null || !lastResult.equals(folded)) { in onDeviceStateChanged() 288 lastResult = folded; in onDeviceStateChanged() 289 mDelegate.accept(folded); in onDeviceStateChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
D | LogContextInteractorImplTest.kt | 212 var folded: Int? = null in contextSubscriberChanges() variable 219 folded = foldState in contextSubscriberChanges() 233 assertThat(folded).isEqualTo(FoldState.FULLY_CLOSED) in contextSubscriberChanges() 241 assertThat(folded).isEqualTo(FoldState.HALF_OPENED) in contextSubscriberChanges() 256 assertThat(folded).isEqualTo(FoldState.HALF_OPENED) in contextSubscriberChanges()
|
/frameworks/base/core/java/android/view/ |
D | IDisplayFoldListener.aidl | 25 void onDisplayFoldChanged(int displayId, boolean folded); in onDisplayFoldChanged() argument
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | nbody.rscript | 5 float espSqr = .2f; // will be constant folded 6 float dt = 0.5f; // will be constant folded 7 float3 half_dt = {0.25f, 0.25f, 0.25f}; // will be constant folded
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | FoldStateListener.kt | 39 fun onFoldStateChanged(folded: Boolean, willGoToSleep: Boolean) in onFoldStateChanged()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | ISpatializer.aidl | 133 void setFoldState(boolean folded); in setFoldState() argument
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
D | WallpaperCropperTest.java | 614 for (int folded: List.of(foldedOne, foldedTwo)) { in testGetCrop_hasRotatedFoldedSuggestedCrop() 615 Rect foldedCrop = centerOf(bitmapRect, mDisplaySizes.get(folded)); in testGetCrop_hasRotatedFoldedSuggestedCrop() 617 suggestedCrops.put(folded, foldedCrop); in testGetCrop_hasRotatedFoldedSuggestedCrop() 618 int rotatedFolded = getRotatedOrientation(folded); in testGetCrop_hasRotatedFoldedSuggestedCrop()
|
/frameworks/av/services/audiopolicy/service/ |
D | Spatializer.cpp | 748 Status Spatializer::setFoldState(bool folded) { in setFoldState() argument 749 ALOGV("%s foldState %d", __func__, (int)folded); in setFoldState() 750 mLocalLog.log("%s with %d", __func__, (int)folded); in setFoldState() 752 mFoldedState = folded; in setFoldState()
|
D | Spatializer.h | 128 binder::Status setFoldState(bool folded) override;
|
/frameworks/compile/mclinker/tools/mcld/ |
D | Options.td | 105 HelpText<"List all sections folded by ICF">; 109 HelpText<"Do not list sections folded by ICF">;
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 239 void onDeviceStateChanged(boolean folded); in onDeviceStateChanged() argument 255 boolean folded = ArrayUtils.contains(mFoldedDeviceStates, state); in handleStateChange() 257 mFoldedDeviceState = folded; in handleStateChange() 262 callback.onDeviceStateChanged(folded); in handleStateChange()
|
D | CameraCharacteristics.java | 252 public final void onDeviceStateChanged(boolean folded) { in getDeviceStateListener() 254 mFoldedDeviceState = folded; in getDeviceStateListener()
|
/frameworks/proto_logging/stats/atoms/sysui/ |
D | sysui_extension_atoms.proto | 159 // Device folded/unfolded when on lockscreen.
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | SpatializerHelper.java | 1178 synchronized void setFoldState(boolean folded) { in setFoldState() argument 1183 mSpat.setFoldState(folded); in setFoldState()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 968 mFoldStateListener = new FoldStateListener(mContext, folded -> { in CameraServiceProxy() 969 if (folded) { in CameraServiceProxy()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptViewModelTest.kt | 726 val folded = INNER_SCREEN_SMALLEST_SCREEN_WIDTH_THRESHOLD_DP - 1 in <lambda>() constant 730 testConfig.smallestScreenWidthDp = folded in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | StageCoordinator.java | 2581 void onFoldedStateChanged(boolean folded) { in onFoldedStateChanged() argument 2582 ProtoLog.d(WM_SHELL_SPLIT_SCREEN, "onFoldedStateChanged: folded=%b", folded); in onFoldedStateChanged() 2584 if (!folded) return; in onFoldedStateChanged()
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 6731 // SUBTYPE: 1 if display is folded, 0 if not.
|