/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | DarkIconDispatcher.java | 103 for (Rect area : areas) { in isInAreas() 104 if (isInArea(area, view)) { in isInAreas() 119 for (Rect area : areas) { in isInAreas() 120 if (isInArea(area, viewBounds)) { in isInAreas() 128 static boolean isInArea(Rect area, Rect viewBounds) { in isInArea() argument 129 if (area.isEmpty()) { in isInArea() 132 sTmpRect.set(area); in isInArea() 136 int intersectStart = Math.max(left, area.left); in isInArea() 137 int intersectEnd = Math.min(left + width, area.right); in isInArea() 140 boolean coversFullStatusBar = area.top <= 0; in isInArea() [all …]
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | EngineWindowPage.java | 39 public void addArea(RectF area) { in addArea() argument 40 mCallbackAreas.add(area); in addArea() 44 public void addWallpaperColors(RectF area, WallpaperColors colors) { in addWallpaperColors() argument 45 mCallbackAreas.add(area); in addWallpaperColors() 46 mRectFColors.put(area, colors); in addWallpaperColors() 56 public void removeArea(RectF area) { in removeArea() argument 57 mCallbackAreas.remove(area); in removeArea() 58 mRectFColors.remove(area); in removeArea()
|
D | WallpaperService.java | 982 RectF area = regions.get(i); in notifyLocalColorsChanged() local 983 if (color == null || area == null) { in notifyLocalColorsChanged() 986 + color + " area " + area); in notifyLocalColorsChanged() 992 area, in notifyLocalColorsChanged() 1892 for (RectF area: mLocalColorAreas) { in initWindowPages() 1893 if (!isValid(area)) { in initWindowPages() 1894 mLocalColorAreas.remove(area); in initWindowPages() 1897 int pageNum = getRectFPage(area, step); in initWindowPages() 1898 windowPages[pageNum].addArea(area); in initWindowPages() 1976 for (RectF area: areas) { in updatePageColors() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/ |
D | RemoteComposeCanvas.java | 101 for (CoreDocument.ClickAreaRepresentation area : clickAreas) { in onViewAttachedToWindow() 103 area.getId(), area.getContentDescription(), in onViewAttachedToWindow() 104 area.getMetadata()); in onViewAttachedToWindow() 105 int w = (int) area.width(); in onViewAttachedToWindow() 106 int h = (int) area.height(); in onViewAttachedToWindow() 110 param.leftMargin = (int) area.getLeft(); in onViewAttachedToWindow() 111 param.topMargin = (int) area.getTop(); in onViewAttachedToWindow() 113 -> mDocument.getDocument().performClick(area.getId())); in onViewAttachedToWindow()
|
/frameworks/compile/mclinker/unittests/ |
D | MCRegionFragmentTest.cpp | 44 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); in TEST_F() local 46 MemoryRegion* region = area->request(0, 4096); in TEST_F() 59 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); in TEST_F() local 61 MemoryRegion* region = area->request(0, 4096); in TEST_F()
|
D | FragmentRefTest.cpp | 46 MemoryArea* area = variable 50 llvm::StringRef region = area->request(0, 4096);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/ |
D | WallpaperLocalColorExtractor.java | 330 int area = bitmap.getWidth() * bitmap.getHeight(); in createMiniBitmap() local 331 double scale = Math.min(1, Math.sqrt((double) MINI_BITMAP_MAX_AREA / area)); in createMiniBitmap() 344 private WallpaperColors getLocalWallpaperColors(@NonNull RectF area) { in getLocalWallpaperColors() argument 345 RectF imageArea = pageToImgRect(area); in getLocalWallpaperColors() 382 private RectF pageToImgRect(RectF area) { in pageToImgRect() argument 385 float leftPosOnPage = (area.left % virtualPageWidth) / virtualPageWidth; in pageToImgRect() 386 float rightPosOnPage = (area.right % virtualPageWidth) / virtualPageWidth; in pageToImgRect() 387 int currentPage = (int) Math.floor(area.centerX() / virtualPageWidth); in pageToImgRect() 395 imgArea.bottom = area.bottom; in pageToImgRect() 396 imgArea.top = area.top; in pageToImgRect()
|
/frameworks/base/core/java/android/service/autofill/augmented/ |
D | FillWindow.java | 101 public boolean update(@NonNull Area area, @NonNull View rootView, long flags) { in update() argument 103 Log.d(TAG, "Updating " + area + " + with " + rootView); in update() 106 Objects.requireNonNull(area); in update() 107 Objects.requireNonNull(area.proxy); in update() 112 final PresentationParams smartSuggestion = area.proxy.getSmartSuggestionParams(); in update() 118 final Rect rect = area.getBounds(); in update() 127 mProxy = area.proxy; in update() 150 mBounds = new Rect(area.getBounds()); in update()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | SizeAreaComparator.java | 47 long area = width * size.getHeight(); in compare() local 50 if (area == area2) { in compare() 54 return (area > area2) ? 1 : -1; in compare()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsCbLocation.java | 145 public boolean isInLocationArea(@NonNull SmsCbLocation area) { in isInLocationArea() argument 146 if (mCid != -1 && mCid != area.mCid) { in isInLocationArea() 149 if (mLac != -1 && mLac != area.mLac) { in isInLocationArea() 152 return mPlmn.equals(area.mPlmn); in isInLocationArea()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/ |
D | RearDisplayPresentationController.java | 17 package androidx.window.extensions.area; 19 import static androidx.window.extensions.area.WindowAreaComponent.SESSION_STATE_ACTIVE; 20 import static androidx.window.extensions.area.WindowAreaComponent.SESSION_STATE_INACTIVE;
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | SelectGesture.java | 41 private SelectGesture(int granularity, RectF area, String fallbackText) { in SelectGesture() argument 43 mArea = area; in SelectGesture() 112 public Builder setSelectionArea(@NonNull RectF area) { in setSelectionArea() argument 113 mArea = area; in setSelectionArea()
|
D | DeleteGesture.java | 41 private DeleteGesture(@Granularity int granularity, RectF area, String fallbackText) { in DeleteGesture() argument 43 mArea = area; in DeleteGesture() 114 public Builder setDeletionArea(@NonNull RectF area) { in setDeletionArea() argument 115 mArea = area; in setDeletionArea()
|
D | TextBoundsInfo.java | 673 public int[] getRangeForRect(@NonNull RectF area, @NonNull SegmentFinder segmentFinder, in getRangeForRect() argument 682 start = getStartForRectWithinLine(lineStart, lineEnd, area, segmentFinder, in getRangeForRect() 697 end = getEndForRectWithinLine(lineStart, lineEnd, area, segmentFinder, in getRangeForRect() 722 private int getStartForRectWithinLine(int lineStart, int lineEnd, @NonNull RectF area, in getStartForRectWithinLine() argument 733 final int start = getStartForRectWithinRun(runStart, index, area, segmentFinder, in getStartForRectWithinLine() 743 return getStartForRectWithinRun(runStart, lineEnd, area, segmentFinder, inclusionStrategy); in getStartForRectWithinLine() 759 private int getStartForRectWithinRun(int runStart, int runEnd, @NonNull RectF area, in getStartForRectWithinRun() argument 775 if (inclusionStrategy.isSegmentInside(segmentBounds, area)) return start; in getStartForRectWithinRun() 796 private int getEndForRectWithinLine(int lineStart, int lineEnd, @NonNull RectF area, in getEndForRectWithinLine() argument 810 final int end = getEndForRectWithinRun(index + 1, runEnd, area, segmentFinder, in getEndForRectWithinLine() [all …]
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | GraphicsUtils.java | 87 int area = 0; in getArea() local 90 area += tempRect.width() * tempRect.height(); in getArea() 92 return area; in getArea()
|
D | IconNormalizer.java | 323 float area = 0; in getScale() local 328 area += mRightBorder[y] - mLeftBorder[y] + 1; in getScale() 347 return getScale(area, rectArea, width * height); in getScale() 408 float area = size * size * MAX_CIRCLE_AREA_FACTOR; in getNormalizedCircleSize() local 409 return (int) Math.round(Math.sqrt((4 * area) / Math.PI)); in getNormalizedCircleSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/domain/interactor/ |
D | HideNotificationsInteractor.kt | 28 import com.android.systemui.util.kotlin.area in <lambda>() 107 get() = newValue.area > previousValue.area in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipKeepClearAlgorithm.kt | 255 for (area in areasToExclude) { in <lambda>() constant 256 restrictedAreas.remove(area) in <lambda>() 263 restrictedAreas.add(area) in <lambda>() 483 { area -> in <lambda>() method 484 if (pipBounds.intersectsX(area)) { in <lambda>() 485 events.add(SweepLineEvent(true, area.bottom, unrestricted)) in <lambda>() 486 events.add(SweepLineEvent(false, area.top, unrestricted)) in <lambda>() 513 { area -> in <lambda>() method 514 if (pipBounds.intersectsX(area)) { in <lambda>() 515 events.add(SweepLineEvent(true, -area.top, unrestricted)) in <lambda>() [all …]
|
/frameworks/base/core/proto/android/os/ |
D | pagetypeinfo.proto | 32 * Each zone has 11 free area. Each free area corresponds to pages of the same order. 33 * Each free area has 6 free list. Each corresponds to one migration type.
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | PenStylusActivity.kt | 73 inline fun update(area: Rect?, func: Canvas.() -> Unit) { in update() 74 val canvas = lockCanvas(area) in update()
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 215 (segmentBounds, area) -> 216 area.contains(segmentBounds.centerX(), segmentBounds.centerY()); 224 (segmentBounds, area) -> area.contains(segmentBounds); 2365 public int[] getRangeForRect(@NonNull RectF area, @NonNull SegmentFinder segmentFinder, in getRangeForRect() argument 2368 int startLine = getLineForVertical((int) area.top); in getRangeForRect() 2369 if (area.top > getLineBottom(startLine, /* includeLineSpacing= */ false)) { in getRangeForRect() 2378 int endLine = getLineForVertical((int) area.bottom); in getRangeForRect() 2379 if (endLine == 0 && area.bottom < getLineTop(0)) { in getRangeForRect() 2389 startLine, area, segmentFinder, inclusionStrategy, /* getStart= */ true); in getRangeForRect() 2395 startLine, area, segmentFinder, inclusionStrategy, /* getStart= */ true); in getRangeForRect() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ScrollCaptureSearchResults.java | 216 int scrollAreaA = area(a.getScrollBounds()); 217 int scrollAreaB = area(b.getScrollBounds()); 221 private static int area(Rect r) { in area() method in ScrollCaptureSearchResults
|
/frameworks/native/services/surfaceflinger/ |
D | RegionSamplingThread.h | 46 uint32_t orientation, const Rect& area); 89 Rect area = Rect::EMPTY_RECT; member
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
D | Rect.kt | 21 val Rect.area: Long constant
|
/frameworks/base/core/java/android/app/ |
D | ILocalWallpaperColorConsumer.aidl | 26 void onColorsChanged(in RectF area, in WallpaperColors colors); in onColorsChanged() argument
|