/frameworks/base/core/tests/coretests/src/android/view/ |
D | BigCache.java | 42 final int screenWidth = display.getWidth(); in onCreate() local 48 tiny.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, screenHeight)); in onCreate() 54 final int height = 2 * (cacheSize / 2) / screenWidth; in onCreate() 55 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/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | PerimeterPathGuide.java | 86 int edgeInset, int screenWidth, int screenHeight) { in PerimeterPathGuide() argument 88 mDeviceWidthPx = screenWidth; in PerimeterPathGuide() 205 int screenWidth = mDeviceWidthPx; in computeRegions() local 227 screenWidth = mDeviceHeightPx; in computeRegions() 258 bottomPath.lineTo(screenWidth - getPhysicalCornerRadius(screenBottomRight), in computeRegions() 263 topPath.moveTo(screenWidth - getPhysicalCornerRadius(screenTopRight), mEdgeInset); in computeRegions() 268 rightPath.moveTo(screenWidth - mEdgeInset, in computeRegions() 270 rightPath.lineTo(screenWidth - mEdgeInset, getPhysicalCornerRadius(screenTopRight)); in computeRegions()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | MediaArtworkProcessorTest.kt | 40 private var screenWidth = 0 variable in com.android.systemui.statusbar.MediaArtworkProcessorTest 51 screenWidth = point.x in setUp() 69 assertThat(background.width).isLessThan(screenWidth) in testProcessArtwork()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 124 int screenWidth = hardwareConfig.getScreenWidth(); in renderImage() local 129 w = screenWidth; in renderImage() 131 } else if (w > screenWidth || h > screenHeight) { in renderImage() 135 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/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 554 final int screenWidth = mTempPoint.x; in recomputeBoundsLocked() local 559 availableBounds.set(0, 0, screenWidth, screenHeight); in recomputeBoundsLocked() 621 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); in recomputeBoundsLocked() 626 if (accountedFrame.width() == screenWidth in recomputeBoundsLocked() 636 screenWidth - mDrawBorderInset, screenHeight - mDrawBorderInset, in recomputeBoundsLocked() 647 screenWidth - mDrawBorderInset, in recomputeBoundsLocked() 676 final int screenWidth = mTempPoint.x; in getLetterboxBounds() local 680 nonLetterboxRect.set(0, 0, screenWidth, screenHeight); in getLetterboxBounds() 682 letterboxBounds.set(0, 0, screenWidth, screenHeight); in getLetterboxBounds() 1116 final int screenWidth = mTempPoint.x; in computeChangedWindows() local [all …]
|
D | SystemGesturesPointerEventListener.java | 66 int screenWidth; field in SystemGesturesPointerEventListener 268 if (fromX >= screenWidth - mSwipeStartThreshold in detectSwipe()
|
D | DisplayPolicy.java | 1436 mSystemGestures.screenWidth = displayFrames.mUnrestricted.width(); in beginLayoutLw()
|
/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/tools/aapt2/test/ |
D | Builders.h | 263 ConfigDescriptionBuilder& setScreenWidth(uint16_t screenWidth) { in setScreenWidth() argument 264 config_.screenWidth = screenWidth; in setScreenWidth()
|
/frameworks/base/libs/androidfw/ |
D | ConfigDescription.cpp | 514 out->screenWidth = out->SCREENWIDTH_ANY; in parseScreenSize() 538 out->screenWidth = w; in parseScreenSize() 952 if (screenWidth || o.screenWidth) return (!o.screenWidth); in HasHigherPrecedenceThan()
|
D | ResourceTypes.cpp | 1916 screenWidth = dtohs(screenWidth); in copyFromDtoH() 1930 screenWidth = htods(screenWidth); in swapHtoD() 2041 if (screenWidth != o.screenWidth) { in compareLogical() 2042 return screenWidth < o.screenWidth ? -1 : 1; in compareLogical() 2266 if (screenWidth != o.screenWidth) { in isMoreSpecificThan() 2267 if (!screenWidth) return false; in isMoreSpecificThan() 2268 if (!o.screenWidth) return true; in isMoreSpecificThan() 2647 if (requested->screenWidth) { in isBetterThan() 2648 myDelta += requested->screenWidth - screenWidth; in isBetterThan() 2649 otherDelta += requested->screenWidth - o.screenWidth; in isBetterThan() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 242 int screenWidth = metrics.widthPixels; in startRecording() local 245 mMediaRecorder.setVideoSize(screenWidth, screenHeight); in startRecording() 264 screenWidth, in startRecording()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 1354 int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, in setConfiguration() argument 1359 keyboard, keyboardHidden, navigation, screenWidth, screenHeight, in setConfiguration() 1421 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in nativeSetConfiguration() argument
|
/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 | 3175 config.screenWidth, in flatten() 3220 tHeader->config.screenWidth, in flatten() 3955 config->screenWidth, in getEntry()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.cpp | 75 out_pb_config->set_screen_width(config.screenWidth); in SerializeConfig()
|
D | ProtoDeserialize.cpp | 352 out_config->screenWidth = static_cast<uint16_t>(pb_config.screen_width()); in DeserializeConfigFromPb()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1065 uint16_t screenWidth; member
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 506 configuration.screenWidth = static_cast<uint16_t>(screen_width); in NativeSetConfiguration()
|