/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldJarFileTest.java | 33 private File resources = Support_Resources.createTempFolder(); field in class:OldJarFileTest 42 Support_Resources.copyFile(resources, null, jarName); 43 new JarFile(new File(resources, jarName)); 53 Support_Resources.copyFile(resources, null, jarName); 54 String fileName = (new File(resources, jarName)).getCanonicalPath(); 65 Support_Resources.copyFile(resources, null, jarName); 66 String fileName = (new File(resources, jarName)).getCanonicalPath(); 77 Support_Resources.copyFile(resources, null, jarName); 78 new JarFile(new File(resources, jarName), false); 89 Support_Resources.copyFile(resources, null, jarName) [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldZipInputStreamTest.java | 61 File resources = Support_Resources.createTempFolder(); local 62 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); 63 FileInputStream fis = new FileInputStream(new File(resources, 90 File resources = Support_Resources.createTempFolder(); local 91 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); 92 FileInputStream fis = new FileInputStream(new File(resources, 129 File resources = Support_Resources.createTempFolder(); local 130 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); 131 FileInputStream fis = new FileInputStream(new File(resources, 166 File resources = Support_Resources.createTempFolder() local [all...] |
/libcore/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 33 public static final String RESOURCE_PACKAGE = "/tests/resources/"; 35 public static final String RESOURCE_PACKAGE_NAME = "tests.resources"; 38 // If we have the resources packaged up in our jar file, get them that way. 62 File resources = createTempFolder(); local 68 copyFile(resources, folder, name); 70 String resPath = resources.toString(); 153 File resources = createTempFolder(); local 155 File temp = new File(resources.toString() + "/local.tmp");
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventViewUtils.java | 23 import android.content.res.Resources; 46 Resources resources = context.getResources(); local 64 String format = resources.getQuantityString(resId, value); 205 Resources res = activity.getResources();
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EventFieldEditorView.java | 21 import android.content.res.Resources; 76 Resources resources = mContext.getResources(); local 77 mPrimaryTextColor = resources.getColor(R.color.primary_text_color); 78 mSecondaryTextColor = resources.getColor(R.color.secondary_text_color);
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmNotifications.java | 23 import android.content.res.Resources; 63 Resources resources = context.getResources(); local 65 .setContentTitle(resources.getString(R.string.alarm_alert_predismiss_title)) 82 resources.getString(R.string.alarm_alert_dismiss_now_text), 104 Resources resources = context.getResources(); local 106 .setContentTitle(resources.getString(R.string.alarm_alert_predismiss_title)) 117 resources.getString(R.string.alarm_alert_dismiss_now_text), 139 Resources resources = context.getResources() local 209 Resources resources = context.getResources(); local [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
PhoneFavoriteMergedAdapter.java | 20 import android.content.res.Resources; 108 final Resources resources = context.getResources(); local 111 mCallLogPadding = resources.getDimensionPixelSize(R.dimen.recent_call_log_item_padding);
|
TileInteractionTeaserView.java | 8 import android.content.res.Resources; 42 final Resources resources = context.getResources(); local 45 sShrinkAnimationDuration = resources.getInteger(R.integer.escape_animation_duration);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
IconCache.java | 26 import android.content.res.Resources; 67 return getFullResIcon(Resources.getSystem(), 71 public Drawable getFullResIcon(Resources resources, int iconId) { 74 d = resources.getDrawableForDensity(iconId, mIconDpi); 75 } catch (Resources.NotFoundException e) { 83 Resources resources; local 85 resources = mPackageManager.getResourcesForApplication(packageName); 87 resources = null 103 Resources resources; local [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ZoomControlWheel.java | 23 import android.content.res.Resources; 77 Resources resources = context.getResources(); local 78 HIGHLIGHT_COLOR = resources.getColor(R.color.review_control_pressed_color); 79 TRAIL_COLOR = resources.getColor(R.color.icon_disabled_color);
|
/packages/apps/Settings/src/com/android/settings/ |
WirelessSettings.java | 30 import android.content.res.Resources; 123 Resources resources = getActivity().getResources(); local 143 mManageMobilePlanMessage = resources.getString( 146 mManageMobilePlanMessage = resources.getString( 150 mManageMobilePlanMessage = resources.getString( 156 mManageMobilePlanMessage = resources.getString(R.string.mobile_insert_sim_card); 159 mManageMobilePlanMessage = resources.getString(R.string.mobile_connect_to_internet);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationLongPressTipView.java | 29 import android.content.res.Resources; 73 final Resources resources = context.getResources(); local 76 sScrollSlop = resources.getInteger(R.integer.swipeScrollSlop); 77 sShrinkAnimationDuration = resources.getInteger( 83 mTabletDevice = Utils.useTabletUI(resources); 84 mListCollapsible = resources.getBoolean(R.bool.list_collapsible);
|
ConversationPhotoTeaserView.java | 6 import android.content.res.Resources; 59 final Resources resources = context.getResources(); local 63 sScrollSlop = resources.getInteger(R.integer.swipeScrollSlop); 64 sShrinkAnimationDuration = resources.getInteger( 73 mTabletDevice = Utils.useTabletUI(resources); 74 mListCollapsible = resources.getBoolean(R.bool.list_collapsible);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
HandleView.java | 22 import android.content.res.Resources; 76 final Resources resources = getResources(); local 77 mIconDragClipLeft = resources.getDrawable(R.drawable.ic_drag_clip_left); 78 mIconDragClipRight = resources.getDrawable(R.drawable.ic_drag_clip_right);
|
OverlayView.java | 25 import android.content.res.Resources; 90 final Resources resources = getResources(); local 91 mArrowLeft = resources.getDrawable(R.drawable.ic_drag_clip_left); 92 mArrowRight = resources.getDrawable(R.drawable.ic_drag_clip_right);
|
TimelineHorizontalScrollView.java | 26 import android.content.res.Resources; 93 final Resources resources = context.getResources(); local 96 mPlayheadMarginTop = (int)resources.getDimension(R.dimen.playhead_margin_top); 97 mPlayheadMarginBottom = (int)resources.getDimension(R.dimen.playhead_margin_bottom); 98 mPlayheadMarginTopOk = (int)resources.getDimension(R.dimen.playhead_margin_top_ok); 99 mPlayheadMarginTopNotOk = (int)resources.getDimension(R.dimen.playhead_margin_top_not_ok); 102 mNormalPlayheadDrawable = resources.getDrawable(R.drawable.ic_playhead); 103 mMoveOkPlayheadDrawable = resources.getDrawable(R.drawable.playhead_move_ok); 104 mMoveNotOkPlayheadDrawable = resources.getDrawable(R.drawable.playhead_move_not_ok) [all...] |
TransitionView.java | 24 import android.content.res.Resources; 112 final Resources resources = getResources(); local 115 final int layoutHeight = (int)(resources.getDimension(R.dimen.media_layout_height) - 116 resources.getDimension(R.dimen.media_layout_padding) - 117 (2 * resources.getDimension(R.dimen.timelime_transition_vertical_inset)));
|
/packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/ |
WalkAroundWallpaper.java | 26 import android.content.res.Resources; 162 final Resources resources = getResources(); local 163 final boolean portrait = resources.getConfiguration().orientation == 168 final DisplayMetrics metrics = resources.getDisplayMetrics();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
RunLintAction.java | 27 import org.eclipse.core.resources.IFile; 28 import org.eclipse.core.resources.IProject; 29 import org.eclipse.core.resources.IResource; 212 List<IResource> resources = new ArrayList<IResource>(); local 217 resources.add(project.getProject()); 220 resources.add(mResource); 224 EclipseLintClient.clearMarkers(resources); 227 EclipseLintRunner.startLint(resources, null, null, false /*fatalOnly*/,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
CompiledResourcesMonitor.java | 17 package com.android.ide.eclipse.adt.internal.resources.manager; 22 import com.android.ide.common.resources.IntArrayWrapper; 28 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IFileListener; 29 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IProjectListener; 30 import com.android.resources.ResourceType; 33 import org.eclipse.core.resources.IFile; 34 import org.eclipse.core.resources.IMarkerDelta; 35 import org.eclipse.core.resources.IProject; 36 import org.eclipse.core.resources.IResource; 37 import org.eclipse.core.resources.IResourceDelta [all...] |
IdeScanningContext.java | 16 package com.android.ide.eclipse.adt.internal.resources.manager; 20 import static org.eclipse.core.resources.IResource.DEPTH_ONE; 21 import static org.eclipse.core.resources.IResource.DEPTH_ZERO; 25 import com.android.ide.common.resources.ResourceRepository; 26 import com.android.ide.common.resources.ScanningContext; 27 import com.android.ide.common.resources.platform.AttributeInfo; 34 import org.eclipse.core.resources.IFolder; 35 import org.eclipse.core.resources.IMarker; 36 import org.eclipse.core.resources.IProject; 37 import org.eclipse.core.resources.IResource [all...] |
ProjectClassLoader.java | 17 package com.android.ide.eclipse.adt.internal.resources.manager; 25 import org.eclipse.core.resources.IProject; 26 import org.eclipse.core.resources.IResource; 27 import org.eclipse.core.resources.IWorkspaceRoot; 28 import org.eclipse.core.resources.ResourcesPlugin;
|
ProjectResources.java | 17 package com.android.ide.eclipse.adt.internal.resources.manager; 22 import com.android.ide.common.resources.IntArrayWrapper; 23 import com.android.ide.common.resources.ResourceFolder; 24 import com.android.ide.common.resources.ResourceItem; 25 import com.android.ide.common.resources.ResourceRepository; 26 import com.android.ide.common.resources.configuration.FolderConfiguration; 31 import com.android.resources.ResourceType; 34 import org.eclipse.core.resources.IFolder; 35 import org.eclipse.core.resources.IProject; 43 * Represents the resources of a project [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourcePreviewHelper.java | 22 import com.android.ide.common.resources.ResourceResolver; 29 import com.android.ide.eclipse.adt.internal.resources.ResourceHelper; 30 import com.android.resources.ResourceType; 52 * where some resources (such as drawables and colors) are previewed in the tray area. 128 ResourceResolver resources = mEditor.getResourceResolver(); local 129 ResourceValue value = resources.findResValue(resource, false); 131 RGB color = ResourceHelper.resolveColor(resources, value); 139 ResourceResolver resources = mEditor.getResourceResolver(); local 140 ResourceValue drawable = resources.findResValue(resource, false);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/resources/manager/ |
ConfigMatchTest.java | 17 package com.android.ide.eclipse.adt.internal.editors.resources.manager; 20 import com.android.ide.common.resources.ResourceFile; 21 import com.android.ide.common.resources.ResourceFolder; 22 import com.android.ide.common.resources.ResourceItem; 23 import com.android.ide.common.resources.ResourceRepository; 24 import com.android.ide.common.resources.SingleResourceFile; 25 import com.android.ide.common.resources.configuration.FolderConfiguration; 26 import com.android.ide.eclipse.adt.internal.resources.manager.ProjectResources; 32 import com.android.resources.Keyboard; 33 import com.android.resources.KeyboardState [all...] |