/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactDirectoryManager.java | 141 int resourceId = cursor.getInt(0); 142 if (resourceId != 0) { 145 String resourceName = getResourceNameById(packageName, resourceId); 162 private String getResourceNameById(String packageName, int resourceId) { 165 return resources.getResourceName(resourceId);
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
ClockBackService.java | 248 int resourceId = message.arg1; 249 playEarcon(resourceId); 380 int resourceId = (feedbackIndex == INDEX_SCREEN_ON) ? R.string.template_screen_on 382 String template = mContext.getString(resourceId); 565 Integer resourceId = sSoundsResourceIds.get(earconId); 566 if (resourceId != null) { 568 mTts.addEarcon(earconName, getPackageName(), resourceId);
|
/frameworks/base/rs/java/android/renderscript/ |
Program.java | 243 * @param resourceID id of the file containing GLSL shader code 247 public BaseProgramBuilder setShader(Resources resources, int resourceID) { 250 InputStream is = resources.openRawResource(resourceID);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ActionBarActivityDelegateBase.java | 266 if (outValue.resourceId != 0) { 267 themedContext = new ContextThemeWrapper(mActivity, outValue.resourceId); [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 60 mBackground = val.resourceId;
|
/external/chromium_org/cc/layers/ |
ui_resource_layer_impl.cc | 105 ResourceProvider::ResourceId resource =
|
delegated_renderer_layer_impl.cc | 46 static ResourceProvider::ResourceId ResourceRemapHelper( 50 ResourceProvider::ResourceId id) { 60 ResourceProvider::ResourceId remapped_id = it->second;
|
/external/chromium_org/cc/test/ |
render_pass_test_utils.cc | 116 ResourceProvider::ResourceId mask_resource_id,
|
/external/chromium_org/chrome/browser/ui/cocoa/profiles/ |
profile_signin_confirmation_view_controller.mm | 128 withTitle:(int)resourceID 416 withTitle:(int)resourceID 420 if (resourceID) 422 l10n_util::GetStringUTF16(resourceID))];
|
avatar_button_controller.mm | 44 NSImage* GetImageFromResourceID(int resourceId) { 46 resourceId).ToNSImage();
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InjectedScriptCanvasModule.h | 62 void resourceState(ErrorString*, const TypeBuilder::Canvas::TraceLogId&, const TypeBuilder::Canvas::ResourceId&, RefPtr<TypeBuilder::Canvas::ResourceState>*);
|
InspectorCanvasAgent.h | 85 virtual void getResourceState(ErrorString*, const TypeBuilder::Canvas::TraceLogId&, const TypeBuilder::Canvas::ResourceId&, RefPtr<TypeBuilder::Canvas::ResourceState>&) OVERRIDE;
|
/frameworks/webview/chromium/tests/java/src/com/android/uiautomator/platform/ |
WebViewFlingTest.java | 76 new UiScrollable(new UiSelector().resourceId(AW_CONTAINER).instance(0));
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
MainFragment.java | 220 protected void setDefaultBackground(int resourceId) { 221 mDefaultBackground = getResources().getDrawable(resourceId);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
ViewLoader.java | 88 public View inflateView(Context context, int resourceId, View parent) { 89 return inflateView(context, resourceExtractor.getResourceName(resourceId), parent);
|
/frameworks/base/core/java/com/android/internal/widget/ |
AbsActionBarView.java | 74 && tv.resourceId != 0) { 75 mPopupContext = new ContextThemeWrapper(context, tv.resourceId);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
StreamingTextView.java | 98 private Bitmap getScaledBitmap(int resourceId, float scaled) { 99 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), resourceId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
AbsActionBarView.java | 69 && tv.resourceId != 0) { 70 mPopupContext = new ContextThemeWrapper(context, tv.resourceId);
|
ActivityChooserView.java | 292 * @param resourceId The content description resource id. 294 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { 295 CharSequence contentDescription = getContext().getString(resourceId); 472 * @param resourceId The resource id. 474 public void setDefaultActionButtonContentDescription(int resourceId) { 475 mDefaultActionButtonContentDescription = resourceId;
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
GenericRequestBuilder.java | 374 * @param resourceId The id of the resource to use as a placeholder 378 int resourceId) { 379 this.placeholderId = resourceId; 400 * @param resourceId The id of the resource to use as a placeholder 404 int resourceId) { 405 this.errorId = resourceId;
|
/frameworks/base/core/java/android/widget/ |
ActivityChooserView.java | 335 * @param resourceId The content description resource id. 337 public void setExpandActivityOverflowButtonContentDescription(int resourceId) { 338 CharSequence contentDescription = mContext.getString(resourceId); 515 * @param resourceId The resource id. 517 public void setDefaultActionButtonContentDescription(int resourceId) { 518 mDefaultActionButtonContentDescription = resourceId;
|
/frameworks/base/core/java/android/util/ |
TypedValue.java | 170 public int resourceId; 468 resourceId = other.resourceId; 483 if (resourceId != 0) { 484 sb.append(" r=0x").append(Integer.toHexString(resourceId));
|
/frameworks/base/services/core/java/com/android/server/display/ |
ColorFade.java | 192 private String readFile(Context context, int resourceId) { 194 InputStream stream = context.getResources().openRawResource(resourceId); 198 Slog.e(TAG, "Unrecognized shader " + Integer.toString(resourceId)); 203 private int loadShader(Context context, int resourceId, int type) { 204 String source = readFile(context, resourceId);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
BaseRecipientAdapter.java | 645 final int resourceId = directoryCursor.getInt(DirectoryListQuery.TYPE_RESOURCE_ID); 650 if (packageName != null && resourceId != 0) { 654 params.directoryType = resources.getString(resourceId); 657 + resourceId + "@" + packageName); 661 + resourceId + "@" + packageName, e); [all...] |
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/ |
ViewMatchers.java | 402 * @param resourceId the string resource the text view is expected to hold. 404 public static Matcher<View> withText(final int resourceId) { 413 description.appendValue(resourceId); 429 expectedText = textView.getResources().getString(resourceId); 430 resourceName = textView.getResources().getResourceEntryName(resourceId);
|