OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AssetManager
(Results
1 - 25
of
121
) sorted by null
1
2
3
4
5
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
BridgeAssetManager.java
21
import android.content.res.
AssetManager
;
23
public class BridgeAssetManager extends
AssetManager
{
26
* This initializes the static field {@link
AssetManager
#mSystem} which is used
27
* by methods who get a global asset manager using {@link
AssetManager
#getSystem()}.
33
public static
AssetManager
initSystem() {
34
if (!(
AssetManager
.sSystem instanceof BridgeAssetManager)) {
35
// Note that
AssetManager
() creates a system
AssetManager
and we override it
37
AssetManager
.sSystem = new BridgeAssetManager();
38
AssetManager
.sSystem.makeStringBlocks(null)
[
all
...]
AssetManager_Delegate.java
22
* Delegate used to provide implementation of a select few native methods of {@link
AssetManager
}
24
* Through the layoutlib_create tool, the original native methods of
AssetManager
have been replaced
31
/*package*/ static long newTheme(
AssetManager
manager) {
37
/*package*/ static void deleteTheme(
AssetManager
manager, long theme) {
/frameworks/base/include/android_runtime/
android_util_AssetManager.h
20
#include <androidfw/
AssetManager
.h>
26
extern
AssetManager
* assetManagerForJavaObject(JNIEnv* env, jobject assetMgr);
/frameworks/base/core/java/android/content/res/
TypedArray.java
47
final int fullLen = len *
AssetManager
.STYLE_NUM_ENTRIES;
58
new int[len*
AssetManager
.STYLE_NUM_ENTRIES],
64
private final
AssetManager
mAssets;
138
index *=
AssetManager
.STYLE_NUM_ENTRIES;
140
final int type = data[index+
AssetManager
.STYLE_TYPE];
170
index *=
AssetManager
.STYLE_NUM_ENTRIES;
172
final int type = data[index+
AssetManager
.STYLE_TYPE];
209
index *=
AssetManager
.STYLE_NUM_ENTRIES;
211
final int type = data[index+
AssetManager
.STYLE_TYPE];
213
final int cookie = data[index+
AssetManager
.STYLE_ASSET_COOKIE]
[
all
...]
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/
ResourceBundle.java
9
import android.content.res.
AssetManager
;
24
AssetManager
am = ctx.getAssets();
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAssetManager.java
3
import android.content.res.
AssetManager
;
16
@Implements(
AssetManager
.class)
18
static
AssetManager
bind(
AssetManager
assetManager
, ResourceLoader resourceLoader) {
19
ShadowAssetManager shadowAssetManager = shadowOf(
assetManager
);
22
return
assetManager
;
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
LargeAssetTest.java
21
import android.content.res.
AssetManager
;
63
class Validator extends AsyncTask<
AssetManager
, Integer, Boolean> {
67
protected Boolean doInBackground(
AssetManager
... params) {
68
AssetManager
am = params[0];
70
InputStream is = am.open("million-ints",
AssetManager
.ACCESS_STREAMING);
/frameworks/base/libs/androidfw/
AssetManager.cpp
27
#include <androidfw/
AssetManager
.h>
85
const char*
AssetManager
::RESOURCES_FILENAME = "resources.arsc";
86
const char*
AssetManager
::IDMAP_BIN = "/system/bin/idmap";
87
const char*
AssetManager
::OVERLAY_DIR = "/vendor/overlay";
88
const char*
AssetManager
::TARGET_PACKAGE_NAME = "android";
89
const char*
AssetManager
::TARGET_APK_PATH = "/system/framework/framework-res.apk";
90
const char*
AssetManager
::IDMAP_DIR = "/data/resource-cache";
141
*
AssetManager
145
int32_t
AssetManager
::getGlobalCount()
150
AssetManager
::AssetManager(CacheMode cacheMode
[
all
...]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwAssets.java
9
import android.content.res.
AssetManager
;
29
AssetManager
manager = context.getAssets();
/frameworks/base/cmds/bootanimation/
BootAnimation.h
23
#include <androidfw/
AssetManager
.h>
84
status_t initTexture(Texture* texture,
AssetManager
& asset, const char* name);
94
AssetManager
mAssets;
/frameworks/base/graphics/java/android/graphics/
FontFamily.java
19
import android.content.res.
AssetManager
;
69
public boolean addFontFromAsset(
AssetManager
mgr, String path) {
78
private static native boolean nAddFontFromAsset(long nativeFamily,
AssetManager
mgr,
Movie.java
19
import android.content.res.
AssetManager
;
50
if (is instanceof
AssetManager
.AssetInputStream) {
51
final long asset = ((
AssetManager
.AssetInputStream) is).getNativeAsset();
BitmapRegionDecoder.java
18
import android.content.res.
AssetManager
;
115
if (is instanceof
AssetManager
.AssetInputStream) {
117
((
AssetManager
.AssetInputStream) is).getNativeAsset(),
/frameworks/base/cmds/idmap/
create.cpp
4
#include <androidfw/
AssetManager
.h>
121
if (get_zip_entry_crc(target_apk_path,
AssetManager
::RESOURCES_FILENAME,
125
if (get_zip_entry_crc(overlay_apk_path,
AssetManager
::RESOURCES_FILENAME,
155
if (get_zip_entry_crc(target_apk_path,
AssetManager
::RESOURCES_FILENAME,
159
if (get_zip_entry_crc(overlay_apk_path,
AssetManager
::RESOURCES_FILENAME,
164
AssetManager
am;
/external/replicaisland/src/com/replica/replicaisland/
TiledWorld.java
21
import android.content.res.
AssetManager
;
75
AssetManager
.AssetInputStream byteStream = (
AssetManager
.AssetInputStream) stream;
/frameworks/base/core/jni/android/graphics/
TypefaceImpl.h
23
#include <androidfw/
AssetManager
.h>
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
AssetProvider.java
22
import android.content.res.
AssetManager
;
86
AssetManager
am = getContext().getAssets();
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
AssetProvider.java
22
import android.content.res.
AssetManager
;
86
AssetManager
am = getContext().getAssets();
/development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
AssetProvider.java
22
import android.content.res.
AssetManager
;
86
AssetManager
am = getContext().getAssets();
/frameworks/base/core/tests/coretests/src/android/content/
AssetTest.java
19
import android.content.res.
AssetManager
;
27
private
AssetManager
mAssets;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
AvgBrightnessFilterTest.java
19
import android.content.res.
AssetManager
;
33
private
AssetManager
assetMgr = null;
ContrastRatioFilterTest.java
26
import android.content.res.
AssetManager
;
39
private
AssetManager
assetMgr = null;
ExposureFilterTest.java
19
import android.content.res.
AssetManager
;
38
private
AssetManager
assetMgr = null;
/frameworks/base/native/android/
asset_manager.cpp
23
#include <androidfw/
AssetManager
.h>
33
// AAssetManager is actually a secret typedef for an empty base class of
AssetManager
,
72
AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject
assetManager
)
78
jclass amClass = env->FindClass("android/content/res/
AssetManager
");
84
return (AAssetManager*) env->GetLongField(
assetManager
, gAssetManagerOffsets.mObject);
107
AssetManager
* mgr = static_cast<
AssetManager
*>(amgr);
118
AssetManager
* mgr = static_cast<
AssetManager
*>(amgr);
/cts/tests/tests/content/src/android/content/res/cts/
AssetManagerTest.java
27
import android.content.res.
AssetManager
;
38
private
AssetManager
mAssets;
55
inputStream = mAssets.open(fileName,
AssetManager
.ACCESS_BUFFER);
87
mAssets.open("notExistFile.txt",
AssetManager
.ACCESS_BUFFER);
Completed in 1687 milliseconds
1
2
3
4
5