Searched refs:displayInfo (Results 1 – 7 of 7) sorted by relevance
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowDisplayManager.java | 53 DisplayInfo displayInfo = new DisplayInfo(); in createDisplayInfo() local 54 displayInfo.name = "Built-in screen"; in createDisplayInfo() 56 displayInfo.uniqueId = "screen0"; in createDisplayInfo() 58 displayInfo.appWidth = widthPx; in createDisplayInfo() 59 displayInfo.appHeight = heightPx; in createDisplayInfo() 60 fixNominalDimens(displayInfo); in createDisplayInfo() 61 displayInfo.logicalWidth = widthPx; in createDisplayInfo() 62 displayInfo.logicalHeight = heightPx; in createDisplayInfo() 63 displayInfo.rotation = configuration.orientation == Configuration.ORIENTATION_PORTRAIT in createDisplayInfo() 67 displayInfo.modeId = 0; in createDisplayInfo() [all …]
|
D | ShadowDisplayManagerGlobal.java | 51 int addDisplay(DisplayInfo displayInfo) { in addDisplay() argument 52 fixNominalDimens(displayInfo); in addDisplay() 54 return mDm.addDisplay(displayInfo); in addDisplay() 57 private void fixNominalDimens(DisplayInfo displayInfo) { in fixNominalDimens() argument 58 int min = Math.min(displayInfo.appWidth, displayInfo.appHeight); in fixNominalDimens() 59 int max = Math.max(displayInfo.appWidth, displayInfo.appHeight); in fixNominalDimens() 60 displayInfo.smallestNominalAppHeight = displayInfo.smallestNominalAppWidth = min; in fixNominalDimens() 61 displayInfo.largestNominalAppHeight = displayInfo.largestNominalAppWidth = max; in fixNominalDimens() 64 void changeDisplay(int displayId, DisplayInfo displayInfo) { in changeDisplay() argument 65 mDm.changeDisplay(displayId, displayInfo); in changeDisplay() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | BootstrapTest.java | 83 DisplayInfo displayInfo = new DisplayInfo(); in shouldSetUpRealisticDisplay() local 85 display.getDisplayInfo(displayInfo); in shouldSetUpRealisticDisplay() 87 assertThat(displayInfo.name).isEqualTo("Built-in screen"); in shouldSetUpRealisticDisplay() 88 assertThat(displayInfo.appWidth).isEqualTo(480); in shouldSetUpRealisticDisplay() 89 assertThat(displayInfo.appHeight).isEqualTo(640); in shouldSetUpRealisticDisplay() 90 assertThat(displayInfo.smallestNominalAppWidth).isEqualTo(480); in shouldSetUpRealisticDisplay() 91 assertThat(displayInfo.smallestNominalAppHeight).isEqualTo(480); in shouldSetUpRealisticDisplay() 92 assertThat(displayInfo.largestNominalAppWidth).isEqualTo(640); in shouldSetUpRealisticDisplay() 93 assertThat(displayInfo.largestNominalAppHeight).isEqualTo(640); in shouldSetUpRealisticDisplay() 94 assertThat(displayInfo.logicalWidth).isEqualTo(480); in shouldSetUpRealisticDisplay() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowDisplayManagerTest.java | 53 DisplayInfo displayInfo = getGlobal().getDisplayInfo(Display.DEFAULT_DISPLAY); in getDisplayInfo_shouldReturnCopy() local 54 int origAppWidth = displayInfo.appWidth; in getDisplayInfo_shouldReturnCopy() 55 displayInfo.appWidth++; in getDisplayInfo_shouldReturnCopy() 224 DisplayInfo displayInfo = new DisplayInfo(); in createDisplayInfo() local 225 displayInfo.appWidth = width; in createDisplayInfo() 226 displayInfo.appHeight = height; in createDisplayInfo() 227 return displayInfo; in createDisplayInfo()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DecimalFormatSymbols.java | 894 CurrencyDisplayInfo displayInfo = CurrencyData.provider.getInstance(ulocale, true); in setCurrency() local 895 setCurrencyOrNull(currency, displayInfo); in setCurrency() 898 private void setCurrencyOrNull(Currency currency, CurrencyDisplayInfo displayInfo) { in setCurrencyOrNull() argument 911 CurrencyFormatInfo formatInfo = displayInfo.getFormatInfo(currency.getCurrencyCode()); in setCurrencyOrNull() 1440 CurrencyDisplayInfo displayInfo = CurrencyData.provider.getInstance(ulocale, true); in initialize() local 1441 initSpacingInfo(displayInfo.getSpacingInfo()); in initialize() 1443 setCurrencyOrNull(Currency.getInstance(ulocale), displayInfo); in initialize() local
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DecimalFormatSymbols.java | 827 CurrencyDisplayInfo displayInfo = CurrencyData.provider.getInstance(ulocale, true); in setCurrency() local 828 setCurrencyOrNull(currency, displayInfo); in setCurrency() 831 private void setCurrencyOrNull(Currency currency, CurrencyDisplayInfo displayInfo) { in setCurrencyOrNull() argument 844 CurrencyFormatInfo formatInfo = displayInfo.getFormatInfo(currency.getCurrencyCode()); in setCurrencyOrNull() 1348 CurrencyDisplayInfo displayInfo = CurrencyData.provider.getInstance(ulocale, true); in initialize() local 1349 initSpacingInfo(displayInfo.getSpacingInfo()); in initialize() 1351 setCurrencyOrNull(Currency.getInstance(ulocale), displayInfo); in initialize() local
|
/external/zstd/programs/ |
D | fileio.c | 2934 displayInfo(const char* inFileName, const fileInfo_t* info, int displayLevel) in displayInfo() function 3021 displayInfo(inFileName, &info, displayLevel); in FIO_listFile()
|