HomeSort by relevance Sort by last modified time
    Searched full:resourceid (Results 1 - 25 of 528) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/lzma/CPP/Windows/
ResourceString.h 10 UString MyLoadString(UINT resourceID);
11 void MyLoadString(HINSTANCE hInstance, UINT resourceID, UString &dest);
12 void MyLoadString(UINT resourceID, UString &dest);
ResourceString.cpp 20 static CSysString MyLoadStringA(HINSTANCE hInstance, UINT resourceID)
28 len = ::LoadString(hInstance, resourceID, s.GetBuf(size - 1), size);
39 static void MyLoadString2(HINSTANCE hInstance, UINT resourceID, UString &s)
46 len = ::LoadStringW(hInstance, resourceID, s.GetBuf(size - 1), size);
54 UString MyLoadString(UINT resourceID)
58 return GetUnicodeString(MyLoadStringA(g_hInstance, resourceID));
65 int len = ::LoadStringW(g_hInstance, resourceID, s, kStartSize);
70 MyLoadString2(g_hInstance, resourceID, dest);
75 void MyLoadString(HINSTANCE hInstance, UINT resourceID, UString &dest)
80 MultiByteToUnicodeString2(dest, MyLoadStringA(hInstance, resourceID));
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
IntegerResourceLoader.java 13 public int getValue( int resourceId ) {
14 final String resourceIdDebugString = String.valueOf(resourceId) + " (" + "0x" + Integer.toHexString(resourceId) + ")";
15 String resourceName = resourceExtractor.getResourceName(resourceId);
17 throw new IllegalArgumentException("No such resource: " + resourceId);
28 Integer resourceId = resourceExtractor.getResourceId(resourceName, isSystem);
32 return getValue(resourceId);
StringResourceLoader.java 12 public String getValue(int resourceId) {
13 return stringResolver.getValue(resourceExtractor.getResourceName(resourceId));
DimenResourceLoader.java 15 public float getValue(int resourceId) {
16 return dimenResolver.getValue(resourceExtractor.getResourceName(resourceId));
RawResourceLoader.java 18 public InputStream getValue(int resourceId) {
19 String resourceFileName = resourceExtractor.getResourceName(resourceId);
  /frameworks/base/tools/aapt2/optimize/
ResourceDeduper_test.cpp 39 .AddString("android:string/dedupe", ResourceId{}, default_config, "dedupe")
40 .AddString("android:string/dedupe", ResourceId{}, ldrtl_config, "dedupe")
41 .AddString("android:string/dedupe", ResourceId{}, land_config, "dedupe")
43 .AddString("android:string/dedupe2", ResourceId{}, default_config, "dedupe")
44 .AddString("android:string/dedupe2", ResourceId{}, ldrtl_config, "dedupe")
45 .AddString("android:string/dedupe2", ResourceId{}, ldrtl_v21_config, "keep")
46 .AddString("android:string/dedupe2", ResourceId{}, land_config, "dedupe")
48 .AddString("android:string/dedupe3", ResourceId{}, default_config, "dedupe")
49 .AddString("android:string/dedupe3", ResourceId{}, en_config, "dedupe")
50 .AddString("android:string/dedupe3", ResourceId{}, en_v21_config, "dedupe"
    [all...]
  /development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
PictureData.java 22 int resourceId;
26 public PictureData(int resourceId, String description, Bitmap thumbnail) {
27 this.resourceId = resourceId;
  /external/lzma/CPP/7zip/UI/FileManager/
FormatUtils.cpp 25 UString MyFormatNew(UINT resourceID, const UString &argument)
27 return MyFormatNew(LangString(resourceID), argument);
FormatUtils.h 12 UString MyFormatNew(UINT resourceID, const UString &argument);
  /packages/services/Telephony/src/com/android/services/telephony/
DisconnectCauseUtil.java 171 Integer resourceId = null;
174 resourceId = R.string.callFailed_userBusy;
178 resourceId = R.string.callFailed_congestion;
182 resourceId = R.string.callFailed_timedOut;
186 resourceId = R.string.callFailed_server_unreachable;
190 resourceId = R.string.callFailed_number_unreachable;
194 resourceId = R.string.callFailed_invalid_credentials;
198 resourceId = R.string.callFailed_server_error;
202 resourceId = R.string.callFailed_out_of_network;
207 resourceId = R.string.callFailed_noSignal
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowImageView.java 23 private int resourceId;
53 this.resourceId = resId;
60 * @param resourceId Resource id
63 protected Drawable buildDrawable(int resourceId) {
64 if (isDrawableXml(resourceId)) {
66 int[] resourceIds = resourceLoader.getDrawableIds(resourceId);
72 if (resourceLoader.isAnimatableXml(resourceId)) {
80 shadowOf(layerDrawable).setLoadedFromResourceId(resourceId);
85 getResources(), resourceId));
92 * @param resourceId Resource i
    [all...]
  /frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DynamicUtilWriter.kt 11 block("public static int getColorFromResource(final android.view.View view, final int resourceId)") {
14 nl("return view.getContext().getColor(resourceId);")
17 nl("return view.getResources().getColor(resourceId);")
21 block("public static android.content.res.ColorStateList getColorStateListFromResource(final android.view.View view, final int resourceId)") {
24 nl("return view.getContext().getColorStateList(resourceId);")
27 nl("return view.getResources().getColorStateList(resourceId);")
31 block("public static android.graphics.drawable.Drawable getDrawableFromResource(final android.view.View view, final int resourceId)") {
34 nl("return view.getContext().getDrawable(resourceId);")
37 nl("return view.getResources().getDrawable(resourceId);")
  /frameworks/base/tools/aapt2/
Resource.h 136 struct ResourceId {
139 ResourceId();
140 ResourceId(const ResourceId& rhs);
141 ResourceId(uint32_t res_id); // NOLINT(implicit)
142 ResourceId(uint8_t p, uint8_t t, uint16_t e);
206 // ResourceId implementation.
209 inline ResourceId::ResourceId() : id(0) {}
211 inline ResourceId::ResourceId(const ResourceId& rhs) : id(rhs.id) {
    [all...]
  /developers/samples/android/ui/transition/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/
Meat.java 24 public int resourceId;
27 public Meat(int resourceId, String title) {
28 this.resourceId = resourceId;
  /developers/samples/android/ui/transition/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/
Meat.java 24 public int resourceId;
27 public Meat(int resourceId, String title) {
28 this.resourceId = resourceId;
  /packages/apps/Camera2/src/com/android/camera/
SoundPlayer.java 49 public void loadSound(int resourceId) {
50 int soundId = mSoundPool.load(mAppContext, resourceId, 1/* priority */);
51 mResourceToSoundId.put(resourceId, soundId);
58 public void play(int resourceId, float volume) {
59 Integer soundId = mResourceToSoundId.get(resourceId);
69 public void unloadSound(int resourceId) {
70 Integer soundId = mResourceToSoundId.get(resourceId);
  /packages/apps/Dialer/java/com/android/dialer/widget/
EmptyContentView.java 69 public void setDescription(int resourceId) {
70 if (resourceId == NO_LABEL) {
74 mDescriptionView.setText(resourceId);
79 public void setImage(int resourceId) {
80 if (resourceId == NO_LABEL) {
84 mImageView.setImageResource(resourceId);
89 public void setActionLabel(@StringRes int resourceId) {
90 actionLabel = resourceId;
91 if (resourceId == NO_LABEL) {
95 mActionView.setText(resourceId);
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
Intent_ShortcutIconResourceTest.java 32 final int resourceId = android.content.cts.R.string.notify;
43 resourceId);
45 resourceId);
53 resourceId);
55 resourceId);
  /frameworks/base/core/java/android/net/
IpSecSpiResponse.java 30 public final int resourceId;
43 out.writeInt(resourceId);
49 resourceId = inResourceId;
58 resourceId = IpSecManager.INVALID_RESOURCE_ID;
64 resourceId = in.readInt();
IpSecTransformResponse.java 30 public final int resourceId;
42 out.writeInt(resourceId);
50 resourceId = IpSecManager.INVALID_RESOURCE_ID;
55 resourceId = inResourceId;
60 resourceId = in.readInt();
  /frameworks/base/tools/aapt2/link/
XmlReferenceLinker_test.cpp 34 .AddPublicSymbol("android:attr/layout_width", ResourceId(0x01010000),
40 .AddPublicSymbol("android:attr/background", ResourceId(0x01010001),
44 .AddPublicSymbol("android:attr/attr", ResourceId(0x01010002),
46 .AddPublicSymbol("android:attr/text", ResourceId(0x01010003),
52 .AddPublicSymbol("android:attr/colorAccent", ResourceId(0x01010435),
56 .AddSymbol("android:color/hidden", ResourceId(0x01020001))
58 .AddPublicSymbol("android:id/id", ResourceId(0x01030000))
59 .AddSymbol("com.app.test:id/id", ResourceId(0x7f030000))
60 .AddSymbol("com.app.test:color/green", ResourceId(0x7f020000))
61 .AddSymbol("com.app.test:color/red", ResourceId(0x7f020001)
    [all...]
ReferenceLinker_test.cpp 30 .AddReference("com.app.test:string/foo", ResourceId(0x7f020000),
34 .AddReference("com.app.test:string/bar", ResourceId(0x7f020001),
37 .AddReference("com.app.test:string/baz", ResourceId(0x7f020002),
50 .AddPublicSymbol("android:string/ok", ResourceId(0x01040034))
60 EXPECT_EQ(ResourceId(0x7f020001), ref->id.value());
65 EXPECT_EQ(ResourceId(0x7f020002), ref->id.value());
70 EXPECT_EQ(ResourceId(0x01040034), ref->id.value());
103 ResourceId(0x01060000))
104 .AddPublicSymbol("android:attr/foo", ResourceId(0x01010001),
108 .AddPublicSymbol("android:attr/bar", ResourceId(0x01010002)
    [all...]
  /external/llvm/include/llvm/ExecutionEngine/Orc/
OrcRemoteTargetRPCAPI.h 69 typedef uint64_t ResourceId;
70 static const ResourceId InvalidId = ~0U;
72 ResourceId getNext() {
74 ResourceId I = FreeIds.back();
80 void release(ResourceId I) { FreeIds.push_back(I); }
83 ResourceId NextId = 0;
84 std::vector<ResourceId> FreeIds;
132 void(ResourceIdMgr::ResourceId AllocatorID)>
136 void(ResourceIdMgr::ResourceId StubOwnerID)>
144 void(ResourceIdMgr::ResourceId AllocatorID)
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/
ScriptListAdapter.java 68 int resourceId;
70 resourceId = R.drawable.folder;
72 resourceId = FeaturedInterpreters.getInterpreterIcon(mContext, script.getName());
73 if (resourceId == 0) {
74 resourceId = R.drawable.sl4a_logo_32;
77 icon.setImageResource(resourceId);

Completed in 1029 milliseconds

1 2 3 4 5 6 7 8 91011>>