Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DDefaultSuggestionViewFactory.java47 protected final void addFactory(SuggestionViewFactory factory) { in addFactory() argument
48 mFactories.addFirst(factory); in addFactory()
56 for (SuggestionViewFactory factory : mFactories) { in getSuggestionViewTypes()
57 mViewTypes.addAll(factory.getSuggestionViewTypes()); in getSuggestionViewTypes()
66 for (SuggestionViewFactory factory : mFactories) { in getView()
67 if (factory.canCreateView(suggestion)) { in getView()
68 return factory.getView(suggestion, userQuery, convertView, parent); in getView()
76 for (SuggestionViewFactory factory : mFactories) { in getViewType()
77 if (factory.canCreateView(suggestion)) { in getViewType()
78 return factory.getViewType(suggestion); in getViewType()
/packages/apps/Browser/src/com/android/browser/
DPageDialogsHandler.java140 final LayoutInflater factory = LayoutInflater.from(mContext); in showPageInfo()
142 final View pageInfoView = factory.inflate(R.layout.page_info, null); in showPageInfo()
348 LayoutInflater factory = LayoutInflater.from(mContext); in createSslCertificateDialog() local
353 LinearLayout table = (LinearLayout)factory.inflate(R.layout.ssl_success, placeholder); in createSslCertificateDialog()
359 addError(factory, placeholder, R.string.ssl_untrusted); in createSslCertificateDialog()
362 addError(factory, placeholder, R.string.ssl_mismatch); in createSslCertificateDialog()
365 addError(factory, placeholder, R.string.ssl_expired); in createSslCertificateDialog()
368 addError(factory, placeholder, R.string.ssl_not_yet_valid); in createSslCertificateDialog()
371 addError(factory, placeholder, R.string.ssl_date_invalid); in createSslCertificateDialog()
374 addError(factory, placeholder, R.string.ssl_invalid); in createSslCertificateDialog()
[all …]
DAddNewBookmark.java41 LayoutInflater factory = LayoutInflater.from(context); in AddNewBookmark() local
42 factory.inflate(R.layout.add_new_bookmark, this); in AddNewBookmark()
DHttpAuthenticationDialog.java111 LayoutInflater factory = LayoutInflater.from(mContext); in createDialog() local
112 View v = factory.inflate(R.layout.http_authentication, null); in createDialog()
DBookmarkItem.java54 LayoutInflater factory = LayoutInflater.from(context); in BookmarkItem() local
55 factory.inflate(R.layout.history_item, this); in BookmarkItem()
DDateSortedExpandableListAdapter.java285 LayoutInflater factory = LayoutInflater.from(mContext); in getGroupView() local
286 item = (TextView) factory.inflate(R.layout.history_header, null); in getGroupView()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DIntentStore.java212 XmlPullParserFactory factory; in stringToAccount() local
215 factory = XmlPullParserFactory.newInstance(); in stringToAccount()
217 parser = factory.newPullParser(); in stringToAccount()
265 XmlPullParserFactory factory; in stringToPersistableBundle() local
268 factory = XmlPullParserFactory.newInstance(); in stringToPersistableBundle()
270 parser = factory.newPullParser(); in stringToPersistableBundle()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer2DictDecoderTests.java61 public void runTestOpenBuffer(final String testName, final DictionaryBufferFactory factory) { in runTestOpenBuffer() argument
71 factory); in runTestOpenBuffer()
104 public void runTestGetBuffer(final String testName, final DictionaryBufferFactory factory) { in runTestGetBuffer() argument
113 factory); in runTestGetBuffer()
DBinaryDictIOUtils.java55 final long length, final DictionaryBufferFactory factory) { in getDictDecoder() argument
57 return new Ver4DictDecoder(dictFile, factory); in getDictDecoder()
59 return new Ver2DictDecoder(dictFile, offset, length, factory); in getDictDecoder()
/packages/apps/UnifiedEmail/src/com/android/mail/content/
DObjectCursorLoader.java56 CursorCreator<T> factory) { in ObjectCursorLoader() argument
63 if (factory == null) { in ObjectCursorLoader()
70 mFactory = factory; in ObjectCursorLoader()
DObjectCursor.java39 public ObjectCursor(Cursor cursor, CursorCreator<T> factory) { in ObjectCursor() argument
46 mFactory = factory; in ObjectCursor()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DStringResourceMap.java54 final SAXParserFactory factory = SAXParserFactory.newInstance(); in StringResourceMap() local
55 factory.setNamespaceAware(true); in StringResourceMap()
58 final SAXParser parser = factory.newSAXParser(); in StringResourceMap()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DXmlDictInputOutput.java290 final SAXParserFactory factory = SAXParserFactory.newInstance(); in readDictionaryXml() local
291 factory.setNamespaceAware(true); in readDictionaryXml()
292 final SAXParser parser = factory.newSAXParser(); in readDictionaryXml()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPriorityThreadFactoryTest.java41 ThreadFactory factory = new PriorityThreadFactory(priority); in priorityTest() local
43 Thread t = factory.newThread(r); in priorityTest()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastCursorAdapter.java49 LayoutInflater factory = LayoutInflater.from(context); in newView() local
50 CellBroadcastListItem listItem = (CellBroadcastListItem) factory.inflate( in newView()
/packages/apps/Mms/src/com/android/mms/ui/
DDeliveryReportAdapter.java46 LayoutInflater factory = LayoutInflater.from(getContext()); in getView() local
47 listItem = (DeliveryReportListItem) factory.inflate( in getView()
/packages/apps/Dialer/src/com/android/dialer/util/
DAsyncTaskExecutors.java75 public static void setFactoryForTest(AsyncTaskExecutorFactory factory) { in setFactoryForTest() argument
77 mInjectedAsyncTaskExecutorFactory = factory; in setFactoryForTest()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAccountLoadCallbacks.java40 final CursorCreator<Account> factory = Account.FACTORY; in onCreateLoader() local
41 return new ObjectCursorLoader<Account>(mContext, mAccountUri, projection, factory); in onCreateLoader()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DCursorFactoryListAdapter.java61 public CursorFactoryListAdapter(Context context, ViewFactory factory) { in CursorFactoryListAdapter() argument
63 mViewFactory = factory; in CursorFactoryListAdapter()
/packages/apps/Gallery2/src/com/android/photos/adapters/
DPhotoThumbnailAdapter.java43 public void setDrawableFactory(LoaderCompatShim<Cursor> factory) { in setDrawableFactory() argument
44 mDrawableFactory = factory; in setDrawableFactory()
DAlbumSetCursorAdapter.java41 public void setDrawableFactory(LoaderCompatShim<Cursor> factory) { in setDrawableFactory() argument
42 mDrawableFactory = factory; in setDrawableFactory()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DAttachmentComposeView.java55 LayoutInflater factory = LayoutInflater.from(getContext()); in AttachmentComposeView() local
57 factory.inflate(R.layout.attachment, this); in AttachmentComposeView()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTree.java137 public void setConverterFactory(ConverterFactory factory) { in setConverterFactory() argument
138 if (factory == null) { in setConverterFactory()
141 converterFactory = factory; in setConverterFactory()
/packages/apps/Settings/tests/src/com/android/settings/vpn2/
DVpnProfileParser.java233 SAXParserFactory factory = SAXParserFactory.newInstance(); in parse() local
234 SAXParser saxParser = factory.newSAXParser(); in parse()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLSocketFactoryWrapper.java67 SSLSocketFactoryWrapper(final SSLSocketFactory factory, final boolean secure, in SSLSocketFactoryWrapper() argument
69 mFactory = factory; in SSLSocketFactoryWrapper()

12