/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 30 import com.android.resources.ResourceType; 46 * Custom implementation of TypedArray to handle non compiled resources. 58 public BridgeTypedArray(BridgeResources resources, BridgeContext context, int len, argument 60 super(resources, null, null, 0); 61 mBridgeResources = resources; 338 * associated with the resources this {@link TypedArray} object
|
H A D | Resources_Theme_Delegate.java | 25 import com.android.resources.ResourceType;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapFactory_Delegate.java | 23 import com.android.resources.Density;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | StatusBar.java | 24 import com.android.resources.Density;
|
H A D | CustomBar.java | 27 import com.android.resources.Density; 28 import com.android.resources.LayoutDirection;
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProviderInfo.java | 246 * @param packageManager Package manager instance for loading resources. 268 * @param context Context for accessing resources. 288 * @param context Context for accessing resources. 367 Resources resources = context.getPackageManager().getResourcesForApplication( 373 return resources.getDrawableForDensity(resourceId, density);
|
/frameworks/base/core/java/android/printservice/ |
H A D | PrintServiceInfo.java | 100 * @param context Context for accessing resources. 125 Resources resources = packageManager.getResourcesForApplication( 128 TypedArray attributes = resources.obtainAttributes(allAttributes, 147 Log.e(LOG_TAG, "Unable to load resources for: "
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Program.java | 242 * @param resources application resources 247 public BaseProgramBuilder setShader(Resources resources, int resourceID) { argument 250 InputStream is = resources.openRawResource(resourceID);
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
H A D | LayoutLibTestCallback.java | 26 import com.android.resources.ResourceType; 27 import com.android.ide.common.resources.IntArrayWrapper;
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptCThunker.java | 38 protected ScriptCThunker(RenderScriptThunker rs, Resources resources, int resourceID) { argument 39 super(rs.mN, resources, resourceID);
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewContentsClientAdapter.java | 1039 public static long toAwPermissionResources(String[] resources) { argument 1041 for (String resource : resources) { 1052 private static String[] toPermissionResources(long resources) { argument 1054 if ((resources & BITMASK_RESOURCE_VIDEO_CAPTURE) != 0) 1056 if ((resources & BITMASK_RESOURCE_AUDIO_CAPTURE) != 0) 1058 if ((resources & BITMASK_RESOURCE_PROTECTED_MEDIA_ID) != 0) 1088 public void grant(String[] resources) { argument 1090 if ((requestedResource & toAwPermissionResources(resources)) == requestedResource)
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorInflater.java | 73 * @param context Application context used to access resources 86 * @param resources The resources 93 public static Animator loadAnimator(Resources resources, Theme theme, int id) argument 95 return loadAnimator(resources, theme, id, 1); 99 public static Animator loadAnimator(Resources resources, Theme theme, int id, argument 104 parser = resources.getAnimation(id); 105 return createAnimatorFromXml(resources, theme, parser, pathErrorScale); 586 * @param res The resources
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneData.java | 264 private void populateDisplayNameOverrides(Resources resources) { argument 265 String[] ids = resources.getStringArray(R.array.timezone_rename_ids); 266 String[] labels = resources.getStringArray(R.array.timezone_rename_labels);
|
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | PowerManagerService.java | 580 final Resources resources = mContext.getResources(); 582 mDecoupleHalAutoSuspendModeFromDisplayConfig = resources.getBoolean( 584 mDecoupleHalInteractiveModeFromDisplayConfig = resources.getBoolean( 586 mWakeUpWhenPluggedOrUnpluggedConfig = resources.getBoolean( 588 mSuspendWhenScreenOffDueToProximityConfig = resources.getBoolean( 590 mDreamsSupportedConfig = resources.getBoolean( 592 mDreamsEnabledByDefaultConfig = resources.getBoolean( 594 mDreamsActivatedOnSleepByDefaultConfig = resources.getBoolean( 596 mDreamsActivatedOnDockByDefaultConfig = resources.getBoolean( 598 mDreamsEnabledOnBatteryConfig = resources [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderDrawable.java | 27 import com.android.resources.ResourceType;
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 825 public void visitKeyboardLayout(Resources resources, String descriptor, String label, 859 public void visitKeyboardLayout(Resources resources, String descriptor, String label, 876 public void visitKeyboardLayout(Resources resources, String descriptor, 938 Resources resources = pm.getResourcesForApplication(receiver.applicationInfo); 939 XmlResourceParser parser = resources.getXml(configResId); 950 TypedArray a = resources.obtainAttributes( 969 visitor.visitKeyboardLayout(resources, descriptor, 1577 public void visitKeyboardLayout(Resources resources, String descriptor, String label, 1582 resources.openRawResource(keyboardLayoutResId))); 1726 void visitKeyboardLayout(Resources resources, Strin argument [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 498 * Free all resources held by this view. 1111 Resources resources = context.getApplicationContext().getResources(); 1113 sCropSize = resources.getDimensionPixelSize(R.dimen.photo_crop_width); 1117 sCropDimPaint.setColor(resources.getColor(R.color.photo_crop_dim_color)); 1122 sCropPaint.setColor(resources.getColor(R.color.photo_crop_highlight_color)); 1124 sCropPaint.setStrokeWidth(resources.getDimension(R.dimen.photo_crop_stroke_width));
|
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserView.java | 296 Resources resources = context.getResources(); 297 mListPopupMaxWidth = Math.max(resources.getDisplayMetrics().widthPixels / 2, 298 resources.getDimensionPixelSize(com.android.internal.R.dimen.config_prefDialogWidth));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BackgroundManager.java | 131 BitmapDrawable(Resources resources, Bitmap bitmap) { argument 132 this(resources, bitmap, null); 135 BitmapDrawable(Resources resources, Bitmap bitmap, Matrix matrix) { argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActivityChooserView.java | 253 Resources resources = context.getResources(); 254 mListPopupMaxWidth = Math.max(resources.getDisplayMetrics().widthPixels / 2, 255 resources.getDimensionPixelSize(R.dimen.abc_config_prefDialogWidth));
|
/frameworks/base/core/java/android/app/ |
H A D | LauncherActivity.java | 260 final Resources resources = LauncherActivity.this.getResources(); 261 mIconWidth = mIconHeight = (int) resources.getDimension(
|
/frameworks/base/core/java/android/view/ |
H A D | ThreadedRenderer.java | 451 final Resources resources = context.getResources(); 452 final LongSparseArray<Drawable.ConstantState> drawables = resources.getPreloadedDrawables();
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ZenModeHelper.java | 94 public static ZenModeConfig readDefaultConfig(Resources resources) { argument 97 parser = resources.getXml(R.xml.default_zen_mode_config);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 147 RenderThread(Resources resources, SurfaceTexture surface) { argument 148 mResources = resources;
|
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 374 KeyedVector<String8, sp<ResourceTypeSet> >* resources) 391 ssize_t index = resources->indexOfKey(resType); 398 resources->add(resType, set); 400 sp<ResourceTypeSet> set = resources->valueAt(index); 423 KeyedVector<String8, sp<ResourceTypeSet> >* resources) 432 collect_files(d, resources); 580 // get the overlay resources of the requested type 585 // for each of the resources, check for a match in the previously built 652 // make sure all flavors are defined in the resources. 664 // this overlay didn't have resources fo 373 collect_files(const sp<AaptDir>& dir, KeyedVector<String8, sp<ResourceTypeSet> >* resources) argument 422 collect_files(const sp<AaptAssets>& ass, KeyedVector<String8, sp<ResourceTypeSet> >* resources) argument 1151 KeyedVector<String8, sp<ResourceTypeSet> > *resources = local 1183 KeyedVector<String8, sp<ResourceTypeSet> > *resources = local 1286 KeyedVector<String8, sp<ResourceTypeSet> > *resources = local [all...] |