/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarFileTest.java | 96 private File resources; field in class:JarFileTest 111 resources = Support_Resources.createTempFolder(); 126 Support_Resources.copyFile(resources, null, jarName); 127 JarFile jarFile = new JarFile(new File(resources, jarName)); 145 Support_Resources.copyFile(resources, null, jarName); 146 String fileName = (new File(resources, jarName)).getCanonicalPath(); 165 Support_Resources.copyFile(resources, null, jarName); 166 String fileName = (new File(resources, jarName)).getCanonicalPath(); 185 Support_Resources.copyFile(resources, null, jarName); 186 JarFile jarFile = new JarFile(new File(resources, jarName), false) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherTest.java | 342 File resources = Support_Resources.createTempFolder(); local 343 Support_Resources.copyFile(resources, null, resPath); 400 File resources = Support_Resources.createTempFolder(); local 401 Support_Resources.copyFile(resources, null, resPath); 463 File resources = Support_Resources.createTempFolder(); local 464 Support_Resources.copyFile(resources, null, resPath); [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 26 import android.content.res.Resources; 272 Resources resources = context.getResources(); local 274 title = resources.getString(R.string.no_title_label); 335 resources.getString(R.string.map_label), mapIntent); 340 resources.getString(R.string.call_label), callIntent); 345 resources.getString(R.string.email_guests_label), emailIntent); 350 resources.getString(R.string.snooze_label), snoozeIntent); 455 Resources res = context.getResources(); [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailTabCarousel.java | 20 import android.content.res.Resources; 108 Resources resources = mContext.getResources(); local 109 mTabDisplayLabelHeight = resources.getDimensionPixelSize( 111 mTabShadowHeight = resources.getDimensionPixelSize( 113 mTabWidthScreenWidthFraction = resources.getFraction( 115 mTabHeightScreenWidthFraction = resources.getFraction(
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
VCardService.java | 20 import android.content.res.Resources; 171 final Resources resources = getResources(); local 172 mFileIndexMinimum = resources.getInteger(R.integer.config_export_file_min_index); 173 mFileIndexMaximum = resources.getInteger(R.integer.config_export_file_max_index);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogAdapter.java | 22 import android.content.res.Resources; 267 Resources resources = mContext.getResources(); local 268 CallTypeHelper callTypeHelper = new CallTypeHelper(resources); 271 mPhoneNumberHelper = new PhoneNumberDisplayHelper(resources); 273 resources, callTypeHelper, new PhoneNumberUtilsWrapper()); 276 phoneCallDetailsHelper, mPhoneNumberHelper, resources); [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
PhoneFavoritesTileAdapter.java | 24 import android.content.res.Resources; 74 private Resources mResources; 725 final Resources resources = mContext.getResources(); local 733 mRowPaddingTop = resources.getDimensionPixelSize( 735 mRowPaddingBottom = resources.getDimensionPixelSize( 737 mRowPaddingStart = resources.getDimensionPixelSize( 739 mRowPaddingEnd = resources.getDimensionPixelSize( 803 final Resources resources = mContext.getResources() [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 21 import android.content.res.Resources; 311 Resources resources = getContext().getResources(); local 312 String accept = resources.getString(R.string.meeting_accepted, title); 315 assertTrue(msg.mText.contains(resources.getString(R.string.meeting_where, ""))); 797 Resources resources = mContext.getResources(); local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewCellLayout.java | 20 import android.content.res.Resources; 64 Resources resources = context.getResources(); local 66 resources.getDimensionPixelSize(R.dimen.apps_customize_cell_width); 68 resources.getDimensionPixelSize(R.dimen.apps_customize_cell_height); 72 mMaxGap = resources.getDimensionPixelSize(R.dimen.apps_customize_max_gap);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
IndicatorControlWheel.java | 24 import android.content.res.Resources; 121 Resources resources = context.getResources(); local 122 HIGHLIGHT_COLOR = resources.getColor(R.color.review_control_pressed_color); 123 HIGHLIGHT_FAN_COLOR = resources.getColor(R.color.review_control_pressed_fan_color); 124 TIME_LAPSE_ARC_COLOR = resources.getColor(R.color.time_lapse_arc);
|
/packages/apps/Settings/src/com/android/settings/ |
KeyguardAppWidgetPickActivity.java | 30 import android.content.res.Resources; 204 private Resources mResources; 341 } catch (Resources.NotFoundException e) { 384 return getFullResIcon(Resources.getSystem(), 388 public Drawable getFullResIcon(Resources resources, int iconId) { 391 d = resources.getDrawableForDensity(iconId, mIconDpi); 392 } catch (Resources.NotFoundException e) { 400 Resources resources; local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
MailActionBarView.java | 25 import android.content.res.Resources; 174 final Resources r = getResources(); 425 final Resources resources = getResources(); local 426 final int maxItems = resources.getInteger(R.integer.actionbar_max_items); 427 final int hiddenItems = resources.getInteger( [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
ContactHeaderWidget.java | 27 import android.content.res.Resources; 28 import android.content.res.Resources.NotFoundException; 483 Resources resources; local 485 resources = getResources(); 489 resources = pm.getResourcesForApplication(statusResPackage); 493 resources = null; 497 if (resources != null) { 499 labelDisplayValue = resources.getString(statusLabel.intValue());
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 45 import android.content.res.Resources; 709 final Resources resources = mContext.getResources(); local 745 // Load external resources through PackageManager 749 actionIcon = resources.getDrawable(entry.actionIcon); 773 secondaryActionIcon = resources.getDrawable(entry.secondaryActionIcon);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutEditorDelegate.java | 50 import com.android.resources.ResourceFolderType; 54 import org.eclipse.core.resources.IContainer; 55 import org.eclipse.core.resources.IFile; 56 import org.eclipse.core.resources.IMarker; 57 import org.eclipse.core.resources.IProject; 184 * Creates the form editor for resources XML files. 471 List<IFile> resources = Collections.singletonList(file); local 473 resources, getEditor().getStructuredDocument(), false /*fatal*/); 477 job = EclipseLintRunner.startLint(mClient, resources, file, [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
Configuration.java | 26 import com.android.ide.common.resources.ResourceFolder; 27 import com.android.ide.common.resources.ResourceRepository; 28 import com.android.ide.common.resources.configuration.DensityQualifier; 29 import com.android.ide.common.resources.configuration.DeviceConfigHelper; 30 import com.android.ide.common.resources.configuration.FolderConfiguration; 31 import com.android.ide.common.resources.configuration.LanguageQualifier; 32 import com.android.ide.common.resources.configuration.NightModeQualifier; 33 import com.android.ide.common.resources.configuration.RegionQualifier; 34 import com.android.ide.common.resources.configuration.ScreenSizeQualifier; 35 import com.android.ide.common.resources.configuration.UiModeQualifier 216 ProjectResources resources = chooser.getResources(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
IncludeFinder.java | 28 import static com.android.resources.ResourceType.LAYOUT; 29 import static org.eclipse.core.resources.IResourceDelta.ADDED; 30 import static org.eclipse.core.resources.IResourceDelta.CHANGED; 31 import static org.eclipse.core.resources.IResourceDelta.CONTENT; 32 import static org.eclipse.core.resources.IResourceDelta.REMOVED; 37 import com.android.ide.common.resources.ResourceFile; 38 import com.android.ide.common.resources.ResourceFolder; 39 import com.android.ide.common.resources.ResourceItem; 42 import com.android.ide.eclipse.adt.internal.resources.manager.ProjectResources; 43 import com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager 419 ProjectResources resources = ResourceManager.getInstance().getProjectResources(mProject); local [all...] |
PreviewIconFactory.java | 34 import com.android.ide.common.resources.ResourceResolver; 44 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 385 ResourceResolver resources = mPalette.getEditor().getResourceResolver(); local 386 if (resources == null) { 389 StyleResourceValue theme = resources.getCurrentTheme(); 391 background = resolveThemeColor(resources, "windowBackground"); //$NON-NLS-1$ 399 // background = resolveThemeColor(resources, "colorBackground"); //$NON-NLS-1$ 402 foreground = resolveThemeColor(resources, "textColorPrimary"); //$NON-NLS-1$ 440 ResourceResolver resources = editor.getResourceResolver(); local 441 ResourceValue resourceValue = resources.findItemInTheme(themeItemName) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceChooser.java | 25 import com.android.ide.common.resources.ResourceItem; 26 import com.android.ide.common.resources.ResourceRepository; 27 import com.android.ide.common.resources.ResourceResolver; 35 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 36 import com.android.ide.eclipse.adt.internal.resources.ResourceNameValidator; 37 import com.android.ide.eclipse.adt.internal.resources.manager.ProjectResources; 38 import com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager; 42 import com.android.resources.ResourceType; 46 import org.eclipse.core.resources.IFile; 47 import org.eclipse.core.resources.IProject 222 ProjectResources resources = manager.getProjectResources(project); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
AddTranslationDialog.java | 24 import com.android.ide.common.resources.LocaleManager; 25 import com.android.ide.common.resources.ResourceItem; 26 import com.android.ide.common.resources.configuration.FolderConfiguration; 32 import com.android.ide.eclipse.adt.internal.resources.manager.ProjectResources; 33 import com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager; 34 import com.android.resources.ResourceType; 38 import org.eclipse.core.resources.IContainer; 39 import org.eclipse.core.resources.IFile; 40 import org.eclipse.core.resources.IFolder; 41 import org.eclipse.core.resources.IProject 214 ProjectResources resources = manager.getProjectResources(mProject); local 430 ProjectResources resources = manager.getProjectResources(mProject); local [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
DialpadFragment.java | 28 import android.content.res.Resources; 354 } catch (Resources.NotFoundException nfe) { 395 // Load up the resources for the text field. 396 Resources r = getResources(); 616 final Resources resources = getResources(); local 629 final String numberString = resources.getString(numberIds[i]); 633 lettersView.setText(resources.getString(letterIds[i])); [all...] |
/packages/apps/Exchange/src/com/android/exchange/utility/ |
CalendarUtilities.java | 26 import android.content.res.Resources; 1613 Resources resources = context.getResources(); local 1860 Resources resources = context.getResources(); local [all...] |
/prebuilts/tools/common/m2/internal/org/apache/ant/ant/1.8.0/ |
ant-1.8.0.jar | |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
LayerDrawableTest.java | 26 import android.content.res.Resources; 886 Resources resources = mContext.getResources(); local [all...] |
ScaleDrawableTest.java | 25 import android.content.res.Resources; 403 Resources res = mContext.getResources(); 440 Resources resources = mContext.getResources(); local 441 ScaleDrawable d1 = (ScaleDrawable) resources.getDrawable(R.drawable.scaledrawable); 442 ScaleDrawable d2 = (ScaleDrawable) resources.getDrawable(R.drawable.scaledrawable); 443 ScaleDrawable d3 = (ScaleDrawable) resources.getDrawable(R.drawable.scaledrawable);
|