Home
last modified time | relevance | path

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

12

/frameworks/testing/uiautomator/utils/uiautomatorviewer/src/com/android/uiautomator/
DUiAutomatorViewer.java120 Transform t = new Transform(e.gc.getDevice()); in createContents()
123 e.gc.setTransform(t); in createContents()
124 e.gc.drawImage(image, 0, 0); in createContents()
128 e.gc.setTransform(null); in createContents()
131 e.gc.setForeground(e.gc.getDevice().getSystemColor(SWT.COLOR_YELLOW)); in createContents()
132 e.gc.setBackground(e.gc.getDevice().getSystemColor(SWT.COLOR_YELLOW)); in createContents()
134 e.gc.setAlpha(50); in createContents()
135 e.gc.fillRectangle(mDx + getScaledSize(r.x), mDy + getScaledSize(r.y), in createContents()
137 e.gc.setAlpha(255); in createContents()
138 e.gc.setLineStyle(SWT.LINE_SOLID); in createContents()
[all …]
/frameworks/support/v4/java/android/support/v4/util/
DSparseArrayCompat.java113 private void gc() { in gc() method in SparseArrayCompat
160 gc(); in put()
198 gc(); in size()
211 gc(); in keyAt()
224 gc(); in valueAt()
237 gc(); in setValueAt()
250 gc(); in indexOfKey()
266 gc(); in indexOfValue()
302 gc(); in append()
DLongSparseArray.java120 private void gc() { in gc() method in LongSparseArray
168 gc(); in put()
206 gc(); in size()
219 gc(); in keyAt()
233 gc(); in valueAt()
246 gc(); in setValueAt()
259 gc(); in indexOfKey()
275 gc(); in indexOfValue()
311 gc(); in append()
/frameworks/base/core/java/android/util/
DSparseArray.java122 private void gc() { in gc() method in SparseArray
170 gc(); in put()
208 gc(); in size()
221 gc(); in keyAt()
235 gc(); in valueAt()
248 gc(); in setValueAt()
261 gc(); in indexOfKey()
277 gc(); in indexOfValue()
313 gc(); in append()
DLongSparseArray.java122 private void gc() { in gc() method in LongSparseArray
170 gc(); in put()
208 gc(); in size()
221 gc(); in keyAt()
235 gc(); in valueAt()
248 gc(); in setValueAt()
261 gc(); in indexOfKey()
277 gc(); in indexOfValue()
313 gc(); in append()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java121 private void gc() { in gc() method in SparseWeakArray
178 gc(); in put()
216 gc(); in size()
229 gc(); in keyAt()
242 gc(); in valueAt()
255 gc(); in setValueAt()
268 gc(); in indexOfKey()
284 gc(); in indexOfValue()
320 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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java119 Graphics2D gc = image.createGraphics(); in getImage() local
120 gc.setComposite(AlphaComposite.Src); in getImage()
122 gc.setColor(new Color(0x00000000, true)); in getImage()
123 gc.fillRect(0, 0, w, h); in getImage()
126 gc.dispose(); in getImage()
DRenderSessionImpl.java477 Graphics2D gc = mImage.createGraphics(); in render() local
478 gc.setColor(new Color(params.getOverrideBgColor(), true)); in render()
479 gc.setComposite(AlphaComposite.Src); in render()
480 gc.fillRect(0, 0, mMeasuredScreenWidth, mMeasuredScreenHeight); in render()
481 gc.dispose(); in render()
494 Graphics2D gc = mImage.createGraphics(); in render() local
495 gc.setComposite(AlphaComposite.Src); in render()
497 gc.setColor(new Color(0x00000000, true)); in render()
498 gc.fillRect(0, 0, in render()
502 gc.dispose(); in render()
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java264 System.gc(); in preloadClasses()
291 System.gc(); in preloadClasses()
340 System.gc(); in preloadResources()
378 System.gc(); in preloadColorStateLists()
401 System.gc(); in preloadDrawables()
426 /*package*/ static void gc() { in gc() method in ZygoteInit
432 System.gc(); in gc()
434 System.gc(); in gc()
436 System.gc(); in gc()
530 gc(); in main()
[all …]
DBinderInternal.java89 Runtime.getRuntime().gc(); in forceGc()
DZygoteConnection.java148 ZygoteInit.gc(); in run()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java484 for (int gc = 0; gc < this.allowedGroupCiphers.size(); gc++) { in toString()
485 if (this.allowedGroupCiphers.get(gc)) { in toString()
487 if (gc < GroupCipher.strings.length) { in toString()
488 sbuf.append(GroupCipher.strings[gc]); in toString()
DWifiNative.java644 int gc = 0; in getGroupCapability() local
645 if (TextUtils.isEmpty(deviceAddress)) return gc; in getGroupCapability()
647 if (TextUtils.isEmpty(peerInfo)) return gc; in getGroupCapability()
657 return gc; in getGroupCapability()
661 return gc; in getGroupCapability()
/frameworks/base/core/java/android/text/
DTextUtils.java1395 int gc = Character.getType(str.charAt(i)); in isGraphic() local
1396 if (gc != Character.CONTROL in isGraphic()
1397 && gc != Character.FORMAT in isGraphic()
1398 && gc != Character.SURROGATE in isGraphic()
1399 && gc != Character.UNASSIGNED in isGraphic()
1400 && gc != Character.LINE_SEPARATOR in isGraphic()
1401 && gc != Character.PARAGRAPH_SEPARATOR in isGraphic()
1402 && gc != Character.SPACE_SEPARATOR) { in isGraphic()
1413 int gc = Character.getType(c); in isGraphic() local
1414 return gc != Character.CONTROL in isGraphic()
[all …]
/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.java1419 Runtime.getRuntime().gc(); in conditionallyCheckInstanceCounts()
1958 Runtime.getRuntime().gc(); in decrementExpectedActivityCount()
/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/base/core/java/android/app/
DInstrumentation.java1246 Runtime.getRuntime().gc(); in startAllocCounting()
1248 Runtime.getRuntime().gc(); in startAllocCounting()
1260 Runtime.getRuntime().gc(); in stopAllocCounting()
1262 Runtime.getRuntime().gc(); in stopAllocCounting()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java58 System.gc(); in getNativeHeapDump()
/frameworks/base/core/java/android/ddm/
DDdmHandleHeap.java222 System.gc(); in handleHPGC()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DLoadTestsAutoTest.java146 System.gc(); in freeMem()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DVideoEditorStressTest.java120 System.gc(); in tearDown()
143 System.gc(); in getBeginMemory()
151 System.gc(); in getAfterMemory_updateLog()
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_passed.txt1242 /sdcard/android/layout_tests/fast/workers/worker-context-gc.html
1246 /sdcard/android/layout_tests/fast/workers/worker-gc.html
1251 /sdcard/android/layout_tests/fast/workers/worker-messageport-gc.html
1274 /sdcard/android/layout_tests/fast/events/message-channel-gc-4.html
1301 /sdcard/android/layout_tests/fast/events/message-channel-gc-2.html
1305 /sdcard/android/layout_tests/fast/events/message-channel-gc.html
1317 /sdcard/android/layout_tests/fast/events/message-channel-gc-3.html
1453 /sdcard/android/layout_tests/fast/js/var-shadows-arg-gc-crash.html
1480 /sdcard/android/layout_tests/fast/js/duplicate-param-gc-crash.html
1512 /sdcard/android/layout_tests/fast/js/getter-setter-gc.html
[all …]

12