Searched refs:di (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
H A DPhoneWindowManagerInsetsTest.java57 DisplayInfo di = displayInfoForRotation(ROTATION_0, false /* withCutout */);
59 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, 0, NAV_BAR_HEIGHT);
60 verifyNonDecorInsets(di, 0, 0, 0, NAV_BAR_HEIGHT);
61 verifyConsistency(di);
66 DisplayInfo di = displayInfoForRotation(ROTATION_0, true /* withCutout */);
68 verifyStableInsets(di, 0, STATUS_BAR_HEIGHT, 0, NAV_BAR_HEIGHT);
69 verifyNonDecorInsets(di, 0, DISPLAY_CUTOUT_HEIGHT, 0, NAV_BAR_HEIGHT);
70 verifyConsistency(di);
75 DisplayInfo di = displayInfoForRotation(ROTATION_90, false /* withCutout */);
77 verifyStableInsets(di,
127 verifyStableInsets(DisplayInfo di, int left, int top, int right, int bottom) argument
132 verifyNonDecorInsets(DisplayInfo di, int left, int top, int right, int bottom) argument
137 verifyConsistency(DisplayInfo di) argument
144 verifyConsistency(String what, DisplayInfo di, Rect insets, int width, int height) argument
152 getStableInsetsLw(DisplayInfo di) argument
159 getNonDecorInsetsLw(DisplayInfo di) argument
166 getNonDecorDisplayWidth(DisplayInfo di) argument
171 getNonDecorDisplayHeight(DisplayInfo di) argument
176 getConfigDisplayWidth(DisplayInfo di) argument
181 getConfigDisplayHeight(DisplayInfo di) argument
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DDeviceInfoTests.cpp28 const DeviceInfo* di = DeviceInfo::get(); local
29 ASSERT_NE(nullptr, di) << "DeviceInfo initialization failed";
30 EXPECT_EQ(2048, di->maxTextureSize()) << "Max texture size didn't match";
/frameworks/base/libs/hwui/
H A DDeviceInfo.h46 auto di = DeviceInfo::get()->displayInfo(); local
47 return di.w * di.h * in;
/frameworks/base/services/core/java/com/android/server/wm/
H A DStackWindowController.java266 final DisplayInfo di = displayContent.getDisplayInfo();
267 final DisplayCutout displayCutout = di.displayCutout;
270 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
272 mService.mPolicy.getNonDecorInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
274 mTmpDisplayBounds.set(0, 0, di.logicalWidth, di
[all...]
H A DDockedStackDividerController.java155 final DisplayInfo di = mDisplayContent.getDisplayInfo();
165 mDisplayContent.rotateBounds(di.rotation, rotation, mTmpRect);
228 final DisplayInfo di = mDisplayContent.getDisplayInfo();
229 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
230 di.displayCutout, mTmpRect);
237 di.logicalWidth, di.logicalHeight);
244 int right = di
[all...]
H A DTaskStack.java962 final DisplayInfo di = mDisplayContent.getDisplayInfo();
963 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
964 di.displayCutout, mTmpRect2);
966 di.logicalWidth,
967 di.logicalHeight,
H A DWindowManagerService.java6974 final DisplayInfo di = dc.getDisplayInfo();
6975 mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight,
6976 di.displayCutout, outInsets);
/frameworks/base/core/java/com/android/internal/app/
H A DMicroAlertController.java35 public MicroAlertController(Context context, DialogInterface di, Window window) { argument
36 super(context, di, window);
H A DAlertController.java187 public static final AlertController create(Context context, DialogInterface di, Window window) { argument
195 return new MicroAlertController(context, di, window);
197 return new AlertController(context, di, window);
201 protected AlertController(Context context, DialogInterface di, Window window) { argument
203 mDialogInterface = di;
205 mHandler = new ButtonHandler(di);
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp904 jsize di = 0; local
959 //ALOGI("Field %" PRId32 ": %" PRId32 "-%" PRId32 " dest=%" PRId32 " mode=0x%" PRIx32 "\n", i, start, end, di, mode);
964 if ((mode&PROC_OUT_FLOAT) != 0 && di < NR) {
966 floatsData[di] = strtof(buffer+start, &end);
968 if ((mode&PROC_OUT_LONG) != 0 && di < NL) {
971 longsData[di] = buffer[start];
974 longsData[di] = strtoll(buffer+start, &end, 10);
977 if ((mode&PROC_OUT_STRING) != 0 && di < NS) {
979 env->SetObjectArrayElement(outStrings, di, str);
982 di
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
H A DDreamBackend.java354 private String sortKey(DreamInfo di) { argument
356 sb.append(di.componentName.equals(mDefaultDream) ? '0' : '1');
357 sb.append(di.caption);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
H A DAlertController.java182 public AlertController(Context context, AppCompatDialog di, Window window) { argument
184 mDialog = di;
186 mHandler = new ButtonHandler(di);
205 di.supportRequestWindowFeature(Window.FEATURE_NO_TITLE);
/frameworks/base/core/java/android/view/
H A DChoreographer.java249 DisplayInfo di = DisplayManagerGlobal.getInstance().getDisplayInfo(
251 return di.getMode().getRefreshRate();
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 144 milliseconds