/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 636 mProvider.init(javaScriptInterfaces, privateBrowsing); in WebView() 693 return mProvider.getVisibleTitleHeight(); in getVisibleTitleHeight() 704 return mProvider.getCertificate(); in getCertificate() 716 mProvider.setCertificate(certificate); in setCertificate() 739 mProvider.savePassword(host, username, password); in savePassword() 775 mProvider.setHttpAuthUsernamePassword(host, realm, username, password); in setHttpAuthUsernamePassword() 793 return mProvider.getHttpAuthUsernamePassword(host, realm); in getHttpAuthUsernamePassword() 803 mProvider.destroy(); in destroy() 848 mProvider.setNetworkAvailable(networkUp); in setNetworkAvailable() 864 return mProvider.saveState(outState); in saveState() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | SingleRow.java | 52 return Math.min(mStartIndex, mProvider.getCount() - 1); in getStartIndexForAppend() 62 return Math.min(mStartIndex, mProvider.getCount() - 1); in getStartIndexForPrepend() 64 return mProvider.getCount() - 1; in getStartIndexForPrepend() 70 if (mProvider.getCount() == 0) { in prependVisibleItems() 78 int size = mProvider.createItem(index, false, mTmpItem); in prependVisibleItems() 85 edge = mProvider.getEdge(index + 1) + mMargin + size; in prependVisibleItems() 87 edge = mProvider.getEdge(index + 1) - mMargin - size; in prependVisibleItems() 91 mProvider.addItem(mTmpItem[0], index, size, 0, edge); in prependVisibleItems() 102 if (mProvider.getCount() == 0) { in appendVisibleItems() 110 for (int index = getStartIndexForAppend(); index < mProvider.getCount(); index++) { in appendVisibleItems() [all …]
|
D | StaggeredGrid.java | 120 if (mProvider.getCount() == 0) { in prependVisibleItems() 145 final int count = mProvider.getCount(); in prependVisbleItemsWithCache() 152 edge = mProvider.getEdge(mFirstVisibleIndex); in prependVisbleItemsWithCache() 172 int size = mProvider.createItem(itemIndex, false, mTmpItem); in prependVisbleItemsWithCache() 185 mProvider.addItem(mTmpItem[0], itemIndex, size, rowIndex, edge - offset); in prependVisbleItemsWithCache() 189 edge = mProvider.getEdge(itemIndex); in prependVisbleItemsWithCache() 250 int oldFirstEdge = mProvider.getEdge(mFirstIndex); in prependVisibleItemToRow() 259 loc.size = mProvider.createItem(itemIndex, false, mTmpItem); in prependVisibleItemToRow() 270 mProvider.addItem(item, itemIndex, loc.size, rowIndex, thisEdge); in prependVisibleItemToRow() 276 if (mProvider.getCount() == 0) { in appendVisibleItems() [all …]
|
D | Grid.java | 108 protected Provider mProvider; field in Grid 162 mProvider = provider; in setProvider() 237 mProvider.removeItem(mLastVisibleIndex); in invalidateItemsAfter() 388 boolean offEnd = !mReversedFlow ? mProvider.getEdge(mLastVisibleIndex) >= toLimit in removeInvisibleItemsAtEnd() 389 : mProvider.getEdge(mLastVisibleIndex) <= toLimit; in removeInvisibleItemsAtEnd() 391 mProvider.removeItem(mLastVisibleIndex); in removeInvisibleItemsAtEnd() 405 boolean offFront = !mReversedFlow ? mProvider.getEdge(mFirstVisibleIndex) in removeInvisibleItemsAtFront() 406 + mProvider.getSize(mFirstVisibleIndex) <= toLimit in removeInvisibleItemsAtFront() 407 : mProvider.getEdge(mFirstVisibleIndex) in removeInvisibleItemsAtFront() 408 - mProvider.getSize(mFirstVisibleIndex) >= toLimit; in removeInvisibleItemsAtFront() [all …]
|
D | StaggeredGridDefault.java | 33 int edge = mProvider.getEdge(mFirstVisibleIndex); in getRowMax() 45 int edge = mProvider.getEdge(mLastVisibleIndex); in getRowMax() 70 int edge = mProvider.getEdge(mLastVisibleIndex); in getRowMin() 83 int edge = mProvider.getEdge(mFirstVisibleIndex); in getRowMin() 105 int edge = mProvider.getEdge(indexLimit); in findRowMax() 127 value = edge + mProvider.getSize(indexLimit); in findRowMax() 134 int newValue = edge + mProvider.getSize(i); in findRowMax() 157 int edge = mProvider.getEdge(indexLimit); in findRowMin() 164 value = edge - mProvider.getSize(indexLimit); in findRowMin() 171 int newValue = edge - mProvider.getSize(i); in findRowMin() [all …]
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | SingleRowTest.java | 40 mProvider = new Provider(new int[]{80, 80, 30, 100, 40, 10}); in testAppendPrependRemove() 44 mSingleRow.setProvider(mProvider); in testAppendPrependRemove() 59 assertEquals(mProvider.getEdge(0), 0); in testAppendPrependRemove() 60 assertEquals(mProvider.getEdge(1), 100); in testAppendPrependRemove() 61 assertEquals(mProvider.getEdge(2), 200); in testAppendPrependRemove() 62 assertEquals(mProvider.getEdge(3), 250); in testAppendPrependRemove() 63 assertEquals(mProvider.getEdge(4), 370); in testAppendPrependRemove() 64 assertEquals(mProvider.getEdge(5), 430); in testAppendPrependRemove() 84 mProvider = new Provider(new int[]{80, 80, 30, 100, 40, 10}); in testAppendPrependRemoveReversed() 88 mSingleRow.setProvider(mProvider); in testAppendPrependRemoveReversed() [all …]
|
D | StaggeredGridDefaultTest.java | 41 mProvider = new Provider(new int[]{100, 100, 100, 100, 40, 100, 100, 30, 100}); in testWhenToFillNextRow() 47 mStaggeredGrid.setProvider(mProvider); in testWhenToFillNextRow() 63 mStaggeredGrid.setProvider(mProvider); in testWhenToFillNextRow()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDocumentsProviderTest.java | 49 private MtpDocumentsProvider mProvider; field in MtpDocumentsProviderTest 62 mProvider.shutdown(); in tearDown() 85 mProvider.resumeRootScanner(); in testOpenAndCloseDevice() 88 mProvider.openDevice(0); in testOpenAndCloseDevice() 91 mProvider.closeDevice(0); in testOpenAndCloseDevice() 98 mProvider.openDevice(1); in testOpenAndCloseErrorDevice() 103 assertEquals(0, mProvider.getOpenedDeviceRecordsCache().length); in testOpenAndCloseErrorDevice() 122 mProvider.resumeRootScanner(); in testOpenAndCloseErrorDevice() 124 mProvider.openDevice(0); in testOpenAndCloseErrorDevice() 147 mProvider.resumeRootScanner(); in testOpenDeviceOnDemand() [all …]
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationService.java | 24 private FusedLocationProvider mProvider; field in FusedLocationService 28 if (mProvider == null) { in onBind() 29 mProvider = new FusedLocationProvider(getApplicationContext()); in onBind() 31 return mProvider.getBinder(); in onBind() 37 if (mProvider != null) { in onUnbind() 38 mProvider.onDisable(); in onUnbind() 45 mProvider = null; in onDestroy()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ExportTestResolver.java | 23 private final ExportTestProvider mProvider; field in ExportTestResolver 25 mProvider = new ExportTestProvider(androidTestCase); in ExportTestResolver() 26 addProvider(VCardVerifier.VCARD_TEST_AUTHORITY, mProvider); in ExportTestResolver() 27 addProvider(RawContacts.CONTENT_URI.getAuthority(), mProvider); in ExportTestResolver() local 31 return mProvider.buildInputEntry(); in addInputContactEntry() 35 return mProvider; in getProvider()
|
D | ImportTestResolver.java | 28 private final ImportTestProvider mProvider; field in ImportTestResolver 31 mProvider = new ImportTestProvider(); in ImportTestResolver() 38 return mProvider.applyBatch(operations); in applyBatch() 42 mProvider.addExpectedContentValues(expectedContentValues); in addExpectedContentValues() 46 mProvider.verify(); in verify()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContentResolver.java | 35 private BridgeContentProvider mProvider = null; field in BridgeContentResolver 43 if (mProvider == null) { in acquireProvider() 44 mProvider = new BridgeContentProvider(); in acquireProvider() 47 return mProvider; in acquireProvider() 52 if (mProvider == null) { in acquireExistingProvider() 53 mProvider = new BridgeContentProvider(); in acquireExistingProvider() 56 return mProvider; in acquireExistingProvider()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PageContentView.java | 39 private PageContentProvider mProvider; field in PageContentView 76 return mProvider; in getPageContentProvider() 81 final boolean providerChanged = (mProvider == null) in init() 82 ? provider != null : !mProvider.equals(provider); in init() 96 mProvider = provider; in init() 106 if (mProvider == null) { in init() 117 && mProvider != null) { in requestPageContentIfNeeded() 119 mProvider.getPageContent(new RenderSpec(getWidth(), getHeight(), in requestPageContentIfNeeded()
|
/frameworks/base/core/java/android/service/notification/ |
D | ConditionProviderService.java | 65 private Provider mProvider; field in ConditionProviderService 149 getNotificationInterface().notifyConditions(getPackageName(), mProvider, conditions); in notifyConditions() local 157 if (mProvider == null) { in onBind() 158 mProvider = new Provider(); in onBind() 160 return mProvider; in onBind() 164 if (mProvider == null) { in isBound()
|
/frameworks/av/media/libnbaio/ |
D | AudioBufferProviderSource.cpp | 28 NBAIO_Source(format), mProvider(provider), mConsumed(0) in AudioBufferProviderSource() 37 mProvider->releaseBuffer(&mBuffer); in ~AudioBufferProviderSource() 56 status_t status = mProvider->getNextBuffer(&mBuffer); in read() 71 mProvider->releaseBuffer(&mBuffer); in read() 102 status_t status = mProvider->getNextBuffer(&mBuffer); in readVia() 135 mProvider->releaseBuffer(&mBuffer); in readVia()
|
/frameworks/support/documents-archive/src/android/support/provider/ |
D | DocumentArchiveHelper.java | 75 private final DocumentsProvider mProvider; field in DocumentArchiveHelper 106 mProvider = provider; in DocumentArchiveHelper() 280 final Cursor cursor = mProvider.queryDocument(id.mArchiveId, new String[] in getInstanceUncheckedLocked() 291 final Loader loader = new Loader(mProvider, localFile, id, mIdDelimiter, in getInstanceUncheckedLocked() 297 mProvider.getContext().getContentResolver().registerContentObserver(notificationUri, in getInstanceUncheckedLocked() 325 private final DocumentsProvider mProvider; field in DocumentArchiveHelper.Loader 335 this.mProvider = provider; in Loader() 350 mProvider.getContext(), mLocalFile, mId.mArchiveId, mIdDelimiter, in get() 354 mProvider.getContext(), in get() 355 mProvider.openDocument(mId.mArchiveId, "r", null /* signal */), in get()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | RemoteDisplayProviderProxy.java | 326 private final IRemoteDisplayProvider mProvider; field in RemoteDisplayProviderProxy.Connection 330 mProvider = provider; in Connection() 336 mProvider.asBinder().linkToDeath(this, 0); in register() 337 mProvider.setCallback(mCallback); in register() 352 mProvider.asBinder().unlinkToDeath(this, 0); in dispose() 358 mProvider.setDiscoveryMode(mode); in setDiscoveryMode() 366 mProvider.connect(id); in connect() 374 mProvider.disconnect(id); in disconnect() 382 mProvider.setVolume(id, volume); in setVolume() 390 mProvider.adjustVolume(id, volume); in adjustVolume()
|
/frameworks/base/location/java/android/location/ |
D | LocationRequest.java | 154 …private String mProvider = LocationManager.FUSED_PROVIDER; // for deprecated APIs that explicitly… field in LocationRequest 243 mProvider = src.mProvider; in LocationRequest() 486 mProvider = provider; in setProvider() 493 return mProvider; in getProvider() 626 parcel.writeString(mProvider); in writeToParcel() 654 if (mProvider != null) s.append(' ').append(mProvider); in toString()
|
D | Location.java | 113 private String mProvider; field in Location 136 mProvider = provider; in Location() 150 mProvider = l.mProvider; in set() 167 mProvider = null; in reset() 492 return mProvider; in getProvider() 499 mProvider = provider; in setProvider() 793 if (mProvider == null) return false; in isComplete() 811 if (mProvider == null) mProvider = "?"; in makeComplete() 850 s.append(mProvider); in toString() 911 parcel.writeString(mProvider); in writeToParcel()
|
/frameworks/base/core/java/android/animation/ |
D | AnimationHandler.java | 49 private AnimationFrameCallbackProvider mProvider; field in AnimationHandler 77 mProvider = new MyFrameCallbackProvider(); in setProvider() 79 mProvider = provider; in setProvider() 84 if (mProvider == null) { in getProvider() 85 mProvider = new MyFrameCallbackProvider(); in getProvider() 87 return mProvider; in getProvider()
|
/frameworks/base/test-runner/src/android/test/ |
D | ProviderTestCase.java | 52 private T mProvider; field in ProviderTestCase 55 return mProvider; in getProvider() 70 mProvider = ProviderTestCase2.createProviderForTest( in setUp() 83 mProvider.shutdown(); in tearDown()
|
D | ProviderTestCase2.java | 108 private T mProvider; field in ProviderTestCase2 115 return mProvider; in getProvider() 142 mProvider = createProviderForTest(mProviderContext, mProviderClass, mProviderAuthority); in setUp() 167 mProvider.shutdown(); in tearDown()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | SearchSupportFragment.java | 167 ObjectAdapter adapter = mProvider.getResultsAdapter(); 209 SearchResultProvider mProvider; field in SearchSupportFragment 298 null == mProvider ? "(null)" : mProvider)); in onCreateView() 299 if (null != mProvider) { in onCreateView() 356 if (null != mProvider) { in onCreateView() 444 if (mProvider != searchResultProvider) { in setSearchResultProvider() 445 mProvider = searchResultProvider; in setSearchResultProvider() 620 if (mProvider.onQueryTextChange(searchQuery)) { in retrieveResults() 627 if (null != mProvider) { in submitQuery() 628 mProvider.onQueryTextSubmit(query); in submitQuery()
|
D | SearchFragment.java | 165 ObjectAdapter adapter = mProvider.getResultsAdapter(); 207 SearchResultProvider mProvider; field in SearchFragment 296 null == mProvider ? "(null)" : mProvider)); in onCreateView() 297 if (null != mProvider) { in onCreateView() 354 if (null != mProvider) { in onCreateView() 442 if (mProvider != searchResultProvider) { in setSearchResultProvider() 443 mProvider = searchResultProvider; in setSearchResultProvider() 618 if (mProvider.onQueryTextChange(searchQuery)) { in retrieveResults() 625 if (null != mProvider) { in submitQuery() 626 mProvider.onQueryTextSubmit(query); in submitQuery()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouteProviderService.java | 74 MediaRouteProvider mProvider; field in MediaRouteProviderService 116 return mProvider; in getMediaRouteProvider() 122 if (mProvider == null) { in onBind() 134 mProvider = provider; in onBind() 135 mProvider.setCallback(mProviderCallback); in onBind() 138 if (mProvider != null) { in onBind() 147 if (mProvider != null) { in onUnbind() 148 mProvider.setCallback(null); in onUnbind() 164 MediaRouteProviderDescriptor descriptor = mProvider.getDescriptor(); in onRegisterClient() 443 mProvider.setDiscoveryRequest(composite); in updateCompositeDiscoveryRequest() [all …]
|