/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()
|
D | ScrollingTabContainerView.java | 500 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/ |
D | DisplayMagnifier.java | 295 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()
|
D | WindowState.java | 980 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/ |
D | SystemGesturesPointerEventListener.java | 49 int screenWidth; field in SystemGesturesPointerEventListener 183 if (fromX >= screenWidth - mSwipeStartThreshold
|
D | PhoneWindowManager.java | 2676 mRestrictedScreenWidth = mSystemGestures.screenWidth = mUnrestrictedScreenWidth; in beginLayoutLw()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | ActionMenuItemView.java | 192 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/ |
D | ActionMenuItemView.java | 238 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/ |
D | MediaRouteButton.java | 218 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/ |
D | MediaRouteButton.java | 313 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in performLongClick() local 319 screenWidth - screenPos[0] - width / 2, height); in performLongClick()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1548 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/ |
D | AssetManager.java | 660 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in setConfiguration() argument
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 505 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/ |
D | ResourceTypes.h | 926 uint16_t screenWidth; member
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.cpp | 1343 out->screenWidth = out->SCREENWIDTH_ANY; in getScreenSizeName() 1367 out->screenWidth = w; in getScreenSizeName()
|
D | ResourceTable.cpp | 2894 config.screenWidth, in flatten() 2937 tHeader->config.screenWidth, in flatten() 3573 config->screenWidth, in getEntry()
|