/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/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | VideoFragment.java | 88 int screenWidth = getView().getWidth(); in onVideoSizeChanged() local 92 if (screenWidth * height > width * screenHeight) { in onVideoSizeChanged() 98 p.width = screenWidth; in onVideoSizeChanged() 99 p.height = screenWidth * height / width; in onVideoSizeChanged()
|
D | VideoSupportFragment.java | 91 int screenWidth = getView().getWidth(); in onVideoSizeChanged() local 95 if (screenWidth * height > width * screenHeight) { in onVideoSizeChanged() 101 p.width = screenWidth; in onVideoSizeChanged() 102 p.height = screenWidth * height / width; in onVideoSizeChanged()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 121 final int screenWidth = hardwareConfig.getScreenWidth(); in renderImage() local 126 w = screenWidth; in renderImage() 128 } else if (w > screenWidth || h > screenHeight) { in renderImage() 132 double scale = Math.min((double) screenWidth / w, (double) screenHeight / h); in renderImage()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Transform.java | 113 public void setScreenWidth(double screenWidth) { in setScreenWidth() argument 114 mViewMatrix.setScreenWidth(screenWidth); in setScreenWidth()
|
D | ViewMatrix.java | 157 public void setScreenWidth(double screenWidth) { in setScreenWidth() argument 158 this.mScreenWidth = screenWidth; in setScreenWidth()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 522 final int screenWidth = mTempPoint.x; in recomputeBoundsLocked() local 527 availableBounds.set(0, 0, screenWidth, screenHeight); in recomputeBoundsLocked() 580 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); in recomputeBoundsLocked() 585 if (accountedFrame.width() == screenWidth in recomputeBoundsLocked() 595 screenWidth - mDrawBorderInset, screenHeight - mDrawBorderInset, in recomputeBoundsLocked() 606 screenWidth - mDrawBorderInset, in recomputeBoundsLocked() 1048 final int screenWidth = mTempPoint.x; in computeChangedWindows() local 1052 unaccountedSpace.set(0, 0, screenWidth, screenHeight); in computeChangedWindows()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SystemGesturesPointerEventListener.java | 61 int screenWidth; field in SystemGesturesPointerEventListener 231 if (fromX >= screenWidth - mSwipeStartThreshold in detectSwipe()
|
D | PhoneWindowManager.java | 4417 mRestrictedScreenWidth = mSystemGestures.screenWidth = mUnrestrictedScreenWidth; in beginLayoutLw()
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 520 out->screenWidth = out->SCREENWIDTH_ANY; in parseScreenSize() 544 out->screenWidth = w; in parseScreenSize() 938 if (screenWidth || o.screenWidth) return (!o.screenWidth); in HasHigherPrecedenceThan()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1847 screenWidth = dtohs(screenWidth); in copyFromDtoH() 1861 screenWidth = htods(screenWidth); in swapHtoD() 1948 if (screenWidth != o.screenWidth) { in compareLogical() 1949 return screenWidth < o.screenWidth ? -1 : 1; in compareLogical() 2171 if (screenWidth != o.screenWidth) { in isMoreSpecificThan() 2172 if (!screenWidth) return false; in isMoreSpecificThan() 2173 if (!o.screenWidth) return true; in isMoreSpecificThan() 2541 if (requested->screenWidth) { in isBetterThan() 2542 myDelta += requested->screenWidth - screenWidth; in isBetterThan() 2543 otherDelta += requested->screenWidth - o.screenWidth; in isBetterThan() [all …]
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 111 outConfig->screenWidth = ResTable_config::SCREENWIDTH_ANY; in removeRuntimeQualifiers()
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 759 out->screenWidth = out->SCREENWIDTH_ANY; in parseScreenSize() 783 out->screenWidth = w; in parseScreenSize()
|
D | ResourceTable.cpp | 3178 config.screenWidth, in flatten() 3223 tHeader->config.screenWidth, in flatten() 3958 config->screenWidth, in getEntry()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 676 jint screenWidth, jint screenHeight, in android_content_AssetManager_setConfiguration() argument 704 config.screenWidth = (uint16_t)screenWidth; in android_content_AssetManager_setConfiguration()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 784 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in setConfiguration() argument
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1047 uint16_t screenWidth; member
|