Home
last modified time | relevance | path

Searched refs:screenWidth (Results 1 – 17 of 17) 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()
DScrollingTabContainerView.java500 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() local
506 (screenPos[0] + width / 2) - screenWidth / 2, height); in onLongClick()
/frameworks/base/services/java/com/android/server/wm/
DDisplayMagnifier.java295 final int screenWidth = mTempPoint.x; in recomputeBoundsLocked() local
302 availableBounds.set(0, 0, screenWidth, screenHeight); in recomputeBoundsLocked()
347 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); in recomputeBoundsLocked()
352 if (accountedFrame.width() == screenWidth in recomputeBoundsLocked()
366 screenWidth - mHalfBorderWidth, screenHeight - mHalfBorderWidth, in recomputeBoundsLocked()
380 screenWidth - mHalfBorderWidth, screenHeight - mHalfBorderWidth); in recomputeBoundsLocked()
DWindowState.java980 boolean isFullscreen(int screenWidth, int screenHeight) { in isFullscreen() argument
982 mFrame.right >= screenWidth && mFrame.bottom >= screenHeight; in isFullscreen()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DSystemGesturesPointerEventListener.java49 int screenWidth; field in SystemGesturesPointerEventListener
183 if (fromX >= screenWidth - mSwipeStartThreshold
DPhoneWindowManager.java2676 mRestrictedScreenWidth = mSystemGestures.screenWidth = mUnrestrictedScreenWidth; in beginLayoutLw()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java192 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() local
198 screenWidth - screenPos[0] - width / 2, height); in onLongClick()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java238 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() local
244 screenWidth - screenPos[0] - width / 2, height); in onLongClick()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java218 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in performLongClick() local
224 screenWidth - screenPos[0] - width / 2, height); in performLongClick()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java313 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in performLongClick() local
319 screenWidth - screenPos[0] - width / 2, height); in performLongClick()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1548 screenWidth = dtohs(screenWidth); in copyFromDtoH()
1562 screenWidth = htods(screenWidth); in swapHtoD()
1625 if (screenWidth != o.screenWidth) { in compareLogical()
1626 return screenWidth < o.screenWidth ? -1 : 1; in compareLogical()
1789 if (screenWidth != o.screenWidth) { in isMoreSpecificThan()
1790 if (!screenWidth) return false; in isMoreSpecificThan()
1791 if (!o.screenWidth) return true; in isMoreSpecificThan()
2018 if (requested->screenWidth) { in isBetterThan()
2019 myDelta += requested->screenWidth - screenWidth; in isBetterThan()
2020 otherDelta += requested->screenWidth - o.screenWidth; in isBetterThan()
[all …]
/frameworks/base/core/java/android/content/res/
DAssetManager.java660 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in setConfiguration() argument
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp505 jint screenWidth, jint screenHeight, in android_content_AssetManager_setConfiguration() argument
529 config.screenWidth = (uint16_t)screenWidth; in android_content_AssetManager_setConfiguration()
/frameworks/base/include/androidfw/
DResourceTypes.h926 uint16_t screenWidth; member
/frameworks/base/tools/aapt/
DAaptAssets.cpp1343 out->screenWidth = out->SCREENWIDTH_ANY; in getScreenSizeName()
1367 out->screenWidth = w; in getScreenSizeName()
DResourceTable.cpp2894 config.screenWidth, in flatten()
2937 tHeader->config.screenWidth, in flatten()
3573 config->screenWidth, in getEntry()