/frameworks/base/core/java/android/service/wallpaper/ |
D | EngineWindowPage.java | 40 public void addArea(RectF area) { in addArea() argument 41 mCallbackAreas.add(area); in addArea() 45 public void addWallpaperColors(RectF area, WallpaperColors colors) { in addWallpaperColors() argument 46 mCallbackAreas.add(area); in addWallpaperColors() 47 mRectFColors.put(area, colors); in addWallpaperColors() 57 public void removeArea(RectF area) { in removeArea() argument 58 mCallbackAreas.remove(area); in removeArea() 59 mRectFColors.remove(area); in removeArea()
|
D | WallpaperService.java | 777 RectF area = regions.get(i); in notifyLocalColorsChanged() local 778 if (color == null || area == null) { in notifyLocalColorsChanged() 781 + color + " area " + area); in notifyLocalColorsChanged() 787 area, in notifyLocalColorsChanged() 1509 for (RectF area: mLocalColorAreas) { in initWindowPages() 1510 if (!isValid(area)) { in initWindowPages() 1511 mLocalColorAreas.remove(area); in initWindowPages() 1514 int pageNum = getRectFPage(area, step); in initWindowPages() 1515 windowPages[pageNum].addArea(area); in initWindowPages() 1580 for (RectF area: page.getAreas()) { in updatePageColors() [all …]
|
D | IWallpaperConnection.aidl | 32 void onLocalWallpaperColorsChanged(in RectF area, in WallpaperColors colors, int displayId); in onLocalWallpaperColorsChanged() argument
|
/frameworks/native/services/surfaceflinger/ |
D | RegionSamplingThread.cpp | 209 auto area = sample_area; in sampleArea() local 211 area.top = height - area.top; in sampleArea() 212 area.bottom = height - area.bottom; in sampleArea() 213 std::swap(area.top, area.bottom); in sampleArea() 215 area.left = width - area.left; in sampleArea() 216 area.right = width - area.right; in sampleArea() 217 std::swap(area.left, area.right); in sampleArea() 220 const uint32_t pixelCount = (area.bottom - area.top) * (area.right - area.left); in sampleArea() 224 for (int32_t row = area.top; row < area.bottom; ++row) { in sampleArea() 226 for (int32_t column = area.left; column < area.right; ++column) { in sampleArea() [all …]
|
D | RegionSamplingThread.h | 43 uint32_t orientation, const Rect& area); 86 Rect area = Rect::EMPTY_RECT; member
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | DarkIconDispatcher.java | 103 static boolean isInArea(Rect area, View view) { in isInArea() argument 104 if (area.isEmpty()) { in isInArea() 107 sTmpRect.set(area); in isInArea() 111 int intersectStart = Math.max(left, area.left); in isInArea() 112 int intersectEnd = Math.min(left + view.getWidth(), area.right); in isInArea() 115 boolean coversFullStatusBar = area.top <= 0; in isInArea() 126 void onDarkChanged(Rect area, float darkIntensity, int tint); in onDarkChanged() argument
|
/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/ |
D | ImageWallpaper.java | 270 private RectF pageToImgRect(RectF area) { in pageToImgRect() argument 273 float leftPosOnPage = (area.left % virtualPageWidth) / virtualPageWidth; in pageToImgRect() 274 float rightPosOnPage = (area.right % virtualPageWidth) / virtualPageWidth; in pageToImgRect() 275 int currentPage = (int) Math.floor(area.centerX() / virtualPageWidth); in pageToImgRect() 278 imgArea.bottom = area.bottom; in pageToImgRect() 279 imgArea.top = area.top; in pageToImgRect() 298 RectF area = pageToImgRect(areas.get(i)); in getLocalWallpaperColors() local 299 if (area == null || !LOCAL_COLOR_BOUNDS.contains(area)) { in getLocalWallpaperColors() 304 (int) Math.floor(area.left * b.getWidth()), in getLocalWallpaperColors() 305 (int) Math.floor(area.top * b.getHeight()), in getLocalWallpaperColors() [all …]
|
D | DarkReceiverImpl.kt | 38 override fun onDarkChanged(area: Rect?, darkIntensity: Float, tint: Int) { in onDarkChanged() 39 val intensity = if (DarkIconDispatcher.isInArea(area, this)) darkIntensity else 0f in onDarkChanged()
|
/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 Preconditions.checkNotNull(area); in update() 107 Preconditions.checkNotNull(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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | GraphicsUtils.java | 82 int area = 0; in getArea() local 85 area += tempRect.width() * tempRect.height(); in getArea() 87 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/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/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/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayAreaTest.java | 446 final DisplayArea.Tokens area = new DisplayArea.Tokens(mWm, ABOVE_TASKS, "test"); in testGetOrientation() local 456 area.addChild(token); in testGetOrientation() 462 area.getOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR)); in testGetOrientation() 468 area.getOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR)); in testGetOrientation() 473 final DisplayArea.Tokens area = new DisplayArea.Tokens(mWm, ABOVE_TASKS, "test"); in testSetIgnoreOrientationRequest() local 483 area.addChild(token); in testSetIgnoreOrientationRequest() 486 assertEquals(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE, area.getOrientation()); in testSetIgnoreOrientationRequest() 488 area.setIgnoreOrientationRequest(true /* ignoreOrientationRequest */); in testSetIgnoreOrientationRequest() 490 assertEquals(ActivityInfo.SCREEN_ORIENTATION_UNSET, area.getOrientation()); in testSetIgnoreOrientationRequest()
|
/frameworks/base/core/java/android/app/ |
D | ILocalWallpaperColorConsumer.aidl | 26 void onColorsChanged(in RectF area, in WallpaperColors colors); in onColorsChanged() argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayAreaPolicyBuilder.java | 752 DisplayArea.Tokens area = findAreaForToken(token); in addWindow() local 753 area.addChild(token); in addWindow() 844 final DisplayArea area = child.createArea(parent, areaForLayer); in instantiateChildren() local 845 if (area == null) { in instantiateChildren() 850 parent.addChild(area, WindowContainer.POSITION_TOP); in instantiateChildren() 852 areas.get(child.mFeature).add(area); in instantiateChildren() 854 child.instantiateChildren(area, areaForLayer, level + 1, areas); in instantiateChildren()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DemoStatusIcons.java | 316 public void onDarkChanged(Rect area, float darkIntensity, int tint) { in onDarkChanged() argument 317 setColor(DarkIconDispatcher.getTint(area, mStatusIcons, tint)); in onDarkChanged() 320 mWifiView.onDarkChanged(area, darkIntensity, tint); in onDarkChanged() 323 view.onDarkChanged(area, darkIntensity, tint); in onDarkChanged()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 503 Area area = null; in clip() local 506 area = new Area(shape); in clip() 508 area = Region_Delegate.combineShapes(getClip(), shape, regionOp); in clip() 512 if (area != null) { in clip() 514 layer.setClip(area); in clip() 521 if (area != null) { in clip() 522 mClip = area; in clip()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | OperatorNameView.java | 90 public void onDarkChanged(Rect area, float darkIntensity, int tint) { in onDarkChanged() argument 91 setTextColor(DarkIconDispatcher.getTint(area, this, tint)); in onDarkChanged()
|
D | HeadsUpStatusBarView.java | 164 public void onDarkChanged(Rect area, float darkIntensity, int tint) { in onDarkChanged() argument 165 mTextView.setTextColor(DarkIconDispatcher.getTint(area, this, tint)); in onDarkChanged()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DisplayFoldController.java | 170 void setOverrideFoldedArea(Rect area) { in setOverrideFoldedArea() argument 171 mOverrideFoldedArea.set(area); in setOverrideFoldedArea()
|