Home
last modified time | relevance | path

Searched refs:screenSize (Results 1 – 9 of 9) sorted by relevance

/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/
DGraphicalVerifier.java47 final Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); in GraphicalVerifier() local
49 if (frameSize.height > screenSize.height) { in GraphicalVerifier()
50 frameSize.height = screenSize.height; in GraphicalVerifier()
52 if (frameSize.width > screenSize.width) { in GraphicalVerifier()
53 frameSize.width = screenSize.width; in GraphicalVerifier()
55 frame.setLocation((screenSize.width - frameSize.width) / 2, in GraphicalVerifier()
56 (screenSize.height - frameSize.height) / 2); in GraphicalVerifier()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DMemorySizeCalculator.java39 … final int screenSize = screenDimensions.getWidthPixels() * screenDimensions.getHeightPixels() in MemorySizeCalculator() local
42 int targetPoolSize = screenSize * BITMAP_POOL_TARGET_SCREENS; in MemorySizeCalculator()
43 int targetMemoryCacheSize = screenSize * MEMORY_CACHE_TARGET_SCREENS; in MemorySizeCalculator()
/external/proguard/src/proguard/gui/splash/
DSplashPanel.java207 Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); in main() local
209 frame.setLocation((screenSize.width - frameSize.width) / 2, in main()
210 (screenSize.height - frameSize.height) / 2); in main()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DDeviceConfig.java84 for (ScreenSize screenSize : values()) { in match()
85 if (screenSize.isSmallerThanOrEqualTo(x, y)) { in match()
86 bestMatch = screenSize; in match()
297 ScreenSize screenSize = in applyRules() local
299 setScreenLayoutSize(configuration, screenSize.configValue); in applyRules()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResTable_config.java986 if (screenSize() != o.screenSize()) diffs |= CONFIG_SCREEN_SIZE; in diff()
1038 if (screenSize() != o.screenSize()) { in compare()
1039 return (screenSize() > o.screenSize()) ? 1 : -1; in compare()
1399 if (isTruthy(screenSize()) || isTruthy(o.screenSize())) { in isBetterThan()
1510 final int screenSize = screenLayout&MASK_SCREENSIZE; in match() local
1514 if (screenSize != 0 && screenSize > setScreenSize) { in match()
1616 if (screenSize() != 0) { in match()
1966 private int screenSize() { in screenSize() method in ResTable_config
2337 if (isTruthy(screenSize()) || isTruthy(o.screenSize())) { in isMoreSpecificThan()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleShaderBuiltInTests.cpp122 …, const MultisampleInstanceBase::VertexDataDesc& vertexDataDescripton, const tcu::Vec2& screenSize) in uploadVertexDataNdcScreen() argument
127 …vertices.push_back(VertexDataNdcScreen(tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f), tcu::Vec2(screenSize.x… in uploadVertexDataNdcScreen()
128 …sh_back(VertexDataNdcScreen(tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f), tcu::Vec2(0.0f, screenSize.y()))); in uploadVertexDataNdcScreen()
129 …rtexDataNdcScreen(tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f), tcu::Vec2(screenSize.x(), screenSize.y()))); in uploadVertexDataNdcScreen()
/external/deqp/modules/egl/
DteglNativeCoordMappingTests.cpp372 const tcu::IVec2 screenSize = nativeWindow.getScreenSize(); in testNativeWindow() local
398 if (!validate(log, result, rectX, screenSize.y() - rectY - rectH, rectW, rectH)) in testNativeWindow()
/external/proguard/src/proguard/gui/
DProGuardGUI.java1728 Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); in main()
1730 gui.setLocation((screenSize.width - guiSize.width) / 2, in main()
1731 (screenSize.height - guiSize.height) / 2); in main()
/external/deqp/modules/glshared/
DglsDrawTest.cpp1753 …enderContext& renderCtx, sglr::Context& drawContext, const tcu::UVec2& screenSize, bool useVao, bo…
1780 …enderContext& renderCtx, sglr::Context& drawContext, const tcu::UVec2& screenSize, bool useVao, bo… in AttributePack() argument
1785 , m_screen (screenSize.x(), screenSize.y()) in AttributePack()