/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
plistlib.py | 114 def readPlistFromResource(path, restype='plst', resid=0): 125 plistData = Res.Get1Resource(restype, resid).data 130 def writePlistToResource(rootObject, path, restype='plst', resid=0): 142 Res.Get1Resource(restype, resid).RemoveResource() 146 res.AddResource(restype, resid, '')
|
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Mailbox.java | 418 final int resId; 421 resId = R.string.mailbox_name_server_inbox; 424 resId = R.string.mailbox_name_server_outbox; 427 resId = R.string.mailbox_name_server_drafts; 430 resId = R.string.mailbox_name_server_trash; 433 resId = R.string.mailbox_name_server_sent; 436 resId = R.string.mailbox_name_server_junk; 439 resId = R.string.mailbox_name_server_starred; 442 resId = R.string.mailbox_name_server_all_unread; 447 return context.getString(resId); [all...] |
/frameworks/base/include/androidfw/ |
ResourceTypes.h | 238 #define Res_VALIDID(resid) (resid != 0) 239 #define Res_CHECKID(resid) ((resid&0xFFFF0000) != 0) 246 #define Res_INTERNALID(resid) ((resid&0xFFFF0000) != 0 && (resid&0xFF0000) == 0) [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 273 public static int getRotationFromExif(Resources res, int resId) { 274 return getRotationFromExifHelper(null, res, resId, null, null); 278 String path, Resources res, int resId, Context context, Uri uri) { 290 is = res.openRawResource(resId); 329 Resources res, int resId, final boolean finishActivityWhenDone) { 332 int rotation = getRotationFromExif(res, resId); 346 BitmapCropTask cropTask = new BitmapCropTask(this, res, resId, [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
NetworkActivity.java | 173 int resId = lastIsEthernetConnected ? R.string.connected : R.string.not_connected; 174 return mRes.getString(resId); 190 int resId = lastIsWifiConnected ? R.string.connected : R.string.not_connected; 191 return mRes.getString(resId); 594 int resId = item.getContentIconRes(); 595 if (resId != 0) { 596 setIcon(resId);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleAdapterTest.java | 289 // String represents resId 314 // resId 323 // illegal resid
|
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatFragment.java | 244 * @param resId a string resource ID 246 private void setStatus(int resId) { 255 actionBar.setSubtitle(resId);
|
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatFragment.java | 244 * @param resId a string resource ID 246 private void setStatus(int resId) { 255 actionBar.setSubtitle(resId);
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
BluetoothChatFragment.java | 244 * @param resId a string resource ID 246 private void setStatus(int resId) { 255 actionBar.setSubtitle(resId);
|
/frameworks/base/core/java/android/content/pm/ |
PackageItemInfo.java | 277 int resid = metaData.getInt(name); local 278 if (resid != 0) { 279 return pm.getXml(packageName, resid, getApplicationInfo());
|
/frameworks/base/libs/androidfw/tests/ |
ResTable_test.cpp | 62 uint32_t resID = table.identifierForName(testName.string(), testName.size(), 65 ASSERT_NE(uint32_t(0x00000000), resID); 66 ASSERT_EQ(base::R::string::test1, resID);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
TextCandidatesViewManager.java | 474 int resid = 0; 478 resid = R.drawable.cand_up_press; 480 resid = R.drawable.cand_down_press; 485 resid = R.drawable.cand_up; 487 resid = R.drawable.cand_down; 494 if (resid != 0) { 495 mReadMoreButton.setImageResource(resid); 1117 int resid = 0; local [all...] |
/cts/apps/CameraITS/tests/scene1/ |
test_linearity.py | 93 print "Line: m=%f, b=%f, resid=%f"%(line[0], line[1], residuals[0])
|
/cts/tests/tests/app/src/android/app/cts/ |
InstrumentationTest.java | 198 final int resId = R.id.goto_menu_id; 200 mInstrumentation.invokeMenuActionSync(mActivity, resId, 0); 203 assertEquals(resId, mActivity.getMenuID()); 611 public void setFeatureDrawableResource(int featureId, int resId) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapRegionDecoderTest.java | 353 private InputStream obtainInputStream(int resId) { 354 return mRes.openRawResource(resId); 357 private byte[] obtainByteArray(int resId) throws IOException { 358 InputStream is = obtainInputStream(resId);
|
/external/fio/engines/ |
skeleton_external.c | 62 * io_u->xfer_buflen. Residual data count may be set in io_u->resid
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
TestMenuItem.java | 217 public MenuItem setActionView(int resId) {
|
/frameworks/base/core/java/android/widget/ |
CompoundButton.java | 205 * @param resId the resource identifier of the drawable 208 public void setButtonDrawable(@DrawableRes int resId) { 210 if (resId != 0) { 211 d = getContext().getDrawable(resId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
SearchablesTest.java | 364 * @param resid The resource identifier of the desired xml. Can not be 0. 375 public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { 378 MoreAsserts.assertNotEqual(resid, 0); 381 return mRealPackageManager.getXml(packageName, resid, appInfo);
|
/frameworks/support/design/src/android/support/design/widget/ |
CollapsingTextHelper.java | 188 void setCollapsedTextAppearance(int resId) { 189 TypedArray a = mView.getContext().obtainStyledAttributes(resId, R.styleable.TextAppearance); 203 void setExpandedTextAppearance(int resId) { 204 TypedArray a = mView.getContext().obtainStyledAttributes(resId, R.styleable.TextAppearance);
|
/frameworks/support/v4/java/android/support/v4/app/ |
ActionBarDrawerToggle.java | 336 * @param resId Resource ID of a drawable to use for the up indicator, or 0 340 public void setHomeAsUpIndicator(int resId) { 342 if (resId != 0) { 343 indicator = ContextCompat.getDrawable(mActivity, resId);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/ |
AccountTypeTest.java | 40 // Package name null, resId -1, use the default
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageSettings.java | 394 public static void show(Fragment parent, int resId, String diskId) { 396 args.putInt(Intent.EXTRA_TEXT, resId); 410 final int resId = getArguments().getInt(Intent.EXTRA_TEXT); 415 builder.setMessage(TextUtils.expandTemplate(getText(resId), disk.getDescription()));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeContext.java | 320 public boolean resolveThemeAttribute(int resid, TypedValue outValue, boolean resolveRefs) { 321 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); 324 resourceInfo = mLayoutlibCallback.resolveResourceId(resid); 604 public final BridgeTypedArray obtainStyledAttributes(int resid, int[] attrs) 607 // get the StyleResourceValue based on the resId; 608 if (resid != 0) { 609 style = getStyleByDynamicId(resid); 613 ResourceReference ref = resolveId(resid); 631 map.put(resid, ta); 644 BridgeTypedArray ta = map.get(resid); [all...] |