HomeSort by relevance Sort by last modified time
    Searched defs:resources (Results 151 - 175 of 463) sorted by null

1 2 3 4 5 67 8 91011>>

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
TransitionDrawableTest.java 21 import android.content.res.Resources;
56 Resources resources = getInstrumentation().getTargetContext().getResources(); local
58 resources.getDrawable(R.drawable.testimage),
59 resources.getDrawable(R.drawable.levellistdrawable)
  /cts/tests/tests/widget/src/android/widget/cts/
ImageSwitcherTest.java 25 import android.content.res.Resources;
66 Resources resources = getContext().getResources(); local
67 Drawable drawable = resources.getDrawable(R.drawable.scenery);
75 drawable = resources.getDrawable(R.drawable.testimage);
135 Resources resources = getContext().getResources(); local
137 Drawable drawable = resources.getDrawable(R.drawable.scenery);
142 drawable = resources.getDrawable(R.drawable.testimage);
ToggleButtonTest.java 22 import android.content.res.Resources;
98 Resources resources = mContext.getResources(); local
99 Drawable drawable = resources.getDrawable(R.drawable.scenery);
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DictionaryDatabase.java 22 import android.content.res.Resources;
204 final Resources resources = mHelperContext.getResources(); local
205 InputStream inputStream = resources.openRawResource(R.raw.definitions);
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarEntryTest.java 50 private File resources; field in class:JarEntryTest
54 resources = Support_Resources.createTempFolder();
55 Support_Resources.copyFile(resources, null, jarName);
56 jarFile = new JarFile(new File(resources, jarName));
105 Support_Resources.copyFile(resources, null, attJarName);
106 file = new File(resources, attJarName);
129 Support_Resources.copyFile(resources, null, jarFileName);
130 File file = new File(resources, jarFileName);
153 Support_Resources.copyFile(resources, null, jarFileName);
154 File file = new File(resources, jarFileName)
    [all...]
JarInputStreamTest.java 75 File resources = Support_Resources.createTempFolder(); local
76 Support_Resources.copyFile(resources, null, "Broken_entry.jar");
116 File resources = Support_Resources.createTempFolder(); local
117 Support_Resources.copyFile(resources, null, "Broken_entry.jar");
394 File resources = Support_Resources.createTempFolder(); local
395 Support_Resources.copyFile(resources, null, "Broken_entry.jar");
JarOutputStreamTest.java 71 File resources = Support_Resources.createTempFolder(); local
74 Support_Resources.copyFile(resources, null, testClass);
75 URL jarURL = new URL((new File(resources, testClass)).toURL()
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
GZIPInputStreamTest.java 34 File resources; field in class:GZIPInputStreamTest
60 Support_Resources.copyFile(resources, "GZIPInputStream",
62 final URL gInput = new File(resources.toString()
84 Support_Resources.copyFile(resources, "GZIPInputStream",
86 final URL gInput = new File(resources.toString()
104 Support_Resources.copyFile(resources, null, "hyts_checkInput.txt");
105 final URL jarInput = new File(resources.toString()+ "/hyts_checkInput.txt").toURL();
128 Support_Resources.copyFile(resources, "GZIPInputStream",
130 String resPath = resources.toString();
247 Support_Resources.copyFile(resources, "GZIPInputStream"
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
PackageTest.java 28 private File resources; field in class:PackageTest
34 Support_Resources.copyFile(resources, "Package", resourceJar);
44 resources = Support_Resources.createTempFolder();
45 resPath = resources.toString();
295 Support_Resources.copyFile(resources, "Package", "hyts_c.jar");
296 Support_Resources.copyFile(resources, "Package", "hyts_d.jar");
297 Support_Resources.copyFile(resources, "Package", "hyts_d1.jar");
298 Support_Resources.copyFile(resources, "Package", "hyts_d2.jar");
319 Support_Resources.copyFile(resources, "p", "");
321 Support_Resources.copyLocalFileTo(new File(resources.toString()
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ServiceLoaderTest.java 30 import tests.resources.ServiceLoader.AbstractService;
31 import tests.resources.ServiceLoader.Service;
32 import tests.resources.ServiceLoader.ServiceDuplicateIn2File;
33 import tests.resources.ServiceLoader.ServiceFinalClass;
34 import tests.resources.ServiceLoader.ServiceForAllCommentTest;
35 import tests.resources.ServiceLoader.ServiceForEmptyTest;
36 import tests.resources.ServiceLoader.ServiceForIllegalNameTest;
37 import tests.resources.ServiceLoader.ServiceForWrongNameTest;
38 import tests.resources.ServiceLoader.ServiceIn2File;
39 import tests.resources.ServiceLoader.ServiceIn2FileWithEmptyConfig
384 File resources = Support_Resources.createTempFolder(); local
    [all...]
  /external/apache-harmony/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";
45 File resources = createTempFolder(); local
51 copyFile(resources, folder, name);
53 String resPath = resources.toString();
119 File resources = createTempFolder(); local
121 File temp = new File(resources.toString() + "/local.tmp");
  /external/chromium/chrome/browser/safe_browsing/
malware_details_unittest.cc 222 // Sort the resources, to make the test deterministic
223 std::vector<const ClientMalwareReportRequest::Resource*> resources; local
226 report_pb.resources(i);
227 resources.push_back(&resource);
229 std::sort(resources.begin(), resources.end(),
235 expected_pb.resources(i);
242 VerifyResource(resources[i], expected[i]);
  /external/chromium/chrome/browser/ui/webui/options/
about_page_handler.cc 109 static OptionsStringResource resources[] = { local
136 RegisterStrings(localized_strings, resources, arraysize(resources));
advanced_options_handler.cc 68 static OptionsStringResource resources[] = { local
177 RegisterStrings(localized_strings, resources, arraysize(resources));
autofill_options_handler.cc 135 static OptionsStringResource resources[] = { local
150 RegisterStrings(localized_strings, resources, arraysize(resources));
browser_options_handler.cc 56 static OptionsStringResource resources[] = { local
79 RegisterStrings(localized_strings, resources, arraysize(resources));
sync_setup_handler.cc 194 static OptionsStringResource resources[] = { local
273 RegisterStrings(localized_strings, resources, arraysize(resources));
  /external/chromium_org/chrome/browser/predictors/
resource_prefetch_predictor_tables.cc 104 // of the resources sorted by position(ascending).
151 resources(other.resources) {
160 resources == rhs.resources;
259 // Read the resources table and organize it per primary key.
277 it->second.resources.push_back(row);
283 std::sort(it->second.resources.begin(),
284 it->second.resources.end(),
331 const ResourceRows& resources = data.resources local
    [all...]
  /external/chromium_org/chrome/browser/safe_browsing/
malware_details_unittest.cc 243 // Sort the resources, to make the test deterministic
244 std::vector<const ClientMalwareReportRequest::Resource*> resources; local
247 report_pb.resources(i);
248 resources.push_back(&resource);
250 std::sort(resources.begin(), resources.end(),
256 expected_pb.resources(i);
263 VerifyResource(resources[i], expected[i]);
  /external/chromium_org/chrome/browser/task_manager/
worker_resource_provider.cc 155 // This class is needed to ensure that all resources in WorkerResourceList are
167 WorkerResourceList* resources() { function in class:task_manager::WorkerResourceProvider::WorkerResourceListHolder
228 WorkerResourceList& resources = it->second;
229 for (WorkerResourceList::iterator r = resources.begin();
230 r != resources.end(); ++r) {
246 // get WorkerDestroyed notification and have to clear resources for such
313 holder->resources()->push_back(new SharedWorkerResource(
336 WorkerResourceList* resources = resource_list_holder->resources();
337 for (WorkerResourceList::iterator it = resources->begin()
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/help/
help_handler.cc 144 static L10nResources resources[] = { local
213 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(resources); ++i) {
214 source->AddString(resources[i].name,
215 l10n_util::GetStringUTF16(resources[i].ids));
  /external/chromium_org/chrome/browser/ui/webui/options/
autofill_options_handler.cc 257 static OptionsStringResource resources[] = { local
273 RegisterStrings(localized_strings, resources, arraysize(resources));
font_settings_handler.cc 76 static OptionsStringResource resources[] = { local
99 RegisterStrings(localized_strings, resources, arraysize(resources));
manage_profile_handler.cc 82 static OptionsStringResource resources[] = { local
113 RegisterStrings(localized_strings, resources, arraysize(resources));
startup_pages_handler.cc 36 static OptionsStringResource resources[] = { local
42 RegisterStrings(localized_strings, resources, arraysize(resources));

Completed in 1398 milliseconds

1 2 3 4 5 67 8 91011>>