Home
last modified time | relevance | path

Searched refs:screenWidth (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java46 final int screenWidth = display.getWidth(); in onCreate() local
52 tiny.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, screenHeight)); in onCreate()
58 final int height = 2 * (cacheSize / 2) / screenWidth; in onCreate()
59 large.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, height)); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java59 final int screenWidth = metrics.widthPixels; in onMeasure() local
60 final boolean isPortrait = screenWidth < metrics.heightPixels; in onMeasure()
74 final int weightedMin = (int) (screenWidth * widthWeightMin); in onMeasure()
75 final int weightedMax = (int) (screenWidth * widthWeightMin); in onMeasure()
/frameworks/base/include/utils/
DResourceTypes.h909 uint16_t screenWidth; member
1000 screenWidth = dtohs(screenWidth); in copyFromDtoH()
1014 screenWidth = htods(screenWidth); in swapHtoD()
1196 if (screenWidth != o.screenWidth) { in isMoreSpecificThan()
1197 if (!screenWidth) return false; in isMoreSpecificThan()
1198 if (!o.screenWidth) return true; in isMoreSpecificThan()
1421 if (requested->screenWidth) { in isBetterThan()
1422 myDelta += requested->screenWidth - screenWidth; in isBetterThan()
1423 otherDelta += requested->screenWidth - o.screenWidth; in isBetterThan()
1552 if (screenWidth != 0 && screenWidth > settings.screenWidth) { in match()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java217 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() local
223 screenWidth - screenPos[0] - width / 2, height); in onLongClick()
/frameworks/base/core/java/android/content/res/
DAssetManager.java654 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in setConfiguration() argument
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp512 jint screenWidth, jint screenHeight, in android_content_AssetManager_setConfiguration() argument
536 config.screenWidth = (uint16_t)screenWidth; in android_content_AssetManager_setConfiguration()
/frameworks/base/libs/utils/
DResourceTypes.cpp2603 params->screenWidth, in setParameters()
3983 thisConfig.screenWidth, in getEntry()
3984 config ? config->screenWidth : 0, in getEntry()
4291 thisConfig.screenWidth, in parsePackage()
4783 if (type->config.screenWidth != 0) { in print()
4784 printf(" w=%d", dtohs(type->config.screenWidth)); in print()
/frameworks/base/services/java/com/android/server/wm/
DWindowState.java1393 boolean isFullscreen(int screenWidth, int screenHeight) { in isFullscreen() argument
1395 mFrame.right >= screenWidth && mFrame.bottom >= screenHeight; in isFullscreen()
/frameworks/base/tools/aapt/
DAaptAssets.cpp1235 out->screenWidth = out->SCREENWIDTH_ANY; in getScreenSizeName()
1259 out->screenWidth = w; in getScreenSizeName()
DResourceTable.cpp2734 config.screenWidth, in flatten()
2776 tHeader->config.screenWidth, in flatten()
3376 config->screenWidth, in getEntry()
/frameworks/base/core/java/android/webkit/
DWebViewCore.java552 float scale, int screenWidth, int screenHeight, int anchorX, in nativeSetSize() argument