Home
last modified time | relevance | path

Searched refs:getInstance (Results 1 – 25 of 254) sorted by relevance

1234567891011

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPorterDuffXfermode_Delegate.java87 return AlphaComposite.getInstance(AlphaComposite.CLEAR, falpha); in getComposite()
91 return AlphaComposite.getInstance(AlphaComposite.DST, falpha); in getComposite()
93 return AlphaComposite.getInstance(AlphaComposite.DST_ATOP, falpha); in getComposite()
95 return AlphaComposite.getInstance(AlphaComposite.DST_IN, falpha); in getComposite()
97 return AlphaComposite.getInstance(AlphaComposite.DST_OUT, falpha); in getComposite()
99 return AlphaComposite.getInstance(AlphaComposite.DST_OVER, falpha); in getComposite()
107 return AlphaComposite.getInstance(AlphaComposite.SRC, falpha); in getComposite()
109 return AlphaComposite.getInstance(AlphaComposite.SRC_ATOP, falpha); in getComposite()
111 return AlphaComposite.getInstance(AlphaComposite.SRC_IN, falpha); in getComposite()
113 return AlphaComposite.getInstance(AlphaComposite.SRC_OUT, falpha); in getComposite()
[all …]
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
DInterrogationActivityTest.java77 AccessibilityNodeInfo button = AccessibilityInteractionClient.getInstance() in testFindAccessibilityNodeInfoByViewId()
130 List<AccessibilityNodeInfo> buttons = AccessibilityInteractionClient.getInstance() in testFindAccessibilityNodeInfoByViewText()
153 List<AccessibilityNodeInfo> buttons = AccessibilityInteractionClient.getInstance() in testFindAccessibilityNodeInfoByViewTextContentDescription()
192 AccessibilityNodeInfo root = AccessibilityInteractionClient.getInstance() in testTraverseAllViews()
237 AccessibilityNodeInfo button = AccessibilityInteractionClient.getInstance() in testPerformAccessibilityActionFocus()
245 button = AccessibilityInteractionClient.getInstance() in testPerformAccessibilityActionFocus()
267 AccessibilityNodeInfo button = AccessibilityInteractionClient.getInstance() in testPerformAccessibilityActionClearFocus()
275 button = AccessibilityInteractionClient.getInstance() in testPerformAccessibilityActionClearFocus()
283 button = AccessibilityInteractionClient.getInstance() in testPerformAccessibilityActionClearFocus()
306 AccessibilityNodeInfo button = AccessibilityInteractionClient.getInstance() in testPerformAccessibilityActionSelect()
[all …]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DLayoutTestController.java40 WebStorage.getInstance().deleteAllData(); in clearAllDatabases()
69 WebStorage.getInstance().setAppCacheMaximumSize(size); in setAppCacheMaximumSize()
79 WebStorage.getInstance().setQuotaForOrigin(Uri.fromFile(new File("")).toString(), in setDatabaseQuota()
100 MockGeolocation.getInstance().setError(code, message); in setMockGeolocationError()
106 MockGeolocation.getInstance().setPosition(latitude, longitude, accuracy); in setMockGeolocationPosition()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DLinearLayoutGridTest.java48 FocusFinder.getInstance().findNextFocus( in testGoDownFromMiddle()
57 FocusFinder.getInstance().findNextFocus( in testGoUpFromMiddle()
66 FocusFinder.getInstance().findNextFocus( in testGoRightFromMiddle()
75 FocusFinder.getInstance().findNextFocus( in testGoLeftFromMiddle()
/frameworks/base/core/java/android/webkit/
DCookieSyncManager.java79 public static synchronized CookieSyncManager getInstance() { in getInstance() method in CookieSyncManager
179 CookieManager manager = CookieManager.getInstance(); in syncFromRamToFlash()
212 CookieManager.getInstance().syncedACookie(cookie); in syncFromRamToFlash()
214 CookieManager.getInstance().deleteACookie(cookie); in syncFromRamToFlash()
DJWebCoreJavaBridge.java118 nativeUpdatePluginDirectories(PluginManager.getInstance(null) in handleMessage()
188 CookieManager.getInstance().setCookie(url, value); in setCookies()
197 return CookieManager.getInstance().getCookie(url); in cookies()
204 return CookieManager.getInstance().acceptCookie(); in cookiesEnabled()
211 return PluginManager.getInstance(null).getPluginDirectories(); in getPluginDirectories()
218 return PluginManager.getInstance(null).getPluginSharedDataDirectory(); in getPluginSharedDataDirectory()
DCertTool.java53 KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA"); in getSignedPublicKey()
62 Credentials.getInstance().install(context, pair); in getSignedPublicKey()
71 Credentials.getInstance().install(context, type, value); in addCertificate()
/frameworks/base/core/tests/coretests/src/android/util/
DTimeUtilsTest.java42 Calendar c = Calendar.getInstance(tz); in testMainstream()
63 Calendar c = Calendar.getInstance(tz); in testWeird()
79 Calendar c = Calendar.getInstance(tz); in testOld()
393 Calendar c = Calendar.getInstance(tz); in testWorld()
417 Calendar c = Calendar.getInstance(tz); in testWorldWeird()
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java78 public static TextKeyListener getInstance(boolean autotext, in getInstance() method in TextKeyListener
93 public static TextKeyListener getInstance() { in getInstance() method in TextKeyListener
94 return getInstance(false, Capitalize.NONE); in getInstance()
187 return QwertyKeyListener.getInstance(mAutoText, mAutoCap); in getKeyListener()
189 return MultiTapKeyListener.getInstance(mAutoText, mAutoCap); in getKeyListener()
200 return NullKeyListener.getInstance(); in getKeyListener()
230 public static NullKeyListener getInstance() { in getInstance() method in TextKeyListener.NullKeyListener
DDigitsKeyListener.java78 public static DigitsKeyListener getInstance() { in getInstance() method in DigitsKeyListener
79 return getInstance(false, false); in getInstance()
87 public static DigitsKeyListener getInstance(boolean sign, boolean decimal) { in getInstance() method in DigitsKeyListener
102 public static DigitsKeyListener getInstance(String accepted) { in getInstance() method in DigitsKeyListener
/frameworks/base/services/sensorservice/
DRotationVectorSensor.cpp31 : mSensorDevice(SensorDevice::getInstance()), in RotationVectorSensor()
32 mSensorFusion(SensorFusion::getInstance()) in RotationVectorSensor()
81 : mSensorDevice(SensorDevice::getInstance()), in GyroDriftSensor()
82 mSensorFusion(SensorFusion::getInstance()) in GyroDriftSensor()
DOrientationSensor.cpp33 : mSensorDevice(SensorDevice::getInstance()), in OrientationSensor()
34 mSensorFusion(SensorFusion::getInstance()) in OrientationSensor()
DGravitySensor.cpp33 : mSensorDevice(SensorDevice::getInstance()), in GravitySensor()
34 mSensorFusion(SensorFusion::getInstance()) in GravitySensor()
DCorrectedGyroSensor.cpp33 : mSensorDevice(SensorDevice::getInstance()), in CorrectedGyroSensor()
34 mSensorFusion(SensorFusion::getInstance()) in CorrectedGyroSensor()
/frameworks/base/core/java/com/android/internal/view/
DInputConnectionWrapper.java55 private static InputContextCallback getInstance() { in getInstance() method in InputConnectionWrapper.InputContextCallback
186 InputContextCallback callback = InputContextCallback.getInstance(); in getTextAfterCursor()
204 InputContextCallback callback = InputContextCallback.getInstance(); in getTextBeforeCursor()
222 InputContextCallback callback = InputContextCallback.getInstance(); in getSelectedText()
240 InputContextCallback callback = InputContextCallback.getInstance(); in getCursorCapsMode()
258 InputContextCallback callback = InputContextCallback.getInstance(); in getExtractedText()
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListButtonsDiagonalAcrossItemsTest.java73 FocusFinder.getInstance().findNextFocus(mListView, mLeftButton, View.FOCUS_RIGHT)); in testPreconditions()
76 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_RIGHT)); in testPreconditions()
79 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_LEFT)); in testPreconditions()
DListHorizontalFocusWithinItemWinsTest.java56 … FocusFinder.getInstance().findNextFocus(mListView, mTopLeftButton, View.FOCUS_RIGHT)); in testPreconditions()
59 … FocusFinder.getInstance().findNextFocus(mListView, mTopRightButton, View.FOCUS_LEFT)); in testPreconditions()
/frameworks/base/libs/hwui/
DLayerRenderer.cpp179 GLuint fbo = Caches::getInstance().fboCache.get(); in createLayer()
186 Layer* layer = Caches::getInstance().layerCache.get(width, height); in createLayer()
216 Caches::getInstance().fboCache.put(fbo); in createLayer()
242 if (Caches::getInstance().layerCache.resize(layer, width, height)) { in resizeLayer()
302 Caches::getInstance().fboCache.put(layer->getFbo()); in destroyLayer()
305 if (!Caches::getInstance().layerCache.put(layer)) { in destroyLayer()
312 Caches::getInstance().layerCache.dump(); in destroyLayer()
323 Caches::getInstance().deleteLayerDeferred(layer); in destroyLayerDeferred()
328 Caches& caches = Caches::getInstance(); in copyLayer()
DResourceCache.cpp136 Caches::getInstance().pathCache.removeDeferred(resource); in destructor()
153 Caches::getInstance().textureCache.removeDeferred(resource); in destructor()
205 Caches::getInstance().textureCache.removeDeferred(bitmap); in deleteResourceReference()
213 Caches::getInstance().pathCache.removeDeferred(path); in deleteResourceReference()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DDateUtils.java40 Calendar c = Calendar.getInstance(tz); in getKMLTimestamp()
57 Calendar c = Calendar.getInstance(); in getCurrentTimestamp()
/frameworks/base/tools/layoutlib/bridge/src/android/view/inputmethod/
DInputMethodManager_Delegate.java38 /*package*/ static InputMethodManager getInstance(Looper mainLooper) { in getInstance() method in InputMethodManager_Delegate
51 /*package*/ static InputMethodManager getInstance(Context context) { in getInstance() method in InputMethodManager_Delegate
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java46 public static SystemKeyStore getInstance() { in getInstance() method in SystemKeyStore
81 KeyGenerator skg = KeyGenerator.getInstance(algName); in generateNewKey()
82 SecureRandom srng = SecureRandom.getInstance("SHA1PRNG"); in generateNewKey()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DCallbackProxy.java482 WebStorage.getInstance().deleteAllData(); in clearAllDatabases()
486 WebStorage.getInstance().setQuotaForOrigin("file://", quota); in setDatabaseQuota()
490 WebStorage.getInstance().setAppCacheMaximumSize(size); in setAppCacheMaximumSize()
500 MockGeolocation.getInstance().setPosition(latitude, in setMockGeolocationPosition()
506 MockGeolocation.getInstance().setError(code, message); in setMockGeolocationError()
/frameworks/base/tests/CoreTests/android/core/
DSSLSocketTest.java311 SSLContext ctx = SSLContext.getInstance("TLS"); in testContextInitNullArgs()
320 SSLContext ctx = SSLContext.getInstance("TLS"); in testDefaultAlgorithms()
321 KeyManagerFactory kmf = KeyManagerFactory.getInstance("X509"); in testDefaultAlgorithms()
322 KeyStore ks = KeyStore.getInstance("BKS"); in testDefaultAlgorithms()
653 SSLContext sslContext = SSLContext.getInstance("TLS"); in run()
729 SSLContext sslContext = SSLContext.getInstance("TLS"); in run()
771 KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); in getKeyManagers()
776 KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(algorithm); in getKeyManagers()
/frameworks/base/core/java/android/text/
DAutoText.java87 private static AutoText getInstance(View view) { in getInstance() method in AutoText
111 return getInstance(view).lookup(src, start, end); in get()
122 return getInstance(view).getSize(); in getSize()

1234567891011