/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | MultiRateLimiter.java | 146 public Builder addRateLimit(int limit, Duration windowSize) { in addRateLimit() argument 153 countQuotaTracker.setCountLimit(mCategory, limit, windowSize.toMillis()); in addRateLimit() 189 private RateLimit(int limit, Duration windowSize) { in RateLimit() argument 191 this.mWindowSize = windowSize; in RateLimit() 198 public static RateLimit create(int limit, Duration windowSize) { in create() argument 199 return new RateLimit(limit, windowSize); in create()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipDismissTargetHandler.java | 264 final Point windowSize = new Point(); in getDismissTargetLayoutParams() local 265 mWindowManager.getDefaultDisplay().getRealSize(windowSize); in getDismissTargetLayoutParams() 270 0, windowSize.y - mDismissAreaHeight, in getDismissTargetLayoutParams()
|
/frameworks/native/libs/gui/tests/ |
D | BLASTBufferQueue_test.cpp | 554 Rect windowSize(1000, 1000); in TEST_F() local 555 Rect bufferSize(windowSize); in TEST_F() 558 BLASTBufferQueueHelper adapter(mSurfaceControl, windowSize.getWidth(), windowSize.getHeight()); in TEST_F() 604 {0, 0, (int32_t)windowSize.getWidth(), in TEST_F() 605 (int32_t)windowSize.getHeight()}, in TEST_F() 621 Rect windowSize(1000, 1000); in TEST_F() local 625 BLASTBufferQueueHelper adapter(mSurfaceControl, windowSize.getWidth(), windowSize.getHeight()); in TEST_F() 670 {0, 0, (int32_t)windowSize.getWidth(), in TEST_F() 671 (int32_t)windowSize.getHeight()}, in TEST_F()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskPositionerTests.java | 114 final int windowSize = Math.min(displayBounds.width(), displayBounds.height()) / 2; in testMoveWindow() local 115 final int left = displayBounds.centerX() - windowSize / 2; in testMoveWindow() 116 final int top = displayBounds.centerY() - windowSize / 2; in testMoveWindow() 117 final Rect r = new Rect(left, top, left + windowSize, top + windowSize); in testMoveWindow()
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.cpp | 44 static SkMatrix GetPreTransformMatrix(SkISize windowSize, int transform) { in GetPreTransformMatrix() argument 45 const int width = windowSize.width(); in GetPreTransformMatrix() 46 const int height = windowSize.height(); in GetPreTransformMatrix()
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 814 void rollUp(int windowSize) { in rollUp() argument 816 for (i = 0; i <= mRow - windowSize; i++) { in rollUp() 819 int startRow = mRow - windowSize + 1; in rollUp() 881 private void moveBaselineTo(int baseRow, int windowSize) { in moveBaselineTo() argument 885 int actualWindowSize = windowSize; in moveBaselineTo() 906 for (i = 0; i <= baseRow - windowSize; i++) { in moveBaselineTo()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 340 AppWakeupHistory(long windowSize) { in AppWakeupHistory() argument 341 mWindowSize = windowSize; in AppWakeupHistory()
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 3835 private static int getRootMeasureSpec(int windowSize, int rootDimension) { in getRootMeasureSpec() argument 3841 measureSpec = MeasureSpec.makeMeasureSpec(windowSize, MeasureSpec.EXACTLY); in getRootMeasureSpec() 3845 measureSpec = MeasureSpec.makeMeasureSpec(windowSize, MeasureSpec.AT_MOST); in getRootMeasureSpec()
|