/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/leanback/src/main/java/androidx/leanback/app/ |
D | VideoFragment.java | 94 int screenWidth = getView().getWidth(); in onVideoSizeChanged() local 98 if (screenWidth * height > width * screenHeight) { in onVideoSizeChanged() 104 p.width = screenWidth; in onVideoSizeChanged() 105 p.height = screenWidth * height / width; in onVideoSizeChanged()
|
D | VideoSupportFragment.java | 89 int screenWidth = getView().getWidth(); in onVideoSizeChanged() local 93 if (screenWidth * height > width * screenHeight) { in onVideoSizeChanged() 99 p.width = screenWidth; in onVideoSizeChanged() 100 p.height = screenWidth * height / width; in onVideoSizeChanged()
|
/frameworks/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/layoutlib/remote/common/src/com/android/layout/remote/api/ |
D | RemoteHardwareConfig.java | 52 private RemoteHardwareConfig(int screenWidth, int screenHeight, Density density, float xdpi, in RemoteHardwareConfig() argument 55 mScreenWidth = screenWidth; in RemoteHardwareConfig()
|
/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 | 516 final int screenWidth = mTempPoint.x; in recomputeBoundsLocked() local 521 availableBounds.set(0, 0, screenWidth, screenHeight); in recomputeBoundsLocked() 575 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); in recomputeBoundsLocked() 580 if (accountedFrame.width() == screenWidth in recomputeBoundsLocked() 590 screenWidth - mDrawBorderInset, screenHeight - mDrawBorderInset, in recomputeBoundsLocked() 601 screenWidth - mDrawBorderInset, in recomputeBoundsLocked() 1047 final int screenWidth = mTempPoint.x; in computeChangedWindows() local 1051 unaccountedSpace.set(0, 0, screenWidth, screenHeight); in computeChangedWindows()
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 520 out->screenWidth = out->SCREENWIDTH_ANY; in parseScreenSize() 544 out->screenWidth = w; in parseScreenSize() 958 if (screenWidth || o.screenWidth) return (!o.screenWidth); in HasHigherPrecedenceThan()
|
/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/ |
D | VideoViewTest.java | 142 int screenWidth = getResources().getDisplayMetrics().widthPixels; in onTouchEvent() local 143 if (ev.getRawX() < (screenWidth / 2.0f)) { in onTouchEvent()
|
/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()
|
/frameworks/av/packages/MediaComponents/src/com/android/widget/ |
D | MediaControlView2Impl.java | 371 int screenWidth = screenSize.x; in onMeasure_impl() local 383 currHeight, screenWidth, screenHeight); in onMeasure_impl() 402 currHeight, screenWidth, screenHeight); in onMeasure_impl() 1170 int marginSize, int currWidth, int currHeight, int screenWidth, int screenHeight) { in updateLayout() argument 1178 int screenMaxLength = Math.max(screenWidth, screenHeight); in updateLayout() 1185 (currWidth == screenWidth && currHeight == screenHeight); in updateLayout()
|
D | VideoView2Impl.java | 595 int screenWidth = screenSize.x; in onMeasure_impl() local 598 if (currWidth == screenWidth && currHeight == screenHeight) { in onMeasure_impl()
|
/frameworks/support/media-widget/src/main/java/androidx/media/widget/ |
D | MediaControlView2.java | 523 int screenWidth = screenSize.x; in onMeasure() local 530 updateLayout(maxIconCount, iconSize, currWidth, currHeight, screenWidth, in onMeasure() 550 updateLayout(maxIconCount, iconSize, currWidth, currHeight, screenWidth, in onMeasure() 1310 int currHeight, int screenWidth, int screenHeight) { in updateLayout() argument 1315 int screenMaxLength = Math.max(screenWidth, screenHeight); in updateLayout() 1318 (currWidth == screenWidth && currHeight == screenHeight); in updateLayout()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 1233 int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, in setConfiguration() argument 1238 keyboard, keyboardHidden, navigation, screenWidth, screenHeight, in setConfiguration() 1287 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in nativeSetConfiguration() argument
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1903 screenWidth = dtohs(screenWidth); in copyFromDtoH() 1917 screenWidth = htods(screenWidth); in swapHtoD() 2028 if (screenWidth != o.screenWidth) { in compareLogical() 2029 return screenWidth < o.screenWidth ? -1 : 1; in compareLogical() 2253 if (screenWidth != o.screenWidth) { in isMoreSpecificThan() 2254 if (!screenWidth) return false; in isMoreSpecificThan() 2255 if (!o.screenWidth) return true; in isMoreSpecificThan() 2634 if (requested->screenWidth) { in isBetterThan() 2635 myDelta += requested->screenWidth - screenWidth; in isBetterThan() 2636 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()
|
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/ |
D | VideoView2ImplBaseWithMp1.java | 690 int screenWidth = screenSize.x; in onMeasureImpl() local 693 if (currWidth == screenWidth && currHeight == screenHeight) { in onMeasureImpl()
|
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl/ |
D | VideoView2ImplBase.java | 715 int screenWidth = screenSize.x; in onMeasureImpl() local 718 if (currWidth == screenWidth && currHeight == screenHeight) { in onMeasureImpl()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.cpp | 73 out_pb_config->set_screen_width(config.screenWidth); in SerializeConfig()
|
D | ProtoDeserialize.cpp | 350 out_config->screenWidth = static_cast<uint16_t>(pb_config.screen_width()); in DeserializeConfigFromPb()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1059 uint16_t screenWidth; member
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 350 configuration.screenWidth = static_cast<uint16_t>(screen_width); in NativeSetConfiguration()
|