Searched refs:screenWidth (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | BigCache.java | 46 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/ |
D | WeightedLinearLayout.java | 59 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/ |
D | ResourceTypes.h | 909 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/ |
D | ActionMenuItemView.java | 217 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/ |
D | AssetManager.java | 654 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in setConfiguration() argument
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 512 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/ |
D | ResourceTypes.cpp | 2603 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/ |
D | WindowState.java | 1393 boolean isFullscreen(int screenWidth, int screenHeight) { in isFullscreen() argument 1395 mFrame.right >= screenWidth && mFrame.bottom >= screenHeight; in isFullscreen()
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.cpp | 1235 out->screenWidth = out->SCREENWIDTH_ANY; in getScreenSizeName() 1259 out->screenWidth = w; in getScreenSizeName()
|
D | ResourceTable.cpp | 2734 config.screenWidth, in flatten() 2776 tHeader->config.screenWidth, in flatten() 3376 config->screenWidth, in getEntry()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewCore.java | 552 float scale, int screenWidth, int screenHeight, int anchorX, in nativeSetSize() argument
|