Home
last modified time | relevance | path

Searched refs:gc (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/layoutlib/bridge/src/android/view/
DShadowPainter.java243 Graphics2D gc = image.createGraphics(); in drawRectangleShadow() local
245 drawRectangleShadow(gc, x, y, width, height); in drawRectangleShadow()
247 gc.dispose(); in drawRectangleShadow()
264 Graphics2D gc = image.createGraphics(); in drawSmallRectangleShadow() local
266 drawSmallRectangleShadow(gc, x, y, width, height); in drawSmallRectangleShadow()
268 gc.dispose(); in drawSmallRectangleShadow()
295 public static void drawRectangleShadow(Graphics2D gc, int x, int y, int width, int height) { in drawRectangleShadow() argument
309 gc.drawImage(ShadowBottomLeft, x - ShadowBottomLeft.getWidth(null), y + height, null); in drawRectangleShadow()
310 gc.drawImage(ShadowBottomRight, x + width, y + height, null); in drawRectangleShadow()
311 gc.drawImage(ShadowTopRight, x + width, y, null); in drawRectangleShadow()
[all …]
/frameworks/base/core/java/android/util/
DLongSparseArray.java153 private void gc() { in gc() method in LongSparseArray
201 gc(); in put()
219 gc(); in size()
237 gc(); in keyAt()
257 gc(); in valueAt()
270 gc(); in setValueAt()
283 gc(); in indexOfKey()
299 gc(); in indexOfValue()
322 gc(); in indexOfValueByValue()
365 gc(); in append()
DSparseArray.java190 private void gc() { in gc() method in SparseArray
238 gc(); in put()
256 gc(); in size()
277 gc(); in keyAt()
300 gc(); in valueAt()
315 gc(); in setValueAt()
328 gc(); in indexOfKey()
346 gc(); in indexOfValue()
370 gc(); in indexOfValueByValue()
413 gc(); in append()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java121 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/support/compat/java/android/support/v4/util/
DLongSparseArray.java145 private void gc() { in gc() method in LongSparseArray
193 gc(); in put()
231 gc(); in size()
244 gc(); in keyAt()
258 gc(); in valueAt()
271 gc(); in setValueAt()
284 gc(); in indexOfKey()
300 gc(); in indexOfValue()
336 gc(); in append()
DSparseArrayCompat.java138 private void gc() { in gc() method in SparseArrayCompat
186 gc(); in put()
224 gc(); in size()
237 gc(); in keyAt()
251 gc(); in valueAt()
264 gc(); in setValueAt()
277 gc(); in indexOfKey()
295 gc(); in indexOfValue()
331 gc(); in append()
/frameworks/base/tests/CoreTests/android/core/
DHeapTest.java105 Runtime.getRuntime().gc(); in testGcSoftRefs()
148 Runtime.getRuntime().gc(); in xxtestSoftRefPartialClean()
209 Runtime.getRuntime().gc(); in testWeakRefs()
217 Runtime.getRuntime().gc(); in testWeakRefs()
225 Runtime.getRuntime().gc(); in testWeakRefs()
322 Runtime.getRuntime().gc(); in testPhantomRefs()
331 Runtime.getRuntime().gc(); in testPhantomRefs()
341 Runtime.getRuntime().gc(); in testPhantomRefs()
352 Runtime.getRuntime().gc(); in finalize()
379 Runtime.getRuntime().gc(); in testWeakRefsAndFinalizers()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DPositionMap.java148 private void gc() { in gc() method in PositionMap
196 gc(); in put()
234 gc(); in size()
247 gc(); in keyAt()
261 gc(); in valueAt()
274 gc(); in setValueAt()
287 gc(); in indexOfKey()
305 gc(); in indexOfValue()
343 gc(); in append()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DTestUtils.java22 public static void gc() { in gc() method in TestUtils
29 System.gc(); in gc()
33 System.gc(); in gc()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java84 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/
DRenderDrawable.java167 Graphics2D gc = image.createGraphics(); in getImage() local
168 gc.setComposite(AlphaComposite.Src); in getImage()
170 gc.setColor(new Color(0x00000000, true)); in getImage()
171 gc.fillRect(0, 0, w, h); in getImage()
174 gc.dispose(); in getImage()
DRenderSessionImpl.java504 Graphics2D gc = mImage.createGraphics(); in renderAndBuildResult() local
505 gc.setColor(new Color(params.getOverrideBgColor(), true)); in renderAndBuildResult()
506 gc.setComposite(AlphaComposite.Src); in renderAndBuildResult()
507 gc.fillRect(0, 0, mMeasuredScreenWidth, mMeasuredScreenHeight); in renderAndBuildResult()
508 gc.dispose(); in renderAndBuildResult()
525 Graphics2D gc = mImage.createGraphics(); in renderAndBuildResult() local
526 gc.setComposite(AlphaComposite.Src); in renderAndBuildResult()
528 gc.setColor(new Color(0x00000000, true)); in renderAndBuildResult()
529 gc.fillRect(0, 0, in renderAndBuildResult()
533 gc.dispose(); in renderAndBuildResult()
/frameworks/base/core/java/android/os/
DPerformanceCollector.java543 Runtime.getRuntime().gc(); in startAllocCounting()
545 Runtime.getRuntime().gc(); in startAllocCounting()
557 Runtime.getRuntime().gc(); in stopAllocCounting()
559 Runtime.getRuntime().gc(); in stopAllocCounting()
/frameworks/base/core/java/android/text/
DTextUtils.java1657 int gc = Character.getType(cp); in isGraphic() local
1658 if (gc != Character.CONTROL in isGraphic()
1659 && gc != Character.FORMAT in isGraphic()
1660 && gc != Character.SURROGATE in isGraphic()
1661 && gc != Character.UNASSIGNED in isGraphic()
1662 && gc != Character.LINE_SEPARATOR in isGraphic()
1663 && gc != Character.PARAGRAPH_SEPARATOR in isGraphic()
1664 && gc != Character.SPACE_SEPARATOR) { in isGraphic()
1680 int gc = Character.getType(c); in isGraphic() local
1681 return gc != Character.CONTROL in isGraphic()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DReferenceTestUtils.java37 Runtime.getRuntime().gc(); in createCollectionWaiter()
/frameworks/base/legacy-test/src/android/test/
DInstrumentationTestCase.java364 Runtime.getRuntime().gc(); in tearDown()
366 Runtime.getRuntime().gc(); in tearDown()
/frameworks/base/tools/preload/loadclass/
DLoadClass.java49 System.gc(); in main()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DGarbageMonitor.java63 Runtime.getRuntime().gc(); in inspectGarbage()
/frameworks/av/media/libmedia/
DIMediaSource.cpp138 mMemoryCache.gc(); in readMultiple()
251 void gc() { in gc() function
341 mIndexCache.gc(); in onTransact()
/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentTestUtil.java234 Runtime.getRuntime().gc(); in forceGC()
235 Runtime.getRuntime().gc(); in forceGC()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DLeakTest.java70 System.gc(); in testBindingLeak()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1689 for (int gc = 0; gc < this.allowedGroupCiphers.size(); gc++) { in toString()
1690 if (this.allowedGroupCiphers.get(gc)) { in toString()
1692 if (gc < GroupCipher.strings.length) { in toString()
1693 sbuf.append(GroupCipher.strings[gc]); in toString()
/frameworks/compile/mclinker/tools/mcld/
DOptions.td71 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java58 System.gc(); in getNativeHeapDump()
/frameworks/av/media/libmedia/include/media/
DIMediaSource.h247 void gc() { in gc() function

12