/frameworks/base/core/java/com/android/internal/widget/ |
H A D | WeightedLinearLayout.java | 59 final int screenWidth = metrics.widthPixels; 60 final boolean isPortrait = screenWidth < metrics.heightPixels; 74 final int weightedMin = (int) (screenWidth * widthWeightMin); 75 final int weightedMax = (int) (screenWidth * widthWeightMin);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | BigCache.java | 46 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/support/leanback/src/main/java/androidx/leanback/app/ |
H A D | VideoFragment.java | 94 int screenWidth = getView().getWidth(); 98 if (screenWidth * height > width * screenHeight) { 104 p.width = screenWidth; 105 p.height = screenWidth * height / width;
|
H A D | VideoSupportFragment.java | 89 int screenWidth = getView().getWidth(); 93 if (screenWidth * height > width * screenHeight) { 99 p.width = screenWidth; 100 p.height = screenWidth * height / width;
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/ |
H A D | RemoteHardwareConfig.java | 52 private RemoteHardwareConfig(int screenWidth, int screenHeight, Density density, float xdpi, argument 55 mScreenWidth = screenWidth;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderDrawable.java | 121 final int screenWidth = hardwareConfig.getScreenWidth(); 126 w = screenWidth; 128 } else if (w > screenWidth || h > screenHeight) { 131 // We need to find scale such that scale * w <= screenWidth, scale * h <= screenHeight 132 double scale = Math.min((double) screenWidth / w, (double) screenHeight / h);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | SystemGesturesPointerEventListener.java | 61 int screenWidth; field in class:SystemGesturesPointerEventListener 231 if (fromX >= screenWidth - mSwipeStartThreshold
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Transform.java | 113 public void setScreenWidth(double screenWidth) {
argument 114 mViewMatrix.setScreenWidth(screenWidth);
|
H A D | ViewMatrix.java | 157 public void setScreenWidth(double screenWidth) {
argument 158 this.mScreenWidth = screenWidth;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AccessibilityController.java | 516 final int screenWidth = mTempPoint.x; 521 availableBounds.set(0, 0, screenWidth, screenHeight); 575 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); 580 if (accountedFrame.width() == screenWidth 590 screenWidth - mDrawBorderInset, screenHeight - mDrawBorderInset, 601 screenWidth - mDrawBorderInset, 1047 final int screenWidth = mTempPoint.x; 1051 unaccountedSpace.set(0, 0, screenWidth, screenHeight);
|
/frameworks/support/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/ |
H A D | VideoViewTest.java | 142 int screenWidth = getResources().getDisplayMetrics().widthPixels; 143 if (ev.getRawX() < (screenWidth / 2.0f)) {
|
/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/ |
H A D | VideoViewTest.java | 142 int screenWidth = getResources().getDisplayMetrics().widthPixels; 143 if (ev.getRawX() < (screenWidth / 2.0f)) {
|
/frameworks/base/tools/aapt2/ |
H A D | ConfigDescription.cpp | 520 out->screenWidth = out->SCREENWIDTH_ANY; 544 out->screenWidth = w; 958 if (screenWidth || o.screenWidth) return (!o.screenWidth);
|
/frameworks/av/packages/MediaComponents/src/com/android/widget/ |
H A D | MediaControlView2Impl.java | 371 int screenWidth = screenSize.x; 383 currHeight, screenWidth, screenHeight); 402 currHeight, screenWidth, screenHeight); 1170 int marginSize, int currWidth, int currHeight, int screenWidth, int screenHeight) { 1178 int screenMaxLength = Math.max(screenWidth, screenHeight); 1185 (currWidth == screenWidth && currHeight == screenHeight); 1169 updateLayout(int maxIconCount, int fullIconSize, int embeddedIconSize, int marginSize, int currWidth, int currHeight, int screenWidth, int screenHeight) argument
|
H A D | VideoView2Impl.java | 595 int screenWidth = screenSize.x; 598 if (currWidth == screenWidth && currHeight == screenHeight) {
|
/frameworks/support/media-widget/src/main/java/androidx/media/widget/ |
H A D | MediaControlView2.java | 523 int screenWidth = screenSize.x; 530 updateLayout(maxIconCount, iconSize, currWidth, currHeight, screenWidth, 550 updateLayout(maxIconCount, iconSize, currWidth, currHeight, screenWidth, 1310 int currHeight, int screenWidth, int screenHeight) { 1315 int screenMaxLength = Math.max(screenWidth, screenHeight); 1318 (currWidth == screenWidth && currHeight == screenHeight); 1309 updateLayout(int maxIconCount, int iconSize, int currWidth, int currHeight, int screenWidth, int screenHeight) argument
|
/frameworks/base/tools/split-select/ |
H A D | Main.cpp | 111 outConfig->screenWidth = ResTable_config::SCREENWIDTH_ANY;
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 1233 int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, 1238 keyboard, keyboardHidden, navigation, screenWidth, screenHeight, 1287 int keyboardHidden, int navigation, int screenWidth, int screenHeight, 1231 setConfiguration(int mcc, int mnc, @Nullable String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int colorMode, int majorVersion) argument 1285 nativeSetConfiguration(long ptr, int mcc, int mnc, @Nullable String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int colorMode, int majorVersion) argument
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1903 screenWidth = dtohs(screenWidth); 1917 screenWidth = htods(screenWidth); 2028 if (screenWidth != o.screenWidth) { 2029 return screenWidth < o.screenWidth ? -1 : 1; 2253 if (screenWidth != o.screenWidth) { [all...] |
/frameworks/base/tools/aapt/ |
H A D | AaptConfig.cpp | 759 out->screenWidth = out->SCREENWIDTH_ANY; 783 out->screenWidth = w;
|
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl/ |
H A D | VideoView2ImplBase.java | 715 int screenWidth = screenSize.x; 718 if (currWidth == screenWidth && currHeight == screenHeight) {
|
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/ |
H A D | VideoView2ImplBaseWithMp1.java | 690 int screenWidth = screenSize.x; 693 if (currWidth == screenWidth && currHeight == screenHeight) {
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | ResourceTypes.h | 1059 uint16_t screenWidth; member in struct:android::ResTable_config::__anon974::__anon975
|
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize.cpp | 73 out_pb_config->set_screen_width(config.screenWidth);
|
H A D | ProtoDeserialize.cpp | 350 out_config->screenWidth = static_cast<uint16_t>(pb_config.screen_width());
|