/frameworks/base/graphics/java/android/renderscript/ |
H A D | ScriptC.java | 53 * @param resources 56 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { argument 58 int id = internalCreate(rs, resources, resourceID); 66 private static synchronized int internalCreate(RenderScript rs, Resources resources, int resourceID) { argument 69 InputStream is = resources.openRawResource(resourceID); 95 String resName = resources.getResourceEntryName(resourceID);
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | ScriptC.java | 53 * @param resources 56 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { argument 58 int id = internalCreate(rs, resources, resourceID); 66 private static synchronized int internalCreate(RenderScript rs, Resources resources, int resourceID) { argument 69 InputStream is = resources.openRawResource(resourceID); 95 String resName = resources.getResourceEntryName(resourceID);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | StatusBar.java | 19 import com.android.resources.Density; 20 import com.android.resources.ResourceType;
|
H A D | FakeActionBar.java | 19 import com.android.resources.Density;
|
H A D | NavigationBar.java | 19 import com.android.resources.Density;
|
H A D | TitleBar.java | 19 import com.android.resources.Density;
|
/frameworks/base/tools/layoutlib/bridge/ |
H A D | Android.mk | 20 LOCAL_JAVA_RESOURCE_DIRS := resources
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ThinPatchesActivity.java | 53 final Resources resources = activity.getResources(); 54 mPatch1 = resources.getDrawable(R.drawable.patch); 55 mPatch2 = resources.getDrawable(R.drawable.btn_toggle_on); 56 mPatch3 = resources.getDrawable(R.drawable.patch2);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationPanelView.java | 52 Resources resources = getContext().getResources(); 53 mHandleBar = resources.getDrawable(R.drawable.status_bar_close); 54 mHandleBarHeight = resources.getDimension(R.dimen.close_handle_height); 57 setContentDescription(resources.getString(R.string.accessibility_desc_notification_shade));
|
H A D | SettingsPanelView.java | 57 Resources resources = getContext().getResources(); 58 mHandleBar = resources.getDrawable(R.drawable.status_bar_close); 59 mHandleBarHeight = resources.getDimension(R.dimen.close_handle_height); 62 setContentDescription(resources.getString(R.string.accessibility_desc_quick_settings));
|
/frameworks/base/ |
H A D | Android.mk | 18 # We have a special case here where we build the library's resources 20 # class source got placed in the course of building the resources. 448 resources/samples/AccelerometerPlay "Accelerometer Play" \ 450 resources/samples/ActionBarCompat "Action Bar Compatibility" \ 452 resources/samples/AndroidBeamDemo "Android Beam Demo" \ 454 resources/samples/ApiDemos "API Demos" \ 456 resources/samples/Support4Demos "API 4+ Support Demos" \ 458 resources/samples/Support13Demos "API 13+ Support Demos" \ 460 resources/samples/BackupRestore "Backup and Restore" \ 462 resources/sample [all...] |
/frameworks/base/core/java/android/view/ |
H A D | PointerIcon.java | 36 * or by applications using bitmaps or application resources. 135 Log.w(TAG, "Missing theme resources for pointer icon style " + style); 187 * @param resources The resources object. 191 * @throws IllegalArgumentException if resources is null. 195 public static PointerIcon loadCustomIcon(Resources resources, int resourceId) { argument 196 if (resources == null) { 197 throw new IllegalArgumentException("resources must not be null"); 201 icon.loadResource(resources, resourceId); 376 private void loadResource(Resources resources, in argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | DateSorter.java | 53 Resources resources = context.getResources(); 69 Locale locale = resources.getConfiguration().locale; 78 String format = resources.getQuantityString(resId, NUM_DAYS_AGO);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | VertexShader.java | 42 public Builder setShader(Resources resources, int resourceID) { argument 43 mBuilder.setShader(resources, resourceID);
|
H A D | FragmentShader.java | 46 public Builder setShader(Resources resources, int resourceID) { argument 47 mBuilder.setShader(resources, resourceID);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 52 import com.android.resources.ResourceType; 53 import com.android.resources.ScreenOrientation; 179 RenderResources resources = getParams().getResources(); 183 mIsAlphaChannelImage = getBooleanThemeValue(resources, 186 mWindowIsFloating = getBooleanThemeValue(resources, "windowIsFloating", 189 findBackground(resources); 190 findStatusBar(resources, metrics); 191 findActionBar(resources, metrics); 192 findNavigationBar(resources, metrics); 1018 private void findBackground(RenderResources resources) { argument 1032 findStatusBar(RenderResources resources, DisplayMetrics metrics) argument 1055 findActionBar(RenderResources resources, DisplayMetrics metrics) argument 1116 findNavigationBar(RenderResources resources, DisplayMetrics metrics) argument 1172 getBooleanThemeValue(RenderResources resources, String name, boolean defaultValue) argument [all...] |
H A D | RenderAction.java | 31 import com.android.resources.Density; 32 import com.android.resources.ResourceType; 33 import com.android.resources.ScreenSize; 119 RenderResources resources = mParams.getResources(); 122 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources,
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | PerformanceTest.java | 50 Resources resources = mWeb.getResources(); 51 String animFramerateString = resources.getString(R.string.animation_framerate); 83 String metricLabel = resources.getString( 85 String statLabel = resources.getString(
|
H A D | PlaybackGraphs.java | 276 ArrayList<String> strings, Resources resources) { 286 String label = resources.getString( 292 String statLabel = resources.getString( 294 label = statLabel + " " + resources.getString( 275 draw(Canvas canvas, ArrayList<ShapeDrawable> shapes, ArrayList<String> strings, Resources resources) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | BridgeXmlPullAttributes.java | 25 import com.android.resources.ResourceType; 258 RenderResources resources = mContext.getRenderResources(); 259 return resources.resolveResValue(resources.findResValue(value, mPlatformFile));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | DynamicIdMap.java | 19 import com.android.resources.ResourceType;
|
/frameworks/base/core/java/android/widget/ |
H A D | TabWidget.java | 119 final Resources resources = context.getResources(); 126 mLeftStrip = resources.getDrawable( 130 mRightStrip = resources.getDrawable( 136 mLeftStrip = resources.getDrawable( 140 mRightStrip = resources.getDrawable(
|
/frameworks/base/core/java/android/text/ |
H A D | AutoText.java | 76 private AutoText(Resources resources) { argument 77 mLocale = resources.getConfiguration().locale; 78 init(resources); 84 * @param view to get the resources from
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocalePicker.java | 93 final Resources resources = context.getResources(); 95 final String[] specialLocaleCodes = resources.getStringArray(R.array.special_locale_codes); 96 final String[] specialLocaleNames = resources.getStringArray(R.array.special_locale_names);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | IconUtilities.java | 70 final Resources resources = context.getResources(); 71 DisplayMetrics metrics = mDisplayMetrics = resources.getDisplayMetrics(); 75 mIconWidth = mIconHeight = (int) resources.getDimension(android.R.dimen.app_icon_size);
|