/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
CallLogListItemHelper.java | 19 import android.content.res.Resources; 36 /** Resources to look up strings. */ 37 private final Resources resources; field in class:CallLogListItemHelper 45 * @param resources The object from which resources can be retrieved 50 Resources resources, 53 this.resources = resources; [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactory_OptionsTest.java | 20 import android.content.res.Resources; 62 Resources resources = instrumentation.getTargetContext().getResources(); local 65 AssetManager assets = resources.getAssets(); 78 b = BitmapFactory.decodeResource(resources, R.drawable.alpha, options); 84 b = BitmapFactory.decodeResource(resources, R.drawable.icon_green, options); 92 b = BitmapFactory.decodeResource(resources, R.drawable.bitmap_indexed, options); 102 b = BitmapFactory.decodeResource(resources, R.drawable.bitmap_indexed, options);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/ |
PickerUtility.java | 19 import android.content.res.Resources; 40 private DateConstant(Locale locale, Resources resources) { 57 private TimeConstant(Locale locale, Resources resources) { 67 public static DateConstant getDateConstantInstance(Locale locale, Resources resources) { 68 return new DateConstant(locale, resources); 71 public static TimeConstant getTimeConstantInstance(Locale locale, Resources resources) { [all...] |
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldJarEntryTest.java | 35 private File resources; field in class:OldJarEntryTest 39 resources = Support_Resources.createTempFolder(); 40 Support_Resources.copyFile(resources, null, jarName); 41 jarFile = new JarFile(new File(resources, jarName)); 90 Support_Resources.copyFile(resources, null, "Broken_manifest.jar"); 92 attrJar = new JarFile(new File(resources, "Broken_manifest.jar"));
|
/frameworks/av/services/mediaresourcemanager/ |
ResourceManagerService.cpp | 72 static bool hasResourceType(MediaResource::Type type, const Vector<MediaResource>& resources) { 73 for (size_t i = 0; i < resources.size(); ++i) { 74 if (resources[i].mType == type) { 83 if (hasResourceType(type, infos[i].resources)) { 120 static void notifyResourceGranted(int pid, const Vector<MediaResource> &resources) { 125 for (size_t i = 0; i < resources.size(); ++i) { 126 if (resources[i].mSubType == MediaResource::kAudioCodec) { 128 } else if (resources[i].mSubType == MediaResource::kVideoCodec) { 184 Vector<MediaResource> resources = infos[j].resources; local 541 Vector<MediaResource> resources = infos[i].resources; local [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
Table.java | 23 import org.jacoco.report.internal.html.resources.Resources; 24 import org.jacoco.report.internal.html.resources.Styles; 79 * resources that might be referenced 80 * @param resources 81 * static resources that might be referenced 89 final Resources resources, final ReportOutputFolder base) 95 footer(table, total, resources, base); 96 body(table, sortedItems, resources, base) 178 renderer.footer(tr.td(style), total, resources, base); local [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
memory.cpp | 87 if (!resources.count(&q.device())) { 88 auto r = (!resources.empty() ? 90 *resources.begin()->second) : 93 resources.insert(std::make_pair(&q.device(), 98 return *resources.find(&q.device())->second; 111 if (!resources.count(&q.device())) { 114 resources.insert(std::make_pair(&q.device(), 118 return *resources.find(&q.device())->second; 139 if (!resources.count(&q.device())) { 140 auto r = (!resources.empty() [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
Shader.cpp | 166 ShBuiltInResources resources; local 167 resources.MaxVertexAttribs = MAX_VERTEX_ATTRIBS; 168 resources.MaxVertexUniformVectors = MAX_VERTEX_UNIFORM_VECTORS; 169 resources.MaxVaryingVectors = MAX_VARYING_VECTORS; 170 resources.MaxVertexTextureImageUnits = MAX_VERTEX_TEXTURE_IMAGE_UNITS; 171 resources.MaxCombinedTextureImageUnits = MAX_COMBINED_TEXTURE_IMAGE_UNITS; 172 resources.MaxTextureImageUnits = MAX_TEXTURE_IMAGE_UNITS; 173 resources.MaxFragmentUniformVectors = MAX_FRAGMENT_UNIFORM_VECTORS; 174 resources.MaxDrawBuffers = MAX_DRAW_BUFFERS; 175 resources.OES_standard_derivatives = 1 [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
GZIPInputStreamTest.java | 41 File resources; field in class:GZIPInputStreamTest 67 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); 68 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL(); 95 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); 96 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL(); 113 Support_Resources.copyFile(resources, null, "hyts_checkInput.txt"); 114 final URL jarInput = new File(resources.toString() + "/hyts_checkInput.txt").toURL(); 137 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz"); 138 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL(); 253 Support_Resources.copyFile(resources, null, "hyts_gInput.txt.gz") [all...] |
/bootable/recovery/minui/ |
graphics_drm.h | 48 void DisableNonMainCrtcs(int fd, drmModeRes* resources, drmModeCrtc* main_crtc); 49 drmModeConnector* FindMainMonitor(int fd, drmModeRes* resources, uint32_t* mode_index);
|
graphics_drm.cpp | 179 static drmModeCrtc* find_crtc_for_connector(int fd, drmModeRes* resources, 202 for (int j = 0; j < resources->count_crtcs; j++) { 204 crtc = resources->crtcs[j]; 217 static drmModeConnector* find_used_connector_by_type(int fd, drmModeRes* resources, unsigned type) { 218 for (int i = 0; i < resources->count_connectors; i++) { 219 drmModeConnector* connector = drmModeGetConnector(fd, resources->connectors[i]); 231 static drmModeConnector* find_first_connected_connector(int fd, drmModeRes* resources) { 232 for (int i = 0; i < resources->count_connectors; i++) { 235 connector = drmModeGetConnector(fd, resources->connectors[i]); 246 drmModeConnector* MinuiBackendDrm::FindMainMonitor(int fd, drmModeRes* resources, [all...] |
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
ScriptC_leak.java | 24 import android.content.res.Resources; 40 public ScriptC_leak(RenderScript rs, Resources resources, int id) { 41 super(rs, resources, id);
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/ |
NodePage.java | 17 import org.jacoco.report.internal.html.resources.Resources; 18 import org.jacoco.report.internal.html.resources.Styles; 56 return Resources.getElementStyle(node.getElementType());
|
/external/mockftpserver/ |
Android.mk | 22 LOCAL_JAVA_RESOURCE_DIRS := MockFtpServer/src/main/resources 32 LOCAL_JAVA_RESOURCE_DIRS := MockFtpServer/src/main/resources
|
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/ |
PluginFinder.java | 22 String findPluginClass(Iterable<URL> resources) { 23 for (URL resource : resources) {
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowBitmapDrawableTest.java | 7 import android.content.res.Resources; 27 private final Resources resources = RuntimeEnvironment.application.getResources(); field in class:ShadowBitmapDrawableTest 35 drawable = new BitmapDrawable(resources, bitmap); 41 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); 47 BitmapDrawable original = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); 56 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); 72 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image); 82 Drawable drawable = resources.getDrawable(R.drawable.an_image); 88 BitmapDrawable drawable = (BitmapDrawable) resources.getDrawable(R.drawable.an_image) [all...] |
/external/testng/ |
update-beust.com | 17 ${RSYNC} -r src/main/resources/testng-1.0.dtd testng-1.0.dtd.html ${U}@beust.com:${DEST}/doc 20 #scp -r javadocs doc/*.html doc/*.css src/main/resources/testng-1.0.dtd testng-1.0.dtd.html ${U}@beust.com:${DEST}
|
/frameworks/av/media/libmedia/include/media/ |
IResourceManagerService.h | 44 const Vector<MediaResource> &resources) = 0; 50 const Vector<MediaResource> &resources) = 0;
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
ArraysCheckWidget.class | |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
Partner.java | 25 import android.content.res.Resources; 65 return entry.resources.getDrawable(entry.id); 76 return entry.resources.getString(entry.id); 85 return resourceEntry.resources.getColor(resourceEntry.id); 94 return entry.resources.getText(entry.id); 102 * @return a ResourceEntry in the partner overlay's resources, if one is defined. Otherwise the 103 * resources from the original context is returned. Clients can then get the resource by 104 * {@code entry.resources.getString(entry.id)}, or other methods available in 105 * {@link android.content.res.Resources}. 110 final Resources ourResources = context.getResources() 122 public Resources resources; field in class:Partner.ResourceEntry [all...] |
/frameworks/opt/setupwizard/library/ |
rules.gradle | 37 resources.srcDirs = ['main/src']
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/drawable/ |
BitmapDrawableTest.kt | 29 val drawable = b.toDrawable(context.resources)
|
/prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-io/1.0/ |
plexus-io-1.0.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
OpenCreateAssetSetWizardAction.java | 18 import org.eclipse.core.resources.IProject; 19 import org.eclipse.core.resources.IResource;
|
/frameworks/base/services/core/java/com/android/server/ |
GestureLauncherService.java | 25 import android.content.res.Resources; 149 Resources resources = mContext.getResources(); local 150 if (!isGestureLauncherEnabled(resources)) { 182 Resources resources = mContext.getResources(); local 184 registerCameraLaunchGesture(resources); 190 registerCameraLiftTrigger(resources); 222 private void registerCameraLaunchGesture(Resources resources) { 529 Resources resources = mContext.getResources(); local [all...] |