HomeSort by relevance Sort by last modified time
    Searched full:asset (Results 76 - 100 of 512) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
Statement.java 60 * Returns the source asset of the statement.
68 * Returns the target asset of the statement.
84 * Creates a new Statement object for the specified target asset and relation. For example:
86 * Asset asset = Asset.Factory.create(
89 * Statement statement = Statement.create(asset, relation);
AbstractStatementRetriever.java 27 * An asset is an identifiable and addressable online entity that typically
31 * Ownership of an asset is defined by being able to control it and speak for it.
32 * An asset owner may establish a relationship between the asset and another
33 * asset by making a statement about an intended relationship between the two.
65 * Returns the statements made by the {@code source} asset with ttl.
67 * @throws AssociationServiceException if the asset namespace is not supported.
90 * Creates a new StatementRetriever that directly retrieves statements from the asset.
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableRangeSetTest.java 78 return builder.build().asSet(DiscreteDomain.integers());
111 return builder.build().asSet(DiscreteDomain.bigIntegers());
119 .named("ImmutableRangeSet.asSet[DiscreteDomain.integers[]]")
131 .named("ImmutableRangeSet.asSet[DiscreteDomain.bigIntegers[]]")
392 ImmutableSortedSet<Integer> asSet = rangeSet.asSet(DiscreteDomain.integers());
393 assertEquals(expectedSet, asSet);
394 assertThat(asSet).has().exactlyAs(expectedSet).inOrder();
395 assertTrue(asSet.containsAll(expectedSet));
396 SerializableTester.reserializeAndAssert(asSet);
    [all...]
  /frameworks/base/libs/androidfw/
Asset.cpp 18 // Provide access to a read-only asset.
21 #define LOG_TAG "asset"
24 #include <androidfw/Asset.h>
52 static Asset* gHead = NULL;
53 static Asset* gTail = NULL;
55 int32_t Asset::getGlobalCount()
61 String8 Asset::getAssetAllocations()
65 Asset* cur = gHead;
81 Asset::Asset(void
    [all...]
AssetManager.cpp 21 #define LOG_TAG "asset"
25 #include <androidfw/Asset.h>
72 static Asset* const kExcludedAsset = (Asset*) 0xd000000d;
186 ALOGW("Asset path %s is neither a directory nor file (type=%d).",
202 ALOGV("In %p Asset %s path: %s", this,
242 Asset* idmap = NULL;
243 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) {
305 Asset* ass = openNonAssetInPathLocked("resources.arsc", Asset::ACCESS_BUFFER, ap)
    [all...]
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/
Utils.java 34 import com.google.android.gms.wearable.Asset;
139 * Convert an asset into a bitmap object synchronously. Only call this
143 public static Bitmap loadBitmapFromAsset(GoogleApiClient googleApiClient, Asset asset) {
144 if (asset == null) {
145 throw new IllegalArgumentException("Asset must be non-null");
147 // convert asset into a file descriptor and block until it's ready
149 googleApiClient, asset).await().getInputStream();
152 Log.w(TAG, "Requested an unknown Asset.");
160 * Create a wearable asset from a bitmap
    [all...]
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/
Utils.java 34 import com.google.android.gms.wearable.Asset;
139 * Convert an asset into a bitmap object synchronously. Only call this
143 public static Bitmap loadBitmapFromAsset(GoogleApiClient googleApiClient, Asset asset) {
144 if (asset == null) {
145 throw new IllegalArgumentException("Asset must be non-null");
147 // convert asset into a file descriptor and block until it's ready
149 googleApiClient, asset).await().getInputStream();
152 Log.w(TAG, "Requested an unknown Asset.");
160 * Create a wearable asset from a bitmap
    [all...]
  /development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
Utils.java 34 import com.google.android.gms.wearable.Asset;
139 * Convert an asset into a bitmap object synchronously. Only call this
143 public static Bitmap loadBitmapFromAsset(GoogleApiClient googleApiClient, Asset asset) {
144 if (asset == null) {
145 throw new IllegalArgumentException("Asset must be non-null");
147 // convert asset into a file descriptor and block until it's ready
149 googleApiClient, asset).await().getInputStream();
152 Log.w(TAG, "Requested an unknown Asset.");
160 * Create a wearable asset from a bitmap
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/data/
AssetPathFetcher.java 11 * An abstract class for obtaining data for an asset path using an {@link android.content.res.AssetManager}.
13 * @param <T> The type of data obtained from the asset path (InputStream, FileDescriptor etc).
58 * Opens the given asset path with the given {@link android.content.res.AssetManager} and returns the conrete data
FileDescriptorAssetPathFetcher.java 9 * Fetches an {@link android.os.ParcelFileDescriptor} for an asset path.
StreamAssetPathFetcher.java 9 * Fetches an {@link java.io.InputStream} for an asset path.
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ReadAsset.java 45 // Programmatically load text from an asset and place it into the
52 // size of the asset... of course, this does mean that a single
53 // asset can't be more than 2 gigs.
56 // Read the entire asset into a local byte buffer.
  /frameworks/rs/
rsFileA3D.h 29 class Asset;
63 bool load(Asset *asset);
88 Asset *mAsset;
  /frameworks/base/docs/html/ndk/reference/
group___asset.jd 1 page.title=Asset
13 <div class="title">Asset</div> </div>
54 <tr class="memitem:gaadd86322c1fda5121b6d33745c317fb9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___asset.html#gaadd86322c1fda5121b6d33745c317fb9">AAsset_read</a> (<a class="el" href="group___asset.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset, void *buf, size_t count)</td></tr>
56 <tr class="memitem:gacc026a8bedeb1ef80bf12df3b72611a2"><td class="memItemLeft" align="right" valign="top">off_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___asset.html#gacc026a8bedeb1ef80bf12df3b72611a2">AAsset_seek</a> (<a class="el" href="group___asset.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset, off_t offset, int whence)</td></tr>
58 <tr class="memitem:ga81fbe4368de24a3296ef7a6eba0053c7"><td class="memItemLeft" align="right" valign="top">off64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___asset.html#ga81fbe4368de24a3296ef7a6eba0053c7">AAsset_seek64</a> (<a class="el" href="group___asset.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset, off64_t offset, int whence)</td></tr>
60 <tr class="memitem:ga1f241e49f691dafcada23bcb76155122"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___asset.html#ga1f241e49f691dafcada23bcb76155122">AAsset_close</a> (<a class="el" href="group___asset.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset)</td></tr>
62 <tr class="memitem:ga553a14512a98542306238c3ce70d344f"><td class="memItemLeft" align="right" valign="top">const void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___asset.html#ga553a14512a98542306238c3ce70d344f">AAsset_getBuffer</a> (<a class="el" href="group___asset.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset)</td></tr>
64 <tr class="memitem:gaad8ec42e28522ebc72d3a5c357f9a600"><td class="memItemLeft" align="right" valign="top">off_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___asset.html#gaad8ec42e28522ebc72d3a5c357f9a600">AAsset_getLength</a> (<a class="el" href="group___asset.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset)</td></tr>
66 <tr class="memitem:ga55c8bc459327d5d23089e6a4b453f3f1"><td class="memItemLeft" align="right" valign="top">off64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___asset.html#ga55c8bc459327d5d23089e6a4b453f3f1">AAsset_getLength64</a> (<a class="el" href="group___asset.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset)</td></tr>
68 <tr class="memitem:gae806f55cbc4a93ca245f2adfd63d3eee"><td class="memItemLeft" align="right" valign="top">off_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___asset.html#gae806f55cbc4a93ca245f2adfd63d3eee">AAsset_getRemainingLength</a> (<a class="el" href="group___asset.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset)</td></tr
    [all...]
  /packages/apps/TV/src/com/android/tv/license/
LicenseUtils.java 35 * Checks if the license.html asset is include in the apk.
46 * Checks if the rating_attribution.html asset is include in the apk.
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
ContentItem.java 26 * to reference the content (asset URI or resource id).
51 * Creates a ContentItem with the specified type, referencing an asset file path.
54 * @param assetFilePath - File path from the application's asset for this item's content
67 // If this content has an asset, then return a AssetProvider Uri
87 // Bundle the asset content uri as the EXTRA_STREAM uri
AssetProvider.java 76 // The asset file name should be the last path segment
79 // If the given asset name is empty, throw an exception
85 // Try and return a file descriptor for the given asset name
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
ContentItem.java 26 * to reference the content (asset URI or resource id).
51 * Creates a ContentItem with the specified type, referencing an asset file path.
54 * @param assetFilePath - File path from the application's asset for this item's content
67 // If this content has an asset, then return a AssetProvider Uri
87 // Bundle the asset content uri as the EXTRA_STREAM uri
AssetProvider.java 76 // The asset file name should be the last path segment
79 // If the given asset name is empty, throw an exception
85 // Try and return a file descriptor for the given asset name
  /development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
ContentItem.java 26 * to reference the content (asset URI or resource id).
51 * Creates a ContentItem with the specified type, referencing an asset file path.
54 * @param assetFilePath - File path from the application's asset for this item's content
67 // If this content has an asset, then return a AssetProvider Uri
87 // Bundle the asset content uri as the EXTRA_STREAM uri
AssetProvider.java 76 // The asset file name should be the last path segment
79 // If the given asset name is empty, throw an exception
85 // Try and return a file descriptor for the given asset name
  /frameworks/base/core/jni/android/graphics/
FontFamily.cpp 188 delete static_cast<Asset*>(context);
202 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER); local
203 if (NULL == asset) {
207 const void* buf = asset->getBuffer(false);
209 delete asset;
213 size_t bufSize = asset->getLength();
214 SkAutoTUnref<SkData> data(SkData::NewWithProc(buf, asset->getLength(), releaseAsset, asset));
    [all...]
  /frameworks/base/core/java/android/content/res/
AssetFileDescriptor.java 52 * @param startOffset The location within the file that the asset starts.
54 * @param length The number of bytes of the asset, or
66 * @param startOffset The location within the file that the asset starts.
68 * @param length The number of bytes of the asset, or
106 * Returns the byte offset where this asset entry's data starts.
121 * Returns the total number of bytes of this asset entry's data. May be
122 * {@link #UNKNOWN_LENGTH} if the asset extends to the end of the file.
160 * Create and return a new auto-close input stream for this asset. This
161 * will either return a full asset {@link AutoCloseInputStream}, or
165 * should only call this once for a particular asset
    [all...]
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
SetupWizardLayout.java 241 * a suitable drawable from an asset and a horizontal repeating tile, use
255 * Set the illustration of the layout, which will be created asset and the horizontal tile as
256 * suitable. On phone layouts (not sw600dp), the asset will be scaled, maintaining aspect ratio.
258 * illustration area that the asset doesn't fill will be covered by the horizontalTile.
260 * @param asset Resource ID of the illustration asset.
263 public void setIllustration(int asset, int horizontalTile) {
267 final Drawable illustrationDrawable = getIllustration(asset, horizontalTile);
272 private void setIllustration(Drawable asset, Drawable horizontalTile) {
276 final Drawable illustrationDrawable = getIllustration(asset, horizontalTile)
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Movie.java 56 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); local
57 return nativeDecodeAsset(asset);
63 private static native Movie nativeDecodeAsset(long asset);

Completed in 859 milliseconds

1 2 34 5 6 7 8 91011>>