Searched refs:screenWidth (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/awt/org/apache/harmony/awt/
H A DChoiceStyle.java30 int getPopupX(int x, int width, int choiceWidth, int screenWidth); argument
/frameworks/base/core/java/com/android/internal/widget/
H A DWeightedLinearLayout.java55 final int screenWidth = metrics.widthPixels;
56 final boolean isPortrait = screenWidth < metrics.heightPixels;
71 if (width < (screenWidth * widthWeight)) {
72 widthMeasureSpec = MeasureSpec.makeMeasureSpec((int) (screenWidth * widthWeight),
/frameworks/base/core/tests/coretests/src/android/view/
H A DBigCache.java46 final int screenWidth = display.getWidth();
52 tiny.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, screenHeight));
58 final int height = 2 * (cacheSize / 2) / screenWidth;
59 large.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, height));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java281 int screenWidth, int screenHeight, String themeName,
292 screenWidth, screenHeight, DisplayMetrics.DENSITY_DEFAULT,
305 int screenWidth, int screenHeight, String themeName, boolean isProjectTheme,
310 screenWidth, screenHeight, DisplayMetrics.DENSITY_DEFAULT,
322 int screenWidth, int screenHeight, int density, float xdpi, float ydpi,
328 screenWidth, screenHeight, false /* renderFullSize */,
338 int screenWidth, int screenHeight, boolean renderFullSize,
367 metrics.widthPixels = screenWidth;
422 w_spec = MeasureSpec.makeMeasureSpec(screenWidth,
429 if (neededWidth > screenWidth) {
279 computeLayout(IXmlPullParser layoutDescription, Object projectKey, int screenWidth, int screenHeight, String themeName, Map<String, Map<String, IResourceValue>> projectResources, Map<String, Map<String, IResourceValue>> frameworkResources, IProjectCallback customViewLoader, ILayoutLog logger) argument
304 computeLayout(IXmlPullParser layoutDescription, Object projectKey, int screenWidth, int screenHeight, String themeName, boolean isProjectTheme, Map<String, Map<String, IResourceValue>> projectResources, Map<String, Map<String, IResourceValue>> frameworkResources, IProjectCallback customViewLoader, ILayoutLog logger) argument
321 computeLayout(IXmlPullParser layoutDescription, Object projectKey, int screenWidth, int screenHeight, int density, float xdpi, float ydpi, String themeName, boolean isProjectTheme, Map<String, Map<String, IResourceValue>> projectResources, Map<String, Map<String, IResourceValue>> frameworkResources, IProjectCallback customViewLoader, ILayoutLog logger) argument
337 computeLayout(IXmlPullParser layoutDescription, Object projectKey, int screenWidth, int screenHeight, boolean renderFullSize, int density, float xdpi, float ydpi, String themeName, boolean isProjectTheme, Map<String, Map<String, IResourceValue>> projectResources, Map<String, Map<String, IResourceValue>> frameworkResources, IProjectCallback customViewLoader, ILayoutLog logger) argument
[all...]
/frameworks/base/include/utils/
H A DResourceTypes.h905 uint16_t screenWidth; member in struct:android::ResTable_config::__anon147::__anon148
985 screenWidth = dtohs(screenWidth);
996 screenWidth = htods(screenWidth);
1149 if (screenWidth != o.screenWidth) {
1150 if (!screenWidth) return false;
1151 if (!o.screenWidth) return true;
1313 if ((screenWidth !
[all...]
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java57 int screenWidth = display.getWidth();
59 final float x = screenWidth / 2.0f;
87 int screenWidth = display.getWidth();
89 final float x = screenWidth / 2.0f;
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java652 int keyboardHidden, int navigation, int screenWidth, int screenHeight,
650 setConfiguration(int mcc, int mnc, String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int screenLayout, int uiMode, int majorVersion) argument
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp540 jint screenWidth, jint screenHeight,
562 config.screenWidth = (uint16_t)screenWidth;
534 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint screenLayout, jint uiMode, jint sdkVersion) argument
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp1044 out->screenWidth = out->SCREENWIDTH_ANY;
1068 out->screenWidth = w;
H A DResourceTable.cpp2713 config.screenWidth,
2751 tHeader->config.screenWidth,
3347 config->screenWidth,
/frameworks/base/libs/utils/
H A DResourceTypes.cpp2354 params->screenWidth,
3683 thisConfig.screenWidth,
3684 config ? config->screenWidth : 0,
3980 thisConfig.screenWidth,
4300 if (type->config.screenWidth != 0) {
4301 printf(" w=%d", dtohs(type->config.screenWidth));
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java483 screenWidth is used by layout to wrap column around. If viewport uses
484 fixed size, screenWidth can be different from width with zooming.
487 private native void nativeSetSize(int width, int height, int screenWidth, argument
1899 * zoom factor which is controlled by screenWidth.
1923 * zoom factor which is controlled by screenWidth.
/frameworks/base/services/java/com/android/server/
H A DWindowManagerService.java8095 public boolean fillsScreenLw(int screenWidth, int screenHeight, argument
8115 && frame.right >= screenWidth
8132 boolean needsBackgroundFiller(int screenWidth, int screenHeight) { argument
8147 boolean isFullscreen(int screenWidth, int screenHeight) { argument
8149 mFrame.right >= screenWidth && mFrame.bottom >= screenHeight;

Completed in 594 milliseconds