Home
last modified time | relevance | path

Searched refs:di (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyInsetsTests.java51 final DisplayInfo di = displayInfoForRotation(ROTATION_0, false /* withCutout */); in portrait() local
53 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, 0, NAV_BAR_HEIGHT); in portrait()
54 verifyNonDecorInsets(di, 0, 0, 0, NAV_BAR_HEIGHT); in portrait()
55 verifyConsistency(di); in portrait()
60 final DisplayInfo di = displayInfoForRotation(ROTATION_0, true /* withCutout */); in portrait_withCutout() local
62 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, 0, NAV_BAR_HEIGHT); in portrait_withCutout()
63 verifyNonDecorInsets(di, 0, DISPLAY_CUTOUT_HEIGHT, 0, NAV_BAR_HEIGHT); in portrait_withCutout()
64 verifyConsistency(di); in portrait_withCutout()
69 final DisplayInfo di = displayInfoForRotation(ROTATION_90, false /* withCutout */); in landscape() local
72 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, NAV_BAR_HEIGHT, 0); in landscape()
[all …]
DDisplayPolicyTests.java423 final DisplayInfo di = mDisplayContent.getDisplayInfo(); in testUpdateDisplayConfigurationByDecor() local
426 assertEquals(NAV_BAR_HEIGHT, displayPolicy.getDecorInsetsInfo(di.rotation, in testUpdateDisplayConfigurationByDecor()
427 di.logicalWidth, di.logicalHeight).mConfigInsets.bottom); in testUpdateDisplayConfigurationByDecor()
436 assertEquals(0, displayPolicy.getDecorInsetsInfo(di.rotation, in testUpdateDisplayConfigurationByDecor()
437 di.logicalWidth, di.logicalHeight).mConfigInsets.top); in testUpdateDisplayConfigurationByDecor()
441 assertEquals(STATUS_BAR_HEIGHT, displayPolicy.getDecorInsetsInfo(di.rotation, in testUpdateDisplayConfigurationByDecor()
442 di.logicalWidth, di.logicalHeight).mConfigInsets.top); in testUpdateDisplayConfigurationByDecor()
446 displayPolicy.getDecorInsetsInfo(Surface.ROTATION_90, di.logicalHeight, di.logicalWidth); in testUpdateDisplayConfigurationByDecor()
475 di.logicalHeight, di.logicalWidth).mConfigInsets.bottom); in testUpdateDisplayConfigurationByDecor()
481 di.logicalHeight, di.logicalWidth).mConfigInsets.bottom); in testUpdateDisplayConfigurationByDecor()
[all …]
DPossibleDisplayInfoMapperTests.java115 for (DisplayInfo di : displayInfos) { in testUpdatePossibleDisplayInfos_secondDisplayAdded_sameGroup()
116 if ((di.flags & FLAG_PRESENTATION) != 0) { in testUpdatePossibleDisplayInfos_secondDisplayAdded_sameGroup()
117 secondDisplayInfos.add(di); in testUpdatePossibleDisplayInfos_secondDisplayAdded_sameGroup()
119 defaultDisplayInfos.add(di); in testUpdatePossibleDisplayInfos_secondDisplayAdded_sameGroup()
DFrameRateSelectionPriorityTests.java83 DisplayInfo di = new DisplayInfo(mDisplayInfo); in setUp() local
84 Mode defaultMode = di.getDefaultMode(); in setUp()
85 di.supportedModes = new Mode[] { in setUp()
91 di.defaultModeId = 1; in setUp()
92 mRefreshRatePolicy = new RefreshRatePolicy(mWm, di, mDenylist); in setUp()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java330 for (DeviceInfo di : mConnectedDevices.values()) { in synchronizeBleDeviceInInventory()
331 if (di.mDeviceType != updatedDevice.getInternalDeviceType()) { in synchronizeBleDeviceInInventory()
334 if (di.mDeviceAddress.equals(updatedDevice.getDeviceAddress())) { in synchronizeBleDeviceInInventory()
336 if (!(di.mDeviceType == ads2.getInternalDeviceType() in synchronizeBleDeviceInInventory()
337 && di.mPeerDeviceAddress.equals(ads2.getDeviceAddress()))) { in synchronizeBleDeviceInInventory()
355 if (di.mPeerDeviceAddress.equals(updatedDevice.getDeviceAddress())) { in synchronizeBleDeviceInInventory()
357 if (!(di.mDeviceType == ads2.getInternalDeviceType() in synchronizeBleDeviceInInventory()
358 && di.mDeviceAddress.equals(ads2.getDeviceAddress()))) { in synchronizeBleDeviceInInventory()
766 for (DeviceInfo di : mConnectedDevices.values()) { in onRestoreDevices()
767 mAudioSystem.setDeviceConnectionState(new AudioDeviceAttributes(di.mDeviceType, in onRestoreDevices()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DPossibleDisplayInfoMapper.java102 for (DisplayInfo di : displayInfos) { in updateDisplayInfos()
104 Set<DisplayInfo> priorDisplayInfos = mDisplayInfos.get(di.displayId, new ArraySet<>()); in updateDisplayInfos()
105 priorDisplayInfos.add(di); in updateDisplayInfos()
106 mDisplayInfos.put(di.displayId, priorDisplayInfos); in updateDisplayInfos()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/di/
DCustomTileComponent.kt17 package com.android.systemui.qs.tiles.impl.custom.di
23 import com.android.systemui.qs.tiles.impl.di.QSTileComponent
24 import com.android.systemui.qs.tiles.impl.di.QSTileScope
DCustomTileModule.kt17 package com.android.systemui.qs.tiles.impl.custom.di
33 import com.android.systemui.qs.tiles.impl.di.QSTileScope
DQSTileConfigModule.kt17 package com.android.systemui.qs.tiles.impl.custom.di
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java177 final DisplayInfo di = new DisplayInfo(); in transformBetweenRotations_displayInfo() local
178 di.rotation = ROTATION_90; in transformBetweenRotations_displayInfo()
179 di.logicalWidth = H; // dimensions are flipped in ROT_90 in transformBetweenRotations_displayInfo()
180 di.logicalHeight = W; in transformBetweenRotations_displayInfo()
181 transformToRotation(ROTATION_180, ROTATION_270, di, mMatrix); in transformBetweenRotations_displayInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/viewmodel/
DQSTileViewModelFactory.kt28 import com.android.systemui.qs.tiles.impl.custom.di.CustomTileComponent
29 import com.android.systemui.qs.tiles.impl.custom.di.QSTileConfigModule
31 import com.android.systemui.qs.tiles.impl.di.QSTileComponent
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/di/
DQSTilesModule.kt17 package com.android.systemui.qs.tiles.di
26 import com.android.systemui.qs.tiles.impl.custom.di.CustomTileComponent
DNewQSTileFactory.kt17 package com.android.systemui.qs.tiles.di
/frameworks/base/tests/AttestationVerificationTest/assets/
Dtest_root_certs.pem7 tv0Sk3iiKkypnEUtR6WfMgH0QZfKHM1+di+y9TFRtv6y//0rb+T+W8a9nsNL/ggj
38 tv0Sk3iiKkypnEUtR6WfMgH0QZfKHM1+di+y9TFRtv6y//0rb+T+W8a9nsNL/ggj
Dtest_owned_by_system_certs.pem58 tv0Sk3iiKkypnEUtR6WfMgH0QZfKHM1+di+y9TFRtv6y//0rb+T+W8a9nsNL/ggj
Dtest_attestation_with_root_certs.pem58 tv0Sk3iiKkypnEUtR6WfMgH0QZfKHM1+di+y9TFRtv6y//0rb+T+W8a9nsNL/ggj
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/di/
DQSTileScope.kt17 package com.android.systemui.qs.tiles.impl.di
DQSTileComponent.kt17 package com.android.systemui.qs.tiles.impl.di
/frameworks/base/core/java/com/android/internal/app/
DMicroAlertController.java35 public MicroAlertController(Context context, DialogInterface di, Window window) { in MicroAlertController() argument
36 super(context, di, window); in MicroAlertController()
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/di/
DAppModule.kt1 package com.android.credentialmanager.di
/frameworks/base/libs/input/
DPointerController.cpp334 const auto& di = mLocked.mDisplayInfos; in getTransformForDisplayLocked() local
335 auto it = std::find_if(di.begin(), di.end(), [displayId](const gui::DisplayInfo& info) { in getTransformForDisplayLocked()
338 return it != di.end() ? it->transform : kIdentityTransform; in getTransformForDisplayLocked()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp933 jsize di = 0; in android_os_Process_parseProcLineArray() local
993 if ((mode&PROC_OUT_FLOAT) != 0 && di < NR) { in android_os_Process_parseProcLineArray()
995 floatsData[di] = strtof(buffer+start, &end); in android_os_Process_parseProcLineArray()
997 if ((mode&PROC_OUT_LONG) != 0 && di < NL) { in android_os_Process_parseProcLineArray()
1000 longsData[di] = buffer[start]; in android_os_Process_parseProcLineArray()
1003 longsData[di] = strtoll(buffer+start, &end, 10); in android_os_Process_parseProcLineArray()
1006 if ((mode&PROC_OUT_STRING) != 0 && di < NS) { in android_os_Process_parseProcLineArray()
1008 env->SetObjectArrayElement(outStrings, di, str); in android_os_Process_parseProcLineArray()
1011 di++; in android_os_Process_parseProcLineArray()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractorKosmos.kt32 import com.android.systemui.qs.tiles.di.newQSTileFactory
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/di/
DNewQSTileFactoryKosmos.kt17 package com.android.systemui.qs.tiles.di in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DDreamBackend.java571 private String sortKey(DreamInfo di) { in sortKey() argument
573 sb.append(di.componentName.equals(mDefaultDream) ? '0' : '1'); in sortKey()
574 sb.append(di.caption); in sortKey()

123