/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperSettingsActivity.java | 19 import android.content.res.Resources;
|
/frameworks/base/core/java/android/util/ |
H A D | NtpTrustedTime.java | 21 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 D | BounceInterpolator.java | 20 import android.content.res.TypedArray;
|
H A D | CycleInterpolator.java | 20 import android.content.res.TypedArray;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 22 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 D | InsetDrawable.java | 22 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 D | ScaleDrawable.java | 22 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 D | NinePatchDrawable.java | 19 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 D | AnimationDrawable.java | 24 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 --> 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 D | StateListDrawable.java | 25 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/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | NotificationLinearLayout.java | 23 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/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardMultiUserAvatar.java | 25 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 D | StartingData.java | 19 import android.content.res.CompatibilityInfo;
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 22 import android.content.res.Configuration; 23 import android.content.res.Resources; 617 final Resources res = Resources.getSystem(); 620 return res.getQuantityString( 624 return res.getQuantityString( 628 return res.getQuantityString( 1136 Resources res = Resources.getSystem(); 1226 res.getString(com.android.internal.R.string.hour_minute_24); 1239 startTimeFormat = res.getString(com.android.internal.R.string.hour_cap_ampm); 1241 startTimeFormat = res [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | SceneManager.java | 38 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 D | android_util_AssetManager.cpp | 354 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 D | android_os_FileUtils.cpp | 50 int res = chown(file8.string(), uid, gid); local 51 if (res != 0) {
|
H A D | android_os_Trace.cpp | 65 int res = jniRegisterNativeMethods(env, "android/os/Trace", local 67 LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
H A D | android_view_SurfaceSession.cpp | 70 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 D | MipsRelocationFactory.cpp | 253 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 D | ActivityManagerNative.java | 29 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 2783 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument [all...] |
H A D | FragmentTransaction.java | 206 * @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 D | ISearchManager.aidl | 23 import android.content.res.Configuration;
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | SmileyParser.java | 33 public SmileyParser(String text, SmileyResources res) { argument 42 mRes = res;
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | ColorStateListTest.java | 21 import android.content.res.Resources; 22 import android.content.res.ColorStateList;
|