/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() 758 mProvider.setHttpAuthUsernamePassword(host, realm, username, password); in setHttpAuthUsernamePassword() 777 return mProvider.getHttpAuthUsernamePassword(host, realm); in getHttpAuthUsernamePassword() 787 mProvider.destroy(); in destroy() 832 mProvider.setNetworkAvailable(networkUp); in setNetworkAvailable() 848 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 | 109 protected Provider mProvider; field in Grid 163 mProvider = provider; in setProvider() 238 mProvider.removeItem(mLastVisibleIndex); in invalidateItemsAfter() 389 boolean offEnd = !mReversedFlow ? mProvider.getEdge(mLastVisibleIndex) >= toLimit in removeInvisibleItemsAtEnd() 390 : mProvider.getEdge(mLastVisibleIndex) <= toLimit; in removeInvisibleItemsAtEnd() 392 mProvider.removeItem(mLastVisibleIndex); in removeInvisibleItemsAtEnd() 406 boolean offFront = !mReversedFlow ? mProvider.getEdge(mFirstVisibleIndex) in removeInvisibleItemsAtFront() 407 + mProvider.getSize(mFirstVisibleIndex) <= toLimit in removeInvisibleItemsAtFront() 408 : mProvider.getEdge(mFirstVisibleIndex) in removeInvisibleItemsAtFront() 409 - 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/tests/src/android/support/v17/leanback/widget/ |
D | SingleRowTest.java | 27 mProvider = new Provider(new int[]{80, 80, 30, 100, 40, 10}); in testAppendPrependRemove() 31 mSingleRow.setProvider(mProvider); in testAppendPrependRemove() 46 assertEquals(mProvider.getEdge(0), 0); in testAppendPrependRemove() 47 assertEquals(mProvider.getEdge(1), 100); in testAppendPrependRemove() 48 assertEquals(mProvider.getEdge(2), 200); in testAppendPrependRemove() 49 assertEquals(mProvider.getEdge(3), 250); in testAppendPrependRemove() 50 assertEquals(mProvider.getEdge(4), 370); in testAppendPrependRemove() 51 assertEquals(mProvider.getEdge(5), 430); in testAppendPrependRemove() 70 mProvider = new Provider(new int[]{80, 80, 30, 100, 40, 10}); in testAppendPrependRemoveReversed() 74 mSingleRow.setProvider(mProvider); in testAppendPrependRemoveReversed() [all …]
|
D | StaggeredGridDefaultTest.java | 27 mProvider = new Provider(new int[]{100, 100, 100, 100, 40, 100, 100, 30, 100}); in testWhenToFillNextRow() 33 mStaggeredGrid.setProvider(mProvider); in testWhenToFillNextRow() 49 mStaggeredGrid.setProvider(mProvider); in testWhenToFillNextRow()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDocumentsProviderTest.java | 47 private MtpDocumentsProvider mProvider; field in MtpDocumentsProviderTest 60 mProvider.shutdown(); in tearDown() 83 mProvider.resumeRootScanner(); in testOpenAndCloseDevice() 86 mProvider.openDevice(0); in testOpenAndCloseDevice() 89 mProvider.closeDevice(0); in testOpenAndCloseDevice() 96 mProvider.openDevice(1); in testOpenAndCloseErrorDevice() 101 assertEquals(0, mProvider.getOpenedDeviceRecordsCache().length); in testOpenAndCloseErrorDevice() 120 mProvider.resumeRootScanner(); in testOpenAndCloseErrorDevice() 122 mProvider.openDevice(0); in testOpenAndCloseErrorDevice() 145 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/support/documents-archive/src/android/support/provider/ |
D | DocumentArchiveHelper.java | 71 private final DocumentsProvider mProvider; field in DocumentArchiveHelper 102 mProvider = provider; in DocumentArchiveHelper() 276 final Cursor cursor = mProvider.queryDocument(id.mArchiveId, new String[] in getInstanceUncheckedLocked() 287 final Loader loader = new Loader(mProvider, localFile, id, mIdDelimiter, in getInstanceUncheckedLocked() 293 mProvider.getContext().getContentResolver().registerContentObserver(notificationUri, in getInstanceUncheckedLocked() 321 private final DocumentsProvider mProvider; field in DocumentArchiveHelper.Loader 331 this.mProvider = provider; in Loader() 346 mProvider.getContext(), mLocalFile, mId.mArchiveId, mIdDelimiter, in get() 350 mProvider.getContext(), in get() 351 mProvider.openDocument(mId.mArchiveId, "r", null /* signal */), in get()
|
/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/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 private SearchResultProvider mProvider; field in SearchSupportFragment 297 null == mProvider ? "(null)" : mProvider)); in onCreateView() 298 if (null != mProvider) { in onCreateView() 355 if (null != mProvider) { in onCreateView() 443 if (mProvider != searchResultProvider) { in setSearchResultProvider() 444 mProvider = searchResultProvider; in setSearchResultProvider() 619 if (mProvider.onQueryTextChange(searchQuery)) { in retrieveResults() 626 if (null != mProvider) { in submitQuery() 627 mProvider.onQueryTextSubmit(query); in submitQuery()
|
D | SearchFragment.java | 165 ObjectAdapter adapter = mProvider.getResultsAdapter(); 207 private SearchResultProvider mProvider; field in SearchFragment 295 null == mProvider ? "(null)" : mProvider)); in onCreateView() 296 if (null != mProvider) { in onCreateView() 353 if (null != mProvider) { in onCreateView() 441 if (mProvider != searchResultProvider) { in setSearchResultProvider() 442 mProvider = searchResultProvider; in setSearchResultProvider() 617 if (mProvider.onQueryTextChange(searchQuery)) { in retrieveResults() 624 if (null != mProvider) { in submitQuery() 625 mProvider.onQueryTextSubmit(query); in submitQuery()
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/ |
D | Scope.java | 117 ScopeProvider provider = top.mProvider; in produceScopeLog() 146 ScopeProvider provider = top.mProvider; in createReport() 182 ScopeProvider provider = parent.mProvider; in validatedContained() 198 ScopeProvider mProvider; field in Scope.ScopeEntry 203 mProvider = scopeProvider; in ScopeEntry()
|