/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
Resource.cpp | 299 // Cache other non-http resources liberally. 394 // Some resources types default to return data synchronously. 873 Vector<ResourcePtr<Resource> > resources; local 875 resources.append(*it); 877 for (size_t i = 0; i < resources.size(); i++) 878 resources[i]->finishPendingClients();
|
/external/svox/pico/lib/ |
picorsrc.c | 62 /* next connects all active resources of a resource manager and the garbaged resources of the manager's free list */ 214 picorsrc_Resource resources, freeResources; member in struct:picorsrc_resource_manager 235 this->resources = NULL; 256 /* ******* accessing resources **************************************/ 264 r = this->resources; 559 return picoos_emRaiseException(this->common->em,PICO_EXC_MAX_NUM_EXCEED,NULL,(picoos_char *)"no more than %i resources",PICO_MAX_NUM_RESOURCES); 616 /* resources are read-only; the following write protection 658 res->next = this->resources; 659 this->resources = res [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
AccessibilityServiceInfo.java | 25 import android.content.res.Resources; 402 * @param context Context for accessing resources. 436 Resources resources = packageManager.getResourcesForApplication( local 438 TypedArray asAttributes = resources.obtainAttributes(allAttributes, [all...] |
/frameworks/base/core/java/android/app/ |
LauncherActivity.java | 24 import android.content.res.Resources; 260 final Resources resources = LauncherActivity.this.getResources(); local 261 mIconWidth = mIconHeight = (int) resources.getDimension(
|
/frameworks/base/core/java/android/widget/ |
TabWidget.java | 21 import android.content.res.Resources; 119 final Resources resources = context.getResources(); local 126 mLeftStrip = resources.getDrawable( 130 mRightStrip = resources.getDrawable( 136 mLeftStrip = resources.getDrawable( 140 mRightStrip = resources.getDrawable(
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentTasksLoader.java | 26 import android.content.res.Resources; 88 final Resources res = context.getResources(); 212 return getFullResIcon(Resources.getSystem(), 216 Drawable getFullResIcon(Resources resources, int iconId) { 218 return resources.getDrawableForDensity(iconId, mIconDpi); 219 } catch (Resources.NotFoundException e) { 225 Resources resources; local 227 resources = packageManager.getResourcesForApplication [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldJarURLConnectionTest.java | 49 File resources = Support_Resources.createTempFolder(); local 51 Support_Resources.copyFile(resources, "net", jarFile); 52 File file = new File(resources.toString() + "/net/" + jarFile); 187 File resources = Support_Resources.createTempFolder(); local 189 Support_Resources.copyFile(resources, null, "hyts_att.jar"); 190 File file = new File(resources.toString() + "/hyts_att.jar"); 226 File resources = Support_Resources.createTempFolder(); local 227 Support_Resources.copyFile(resources, null, "hyts_att.jar"); 228 File file = new File(resources.toString() + "/hyts_att.jar");
|
/packages/apps/Browser/src/com/android/browser/ |
NavigationBarTablet.java | 25 import android.content.res.Resources; 76 Resources resources = context.getResources(); local 77 mStopDrawable = resources.getDrawable(R.drawable.ic_stop_holo_dark); 78 mReloadDrawable = resources.getDrawable(R.drawable.ic_refresh_holo_dark); 79 mStopDescription = resources.getString(R.string.accessibility_button_stop); 80 mRefreshDescription = resources.getString(R.string.accessibility_button_refresh); 81 mFocusDrawable = resources.getDrawable( 83 mUnfocusDrawable = resources.getDrawable( 85 mHideNavButtons = resources.getBoolean(R.bool.hide_nav_buttons) [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
AttendeesView.java | 30 import android.content.res.Resources; 108 final Resources resources = context.getResources(); local 109 mDefaultBadge = resources.getDrawable(R.drawable.ic_contact_picture); 111 resources.getInteger(R.integer.noresponse_attendee_photo_alpha_level); 112 mDefaultPhotoAlpha = resources.getInteger(R.integer.default_attendee_photo_alpha_level); 115 mEntries = resources.getTextArray(R.array.response_labels1);
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailDisplayUtils.java | 23 import android.content.res.Resources; 24 import android.content.res.Resources.NotFoundException; 432 /** Fetcher for images from resources to be included in HTML text. */ 434 /** The scheme used to load resources. */ 460 Resources resources = getResourcesForResourceName(packageName); local 461 if (resources == null) { 473 final int resId = resources.getIdentifier(name, "drawable", packageName); 482 return getResourceDrawable(resources, resId); 490 private Drawable getResourceDrawable(Resources resources, int resId [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
GroupMembershipView.java | 21 import android.content.res.Resources; 160 Resources resources = mContext.getResources(); local 161 mPrimaryTextColor = resources.getColor(R.color.primary_text_color); 162 mSecondaryTextColor = resources.getColor(R.color.secondary_text_color);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
MailboxSettings.java | 25 import android.content.res.Resources; 210 final Resources resources = context.getResources(); local 216 entries = resources.getTextArray( 218 values = resources.getTextArray( 222 entries = resources.getTextArray(R.array.account_settings_mail_window_entries); 223 values = resources.getTextArray(R.array.account_settings_mail_window_values);
|
/packages/apps/Gallery/src/com/android/camera/ |
HighlightView.java | 53 android.content.res.Resources resources = mContext.getResources(); local 55 resources.getDrawable(R.drawable.camera_crop_width); 57 resources.getDrawable(R.drawable.camera_crop_height); 59 resources.getDrawable(R.drawable.indicator_autocrop);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
CommonControllerOverlay.java | 20 import android.content.res.Resources; 310 Resources resources = getContext().getResources(); local 312 String contentDescription = resources.getString(R.string.accessibility_reload_video); 315 contentDescription = resources.getString(R.string.accessibility_play_video); 318 contentDescription = resources.getString(R.string.accessibility_pause_video);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
WallpaperChooserDialogFragment.java | 24 import android.content.res.Resources; 195 final Resources resources = getResources(); local 197 // com.android.launcher2; Resources needs the real package name, 198 // com.android.launcher. So we ask Resources for what it thinks the 200 final String packageName = resources.getResourcePackageName(R.array.wallpapers); 202 addWallpapers(resources, packageName, R.array.wallpapers); 203 addWallpapers(resources, packageName, R.array.extra_wallpapers); 206 private void addWallpapers(Resources resources, String packageName, int list) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ActivityPicker.java | 32 import android.content.res.Resources; 159 Resources res = packageManager.getResourcesForApplication( 209 final Resources resources = context.getResources(); local 210 int size = (int) resources.getDimension(android.R.dimen.app_icon_size); 211 sResizer = new IconResizer(size, size, resources.getDisplayMetrics());
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
SendersView.java | 24 import android.content.res.Resources; 117 Resources res = context.getResources(); 382 final Resources resources = context.getResources(); local 383 final Locale locale = resources.getConfiguration().locale; 386 sMeString = resources.getString(R.string.me_subject_pronun);
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
QuotedTextView.java | 19 import android.content.res.Resources; 254 Resources resources = getContext().getResources(); local 259 resources.getString(R.string.reply_attribution), 271 .append(String.format(resources.getString(R.string.forward_attribution), Utils 278 quotedText.append(String.format(resources.getString(R.string.cc_attribution), 306 final Resources resources = getContext().getResources(); local 309 String.format(resources.getString(R.string.forward_attribution_no_headers)));
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationSyncDisabledTipView.java | 26 import android.content.res.Resources; 106 final Resources resources = context.getResources(); local 109 sScrollSlop = resources.getInteger(R.integer.swipeScrollSlop); 110 sShrinkAnimationDuration = resources.getInteger( 134 final String subString = resources.getString(R.string.account_settings_param); 135 final String entireString = resources.getString( 145 mTabletDevice = Utils.useTabletUI(resources); 146 mListCollapsible = resources.getBoolean(R.bool.list_collapsible);
|
NestedFolderTeaserView.java | 23 import android.content.res.Resources; 187 final Resources resources = context.getResources(); local 191 resources.getInteger(R.integer.nested_folders_collapse_threshold); 195 resources.getInteger(R.integer.folder_item_refresh_delay_ms); 197 mTabletDevice = com.android.mail.utils.Utils.useTabletUI(resources); 198 mListCollapsible = resources.getBoolean(R.bool.list_collapsible);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactDirectoryManager.java | 25 import android.content.res.Resources; 26 import android.content.res.Resources.NotFoundException; 164 Resources resources = mPackageManager.getResourcesForApplication(packageName); local 165 return resources.getResourceName(resourceId);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
bundlebuilder.py | 96 # List of files that have to be copied to <bundle>/Contents/Resources. 97 resources = [] variable in class:BundleBuilder 100 # (eg. "Contents/Resources/MyStuff/SomeFile.ext). 196 for path in self.resources: 197 files.append((path, pathjoin("Contents", "Resources", 245 del sys.path[1:] # sys.path[0] is Contents/Resources/ 300 resdir = os.path.join(os.path.dirname(execdir), "Resources") 342 "Resources/English.lproj", 343 "Resources/Info.plist", 370 # the executable will be copied to Resources and be invoke [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
regrtest.py | 77 consume too many resources to run the full regression test non-stop. 114 resources to test. Currently only the following are defined: 116 all - Enable all special resources. 150 To enable all resources except one, use '-uall,-<resource>'. For 753 # To add things to save and restore, add a name XXX to the resources list 763 resources = ('sys.argv', 'cwd', 'sys.stdin', 'sys.stdout', 'sys.stderr', variable in class:saved_test_environment 833 for name in self.resources: 862 # XXX (ncoghlan): for most resources (e.g. sys.path) identity [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
regrtest.py | 77 consume too many resources to run the full regression test non-stop. 114 resources to test. Currently only the following are defined: 116 all - Enable all special resources. 150 To enable all resources except one, use '-uall,-<resource>'. For 753 # To add things to save and restore, add a name XXX to the resources list 763 resources = ('sys.argv', 'cwd', 'sys.stdin', 'sys.stdout', 'sys.stderr', variable in class:saved_test_environment 833 for name in self.resources: 862 # XXX (ncoghlan): for most resources (e.g. sys.path) identity [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
AttrsXmlParser.java | 17 package com.android.ide.common.resources.platform; 23 import com.android.ide.common.resources.platform.ViewClassInfo.LayoutParamsInfo; 169 !res.getNodeName().equals("resources")) { //$NON-NLS-1$ 174 mLog.warning("Failed to find a <resources> node in %1$s", //$NON-NLS-1$ 276 * in the top <resources> node.
|