/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 17 package android.content.res; 43 * {@link android.content.res.ColorStateList}s are created from XML resource files defined in the 48 * <selector xmlns:android="http://schemas.android.com/apk/res/android">
|
/frameworks/base/core/java/android/view/animation/ |
H A D | PathInterpolator.java | 19 import android.content.res.Resources; 20 import android.content.res.Resources.Theme; 21 import android.content.res.TypedArray; 93 public PathInterpolator(Resources res, Theme theme, AttributeSet attrs) { argument 98 a = res.obtainAttributes(attrs, R.styleable.PathInterpolator);
|
/frameworks/base/core/jni/ |
H A D | android_os_MessageQueue.cpp | 169 int res = jniRegisterNativeMethods(env, "android/os/MessageQueue", local 171 LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
H A D | android_util_Log.cpp | 128 int res = __android_log_buf_write(bufID, (android_LogPriority)priority, tag, msg); local 134 return res;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LevelListDrawable.java | 25 import android.content.res.Resources; 26 import android.content.res.TypedArray; 27 import android.content.res.Resources.Theme; 42 * <level-list xmlns:android="http://schemas.android.com/apk/res/android"> 49 * <p>With this XML saved into the res/drawable/ folder of the project, it can be referenced as 173 LevelListState(LevelListState orig, LevelListDrawable owner, Resources res) { argument 174 super(orig, owner, res); 215 public Drawable newDrawable(Resources res) { argument 216 return new LevelListDrawable(this, res); 240 private LevelListDrawable(LevelListState state, Resources res) { argument [all...] |
H A D | TransitionDrawable.java | 19 import android.content.res.Resources; 91 private TransitionDrawable(TransitionState state, Resources res) { argument 92 super(state, res); 100 LayerState createConstantState(LayerState state, Resources res) { argument 101 return new TransitionState((TransitionState) state, this, res); 247 TransitionState(TransitionState orig, TransitionDrawable owner, Resources res) { argument 248 super(orig, owner, res); 257 public Drawable newDrawable(Resources res) { argument 258 return new TransitionDrawable(this, res);
|
/frameworks/base/libs/common_time/ |
H A D | diag_thread.cpp | 75 status_t res; local 77 res = run("Diag"); 79 if (res != OK) 80 ALOGE("Failed to start work thread (res = %d)", res); 82 return res; 86 status_t res; local 87 res = requestExitAndWait(); // block until thread exit. 88 if (res != OK) 89 ALOGE("Failed to stop work thread (res 132 int res; local 147 int res; local 277 status_t res = common_clock_->localToCommon(e.local_time, local [all...] |
H A D | utils.cpp | 123 int res; local 128 res = snprintf(buf, sizeof(buf), "\n%s\n", mHeader); 129 if (res > 0) 130 write(fd, buf, res); 153 res = snprintf(buf, sizeof(buf), "[%2zu] %s.%03ld :: %s%s\n", 159 if (res > 0) 160 write(fd, buf, res);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | FileA3D.java | 22 import android.content.res.AssetManager; 23 import android.content.res.Resources; 278 * @param res resource manager used for loading 283 static public FileA3D createFromResource(RenderScript rs, Resources res, int id) { argument 288 is = res.openRawResource(id);
|
H A D | Font.java | 26 import android.content.res.AssetManager; 27 import android.content.res.Resources; 159 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { argument 161 int dpi = res.getDisplayMetrics().densityDpi; 175 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { argument 176 return createFromFile(rs, res, path.getAbsolutePath(), pointSize); 182 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { argument 184 AssetManager mgr = res.getAssets(); 185 int dpi = res.getDisplayMetrics().densityDpi; 198 static public Font createFromResource(RenderScript rs, Resources res, in argument 238 create(RenderScript rs, Resources res, String familyName, Style fontStyle, float pointSize) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_power_PowerManagerService.cpp | 190 int res = jniRegisterNativeMethods(env, "com/android/server/power/PowerManagerService", local 192 LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOTestRS.java | 21 import android.content.res.Resources; 35 public void init(RenderScriptGL rs, Resources res) { argument 37 mRes = res;
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelRS.java | 21 import android.content.res.Resources; 32 public void init(RenderScriptGL rs, Resources res) { argument 34 mRes = res;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | FillTest.java | 20 import android.content.res.Resources; 82 public boolean init(RenderScriptGL rs, Resources res) { argument 84 mRes = res;
|
H A D | MeshTest.java | 20 import android.content.res.Resources; 83 public boolean init(RenderScriptGL rs, Resources res) { argument 85 mRes = res;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | RenderPass.java | 25 import android.content.res.Resources; 86 ScriptField_RenderPass_s.Item getRsField(RenderScriptGL rs, Resources res) { argument 107 drawableAllocs[i] = dI.getRsField(rs, res).getAllocation();
|
H A D | Renderable.java | 30 import android.content.res.Resources; 164 ScriptField_Renderable_s getRsField(RenderScriptGL rs, Resources res) { argument
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | FullscreenBlur.java | 24 import android.content.res.Resources;
160 static private FragmentShader getShader(Resources res, RenderScriptGL rs,
argument 163 fb.setShader(res, resID);
173 static void initShaders(Resources res, RenderScriptGL rs) {
argument 177 vb.setShader(res, R.raw.blur_vertex);
180 mPF_Texture = getShader(res, rs, R.raw.texture, null);
182 mPF_BlurH = getShader(res, rs, R.raw.blur_h, blurConst.getAllocation().getType());
183 mPF_BlurV = getShader(res, rs, R.raw.blur_v, blurConst.getAllocation().getType());
184 mPF_SelectColor = getShader(res, rs, R.raw.select_color, null);
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
H A D | ShadersTestRS.java | 19 import android.content.res.Resources; 43 public void init(RenderScriptGL rs, Resources res) { argument 45 mRes = res;
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | FileBase.cpp | 306 int res = ::remove(mName.c_str()); local 307 if (res != 0) { 308 ALOGE("Failed to remove file: %s - %s", mName.c_str(), ::strerror(res));
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | BranchIsland.h | 137 bool res = false; local 142 res = true; 150 res = true; 155 return res;
|
/frameworks/native/libs/binder/ |
H A D | IServiceManager.cpp | 79 bool res = pc->checkPermission(permission, pid, uid); local 80 if (res) { 86 return res; 169 Vector<String16> res; local 179 res.add(reply.readString16()); 181 return res;
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | CircularBitmapDrawable.java | 19 import android.content.res.Resources; 48 public CircularBitmapDrawable(Resources res, argument 50 this(res, cache, limitDensity, null); 53 public CircularBitmapDrawable(Resources res, argument 55 super(res, cache, limitDensity, opts);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | Queries.java | 19 import android.content.res.Resources; 45 public CharSequence getTypeLabel(Resources res, int type, CharSequence label) { 46 return Phone.getTypeLabel(res, type, label); 65 public CharSequence getTypeLabel(Resources res, int type, CharSequence label) { 66 return Email.getTypeLabel(res, type, label); 105 public abstract CharSequence getTypeLabel(Resources res, int type, CharSequence label); argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | HardwareConfig.java | 121 public HardwareConfig(String res) { argument 122 String split[] = res.split(",");
|