Searched refs:res (Results 176 - 200 of 918) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/res/
H A DObbScanner.java17 package android.content.res;
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperSettingsActivity.java19 import android.content.res.Resources;
/frameworks/base/core/java/android/util/
H A DNtpTrustedTime.java21 import android.content.res.Resources;
54 final Resources res = context.getResources();
57 final String defaultServer = res.getString(
59 final long defaultTimeout = res.getInteger(
/frameworks/base/core/java/android/view/animation/
H A DBounceInterpolator.java20 import android.content.res.TypedArray;
H A DCycleInterpolator.java20 import android.content.res.TypedArray;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java22 import android.content.res.Resources;
23 import android.content.res.TypedArray;
258 ClipState(ClipState orig, ClipDrawable owner, Resources res) { argument
260 if (res != null) {
261 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
278 public Drawable newDrawable(Resources res) { argument
279 return new ClipDrawable(this, res);
297 private ClipDrawable(ClipState state, Resources res) { argument
298 mClipState = new ClipState(state, this, res);
H A DInsetDrawable.java22 import android.content.res.Resources;
23 import android.content.res.TypedArray;
271 InsetState(InsetState orig, InsetDrawable owner, Resources res) { argument
273 if (res != null) {
274 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
293 public Drawable newDrawable(Resources res) { argument
294 return new InsetDrawable(this, res);
312 private InsetDrawable(InsetState state, Resources res) { argument
313 mInsetState = new InsetState(state, this, res);
H A DScaleDrawable.java22 import android.content.res.Resources;
23 import android.content.res.TypedArray;
271 ScaleState(ScaleState orig, ScaleDrawable owner, Resources res) { argument
273 if (res != null) {
274 mDrawable = orig.mDrawable.getConstantState().newDrawable(res);
293 public Drawable newDrawable(Resources res) { argument
294 return new ScaleDrawable(this, res);
312 private ScaleDrawable(ScaleState state, Resources res) { argument
313 mScaleState = new ScaleState(state, this, res);
H A DNinePatchDrawable.java19 import android.content.res.Resources;
20 import android.content.res.TypedArray;
86 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk, argument
88 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res);
98 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk, argument
100 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding, layoutInsets), res);
118 public NinePatchDrawable(Resources res, NinePatch patch) { argument
119 this(new NinePatchState(patch, new Rect()), res);
123 private void setNinePatchState(NinePatchState state, Resources res) { argument
127 mTargetDensity = res !
438 newDrawable(Resources res) argument
448 NinePatchDrawable(NinePatchState state, Resources res) argument
[all...]
H A DAnimationDrawable.java24 import android.content.res.Resources;
25 import android.content.res.TypedArray;
35 * file, placed in the res/drawable/ folder, and set it as the background to a View object. Then, call
42 * <p>spin_animation.xml file in res/drawable/ folder:</p>
44 * res/drawable/ folder --&gt;
318 Resources res) {
319 super(orig, owner, res);
336 public Drawable newDrawable(Resources res) { argument
337 return new AnimationDrawable(this, res);
356 private AnimationDrawable(AnimationState state, Resources res) { argument
317 AnimationState(AnimationState orig, AnimationDrawable owner, Resources res) argument
[all...]
H A DStateListDrawable.java25 import android.content.res.Resources;
26 import android.content.res.TypedArray;
277 StateListState(StateListState orig, StateListDrawable owner, Resources res) { argument
278 super(orig, owner, res);
310 public Drawable newDrawable(Resources res) { argument
311 return new StateListDrawable(this, res);
323 private StateListDrawable(StateListState state, Resources res) { argument
324 StateListState as = new StateListState(state, this, res);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardMultiUserAvatar.java25 import android.content.res.Resources;
93 Resources res = mContext.getResources();
94 mTextColor = res.getColor(R.color.keyguard_avatar_nick_color);
95 mIconSize = res.getDimension(R.dimen.keyguard_avatar_size);
96 mStroke = res.getDimension(R.dimen.keyguard_avatar_frame_stroke_width);
97 mShadowRadius = res.getDimension(R.dimen.keyguard_avatar_frame_shadow_radius);
98 mFrameColor = res.getColor(R.color.keyguard_avatar_frame_color);
99 mFrameShadowColor = res.getColor(R.color.keyguard_avatar_frame_shadow_color);
100 mHighlightColor = res.getColor(R.color.keyguard_avatar_frame_pressed_color);
/frameworks/base/services/java/com/android/server/wm/
H A DStartingData.java19 import android.content.res.CompatibilityInfo;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationLinearLayout.java23 import android.content.res.Resources;
24 import android.content.res.TypedArray;
55 final Resources res = context.getResources();
57 mItemGlow = res.getDrawable(R.drawable.notify_item_glow_bottom);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java38 import android.content.res.Resources;
141 static Bitmap loadBitmap(String name, Resources res) { argument
146 is = res.getAssets().open(name);
177 public static Allocation loadCubemap(String name, RenderScriptGL rs, Resources res) { argument
178 return createFromBitmap(loadBitmap(name, res), rs, true);
181 public static Allocation loadCubemap(int id, RenderScriptGL rs, Resources res) { argument
182 return createFromBitmap(BitmapFactory.decodeResource(res, id), rs, true);
185 public static Allocation loadTexture2D(String name, RenderScriptGL rs, Resources res) { argument
186 return createFromBitmap(loadBitmap(name, res), rs, false);
189 public static Allocation loadTexture2D(int id, RenderScriptGL rs, Resources res) { argument
458 initRS(RenderScriptGL rs, Resources res, int w, int h) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp354 ssize_t res = a->read(&b, 1); local
355 return res == 1 ? b : -1;
380 ssize_t res = a->read(b+off, len); local
383 if (res > 0) return res;
385 if (res < 0) {
446 bool res = am->addAssetPath(String8(path8.c_str()), &cookie); local
448 return (res) ? (jint)cookie : 0;
692 const ResTable& res(am->getResources());
697 ssize_t block = res
892 const ResTable& res = theme->getResTable(); local
[all...]
H A Dandroid_os_FileUtils.cpp50 int res = chown(file8.string(), uid, gid); local
51 if (res != 0) {
H A Dandroid_os_Trace.cpp65 int res = jniRegisterNativeMethods(env, "android/os/Trace", local
67 LOG_FATAL_IF(res < 0, "Unable to register native methods.");
H A Dandroid_view_SurfaceSession.cpp70 int res = jniRegisterNativeMethods(env, "android/view/SurfaceSession", local
72 LOG_ALWAYS_FATAL_IF(res < 0, "Unable to register native methods.");
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsRelocationFactory.cpp253 int32_t res = 0; local
260 res = ((AHL + GP - P) - (int16_t)(AHL + GP - P)) >> 16;
264 res = ((AHL + S) - (int16_t)(AHL + S)) >> 16;
268 pReloc.target() |= (res & 0xFFFF);
281 int32_t res = 0; local
287 res = AHL + GP - P + 4;
295 res = ALO + S;
299 pReloc.target() |= (res & 0xFFFF);
324 int32_t res = (AHL + S + 0x8000) & 0xFFFF0000; local
326 GOTEntry& got_entry = helper_GetGOTEntry(pReloc, pParent, exist, res);
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java29 import android.content.res.Configuration;
258 boolean res = finishActivity(token, resultCode, resultData);
260 reply.writeInt(res ? 1 : 0);
277 boolean res = finishActivityAffinity(token);
279 reply.writeInt(res ? 1 : 0);
286 boolean res = willActivityBeVisible(token);
288 reply.writeInt(res ? 1 : 0);
347 int res = broadcastIntent(app, intent, resolvedType, resultTo,
351 reply.writeInt(res);
454 String res
2768 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument
[all...]
H A DFragmentTransaction.java206 * @param res A string resource containing the title.
208 public abstract FragmentTransaction setBreadCrumbTitle(int res); argument
221 * @param res A string resource containing the title.
223 public abstract FragmentTransaction setBreadCrumbShortTitle(int res); argument
H A DISearchManager.aidl23 import android.content.res.Configuration;
/frameworks/base/core/java/com/google/android/util/
H A DSmileyParser.java33 public SmileyParser(String text, SmileyResources res) { argument
42 mRes = res;
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DColorStateListTest.java21 import android.content.res.Resources;
22 import android.content.res.ColorStateList;

Completed in 496 milliseconds

1234567891011>>