Home
last modified time | relevance | path

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

12

/frameworks/base/tools/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/tools/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/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()
335 gc(); in append()
DSparseArray.java184 private void gc() { in gc() method in SparseArray
232 gc(); in put()
250 gc(); in size()
268 gc(); in keyAt()
288 gc(); in valueAt()
301 gc(); in setValueAt()
314 gc(); in indexOfKey()
332 gc(); in indexOfValue()
368 gc(); in append()
/frameworks/support/v4/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()
341 gc(); in append()
/frameworks/base/tools/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.java399 Graphics2D gc = mImage.createGraphics(); in render() local
400 gc.setColor(new Color(params.getOverrideBgColor(), true)); in render()
401 gc.setComposite(AlphaComposite.Src); in render()
402 gc.fillRect(0, 0, mMeasuredScreenWidth, mMeasuredScreenHeight); in render()
403 gc.dispose(); in render()
420 Graphics2D gc = mImage.createGraphics(); in render() local
421 gc.setComposite(AlphaComposite.Src); in render()
423 gc.setColor(new Color(0x00000000, true)); in render()
424 gc.fillRect(0, 0, in render()
428 gc.dispose(); in render()
/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()
DStrictMode.java1581 System.gc(); in conditionallyCheckInstanceCounts()
1583 System.gc(); in conditionallyCheckInstanceCounts()
2256 System.gc(); in decrementExpectedActivityCount()
2258 System.gc(); in decrementExpectedActivityCount()
/frameworks/base/core/java/android/text/
DTextUtils.java1444 int gc = Character.getType(str.charAt(i)); in isGraphic() local
1445 if (gc != Character.CONTROL in isGraphic()
1446 && gc != Character.FORMAT in isGraphic()
1447 && gc != Character.SURROGATE in isGraphic()
1448 && gc != Character.UNASSIGNED in isGraphic()
1449 && gc != Character.LINE_SEPARATOR in isGraphic()
1450 && gc != Character.PARAGRAPH_SEPARATOR in isGraphic()
1451 && gc != Character.SPACE_SEPARATOR) { in isGraphic()
1462 int gc = Character.getType(c); in isGraphic() local
1463 return gc != Character.CONTROL in isGraphic()
[all …]
/frameworks/base/core/java/android/test/
DInstrumentationTestCase.java358 Runtime.getRuntime().gc(); in tearDown()
360 Runtime.getRuntime().gc(); in tearDown()
/frameworks/base/tools/preload/loadclass/
DLoadClass.java49 System.gc(); in main()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DLeakTest.java68 System.gc(); in testBindingLeak()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1077 for (int gc = 0; gc < this.allowedGroupCiphers.size(); gc++) { in toString()
1078 if (this.allowedGroupCiphers.get(gc)) { in toString()
1080 if (gc < GroupCipher.strings.length) { in toString()
1081 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/base/core/java/android/ddm/
DDdmHandleHeap.java222 Runtime.getRuntime().gc(); in handleHPGC()
/frameworks/base/core/java/android/app/
DInstrumentation.java1335 Runtime.getRuntime().gc(); in startAllocCounting()
1337 Runtime.getRuntime().gc(); in startAllocCounting()
1352 Runtime.getRuntime().gc(); in stopAllocCounting()
1354 Runtime.getRuntime().gc(); in stopAllocCounting()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1079 int gc = 0; in getGroupCapability() local
1080 if (TextUtils.isEmpty(deviceAddress)) return gc; in getGroupCapability()
1082 if (TextUtils.isEmpty(peerInfo)) return gc; in getGroupCapability()
1092 return gc; in getGroupCapability()
1096 return gc; in getGroupCapability()
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java407 System.gc(); in gcAndFinalize()
409 System.gc(); in gcAndFinalize()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java267 System.gc(); in queryChildDocuments()
/frameworks/base/docs/html/guide/practices/
Dverifying-apps-art.jd63 java.lang.System#gc() System.gc()} to prompt garbage collection (GC). This should be

12