/frameworks/layoutlib/bridge/src/android/view/ |
D | ShadowPainter.java | 245 Graphics2D gc = image.createGraphics(); in drawRectangleShadow() local 247 drawRectangleShadow(gc, x, y, width, height); in drawRectangleShadow() 249 gc.dispose(); in drawRectangleShadow() 266 Graphics2D gc = image.createGraphics(); in drawSmallRectangleShadow() local 268 drawSmallRectangleShadow(gc, x, y, width, height); in drawSmallRectangleShadow() 270 gc.dispose(); in drawSmallRectangleShadow() 297 public static void drawRectangleShadow(Graphics2D gc, int x, int y, int width, int height) { in drawRectangleShadow() argument 311 gc.drawImage(ShadowBottomLeft, x - ShadowBottomLeft.getWidth(null), y + height, null); in drawRectangleShadow() 312 gc.drawImage(ShadowBottomRight, x + width, y + height, null); in drawRectangleShadow() 313 gc.drawImage(ShadowTopRight, x + width, y, null); in drawRectangleShadow() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | SparseWeakArray.java | 121 private void gc() { in gc() method in SparseWeakArray 166 gc(); in put() 184 gc(); in size() 197 gc(); in keyAt() 210 gc(); in valueAt() 223 gc(); in setValueAt() 236 gc(); in indexOfKey() 252 gc(); in indexOfValue() 288 gc(); in append()
|
/frameworks/base/core/java/android/util/ |
D | SparseArray.java | 215 private void gc() { in gc() method in SparseArray 263 gc(); in put() 281 gc(); in size() 309 gc(); in keyAt() 339 gc(); in valueAt() 362 gc(); in setValueAt() 375 gc(); in indexOfKey() 393 gc(); in indexOfValue() 417 gc(); in indexOfValueByValue() 460 gc(); in append()
|
D | LongSparseArray.java | 183 private void gc() { in gc() method in LongSparseArray 231 gc(); in put() 249 gc(); in size() 277 gc(); in keyAt() 307 gc(); in valueAt() 330 gc(); in setValueAt() 343 gc(); in indexOfKey() 359 gc(); in indexOfValue() 382 gc(); in indexOfValueByValue() 425 gc(); in append()
|
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/ |
D | ImagePoolImplTest.java | 63 gc(); in testImageDispose() 78 gc(); in testImageDisposeFromFunction() 105 gc(); in testImageDisposedAndRecycled() 124 gc(); in testImageDisposedAndRecycled() 149 gc(); in testBufferedImageReleased() 217 gc(); in testImageMultipleCopies() 251 gc(); in testPoolDispose() 289 private static void gc() { in gc() method in ImagePoolImplTest 290 System.gc(); in gc() 291 System.gc(); in gc() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | TestUtils.java | 22 public static void gc() { in gc() method in TestUtils 29 System.gc(); in gc() 33 System.gc(); in gc()
|
/frameworks/base/tools/stringslint/ |
D | stringslint.py | 204 for gc in child.iter(): 206 if gc.tail and re.search("%[^%]", gc.tail): badsub = True 207 if re.match("{.*xliff.*}g", gc.tag): 208 if "id" not in gc.attrib: 211 if "example" not in gc.attrib: 215 if gc.text and re.search("%[^%]", gc.text): badsub = True
|
/frameworks/layoutlib/bridge/src/android/util/imagepool/ |
D | ImagePoolStatsDebugImpl.java | 102 for (GarbageCollectorMXBean gc : ManagementFactory.getGarbageCollectorMXBeans()) { in start() 103 long count = gc.getCollectionCount(); in start() 107 long time = gc.getCollectionTime(); in start() 119 for (GarbageCollectorMXBean gc : ManagementFactory.getGarbageCollectorMXBeans()) { in calculateGcStatAndReturn() 120 long count = gc.getCollectionCount(); in calculateGcStatAndReturn() 124 long time = gc.getCollectionTime(); in calculateGcStatAndReturn()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 84 System.gc(); in calibrateMethod() 108 TestUtils.gc(); in doCalibration() 115 TestUtils.gc(); in doCalibration() 146 TestUtils.gc(); in evaluate() 156 TestUtils.gc(); in evaluate()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 177 Graphics2D gc = image.createGraphics(); in getImage() local 178 gc.setComposite(AlphaComposite.Src); in getImage() 180 gc.setColor(new Color(0x00000000, true)); in getImage() 181 gc.fillRect(0, 0, w, h); in getImage() 184 gc.dispose(); in getImage()
|
D | RenderSessionImpl.java | 511 Graphics2D gc = mImage.createGraphics(); in renderAndBuildResult() local 512 gc.setColor(new Color(params.getOverrideBgColor(), true)); in renderAndBuildResult() 513 gc.setComposite(AlphaComposite.Src); in renderAndBuildResult() 514 gc.fillRect(0, 0, mMeasuredScreenWidth, mMeasuredScreenHeight); in renderAndBuildResult() 515 gc.dispose(); in renderAndBuildResult() 545 Graphics2D gc = mImage.createGraphics(); in renderAndBuildResult() local 546 gc.setComposite(AlphaComposite.Src); in renderAndBuildResult() 548 gc.setColor(new Color(0x00000000, true)); in renderAndBuildResult() 549 gc.fillRect(0, 0, in renderAndBuildResult() 553 gc.dispose(); in renderAndBuildResult()
|
/frameworks/base/core/java/android/os/ |
D | PerformanceCollector.java | 550 Runtime.getRuntime().gc(); in startAllocCounting() 552 Runtime.getRuntime().gc(); in startAllocCounting() 564 Runtime.getRuntime().gc(); in stopAllocCounting() 566 Runtime.getRuntime().gc(); in stopAllocCounting()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 1742 int gc = Character.getType(cp); in isGraphic() local 1743 if (gc != Character.CONTROL in isGraphic() 1744 && gc != Character.FORMAT in isGraphic() 1745 && gc != Character.SURROGATE in isGraphic() 1746 && gc != Character.UNASSIGNED in isGraphic() 1747 && gc != Character.LINE_SEPARATOR in isGraphic() 1748 && gc != Character.PARAGRAPH_SEPARATOR in isGraphic() 1749 && gc != Character.SPACE_SEPARATOR) { in isGraphic() 1765 int gc = Character.getType(c); in isGraphic() local 1766 return gc != Character.CONTROL in isGraphic() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | ReferenceTestUtils.java | 37 Runtime.getRuntime().gc(); in createCollectionWaiter()
|
/frameworks/base/test-base/src/android/test/ |
D | InstrumentationTestCase.java | 364 Runtime.getRuntime().gc(); in tearDown() 366 Runtime.getRuntime().gc(); in tearDown()
|
/frameworks/base/tools/preload/loadclass/ |
D | LoadClass.java | 49 System.gc(); in main()
|
/frameworks/av/media/libmedia/ |
D | IMediaSource.cpp | 141 mMemoryCache.gc(); in readMultiple() 254 void gc() { in gc() function 346 mIndexCache.gc(); in onTransact()
|
/frameworks/base/core/tests/coretests/BinderProxyCountingTestService/src/com/android/frameworks/coretests/binderproxycountingtestservice/ |
D | BpcTestServiceCmdService.java | 46 System.gc();
|
/frameworks/base/startop/apps/test/src/ |
D | InitCheckOverheadBenchmarks.java | 99 Runtime.getRuntime().gc(); in doGC()
|
/frameworks/av/services/mediametrics/ |
D | TransactionLog.h | 97 (void)gc(garbage); in put() 222 bool gc(std::vector<std::any>& garbage) REQUIRES(mLock) { in gc() function
|
/frameworks/av/media/libmedia/include/media/ |
D | IMediaSource.h | 192 void gc() { in gc() function
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 58 System.gc(); in getNativeHeapDump()
|
/frameworks/compile/mclinker/tools/mcld/ |
D | Options.td | 71 def GCSections : Flag<["--"], "gc-sections">, 75 def NoGCSections : Flag<["--"], "no-gc-sections">, 79 def PrintGCSections : Flag<["--"], "print-gc-sections">, 83 def NoPrintGCSections : Flag<["--"], "no-print-gc-sections">,
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleHeap.java | 222 Runtime.getRuntime().gc(); in handleHPGC()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/ |
D | AndroidPackageParsingTestBase.kt | 126 System.gc() in <lambda>()
|