/developers/samples/android/security/FingerprintDialog/kotlinApp/app/src/main/java/com/example/android/fingerprintdialog/ |
FingerprintUiHelper.kt | 47 setTextColor(errorTextView.resources.getColor(R.color.hint_color, null)) 48 text = errorTextView.resources.getString(R.string.fingerprint_hint) 79 showError(icon.resources.getString(R.string.fingerprint_not_recognized)) 84 setTextColor(errorTextView.resources.getColor(R.color.success_color, null)) 85 text = errorTextView.resources.getString(R.string.fingerprint_success) 97 setTextColor(errorTextView.resources.getColor(R.color.warning_color, null))
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
LabelColumn.java | 21 import org.jacoco.report.internal.html.resources.Resources; 41 final Resources resources, final ReportOutputFolder base) 47 final Resources resources, final ReportOutputFolder base)
|
PercentageColumn.java | 28 import org.jacoco.report.internal.html.resources.Resources; 65 final Resources resources, final ReportOutputFolder base) 71 final Resources resources, final ReportOutputFolder base)
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowLayerDrawableTest.java | 8 import android.content.res.Resources; 37 Resources resources = ApplicationProvider.getApplicationContext().getResources(); local 38 drawable1000 = new BitmapDrawable(BitmapFactory.decodeResource(resources, R.drawable.an_image)); 40 new BitmapDrawable(BitmapFactory.decodeResource(resources, R.drawable.an_other_image)); 42 new BitmapDrawable(BitmapFactory.decodeResource(resources, R.drawable.third_image)); 44 new BitmapDrawable(BitmapFactory.decodeResource(resources, R.drawable.fourth_image));
|
ShadowAssetManagerTest.java | 12 import android.content.res.Resources; 39 private Resources resources; field in class:ShadowAssetManagerTest 43 resources = ApplicationProvider.getApplicationContext().getResources(); 44 assetManager = resources.getAssets(); 60 // expect different sizes in binary vs file resources 95 expectedException.expect(Resources.NotFoundException.class); 98 resources.newTheme().applyStyle(-1, false); 106 expectedException.expect(Resources.NotFoundException.class); 109 Resources.getSystem().newTheme().applyStyle(-1, false) [all...] |
/external/setupdesign/main/src/com/google/android/setupdesign/items/ |
SimpleInflater.java | 19 import android.content.res.Resources; 43 protected final Resources resources; field in class:SimpleInflater 46 * Create a new inflater instance associated with a particular Resources bundle. 48 * @param resources The Resources class used to resolve given resource IDs. 50 protected SimpleInflater(@NonNull Resources resources) { 51 this.resources = resources; [all...] |
/external/swiftshader/src/OpenGL/compiler/ |
Compiler.cpp | 47 // Initialize built-in resources with minimum expected values. 88 bool TCompiler::Init(const ShBuiltInResources& resources) 91 maxCallStackDepth = resources.MaxCallStackDepth; 95 if (!InitBuiltInSymbolTable(resources)) 97 InitExtensionBehavior(resources, extensionBehavior); 165 bool TCompiler::InitBuiltInSymbolTable(const ShBuiltInResources &resources) 196 InsertBuiltInFunctions(shaderType, resources, symbolTable); 198 IdentifyBuiltIns(shaderType, resources, symbolTable);
|
/external/syzkaller/prog/ |
resources.go | 10 // We need to support structs as resources, 21 // Find calls that produce the necessary resources. 102 var resources []*ResourceDesc 110 resources = append(resources, typ1.Desc) 114 resources = append(resources, timespecRes) 118 return resources 122 var resources []*ResourceDesc 127 resources = append(resources, typ1.Desc [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/ |
resource_ops_test.py | 26 from tensorflow.python.ops import resources 37 resources.initialize_resources(resources.shared_resources()).run() 156 resources.initialize_resources(resources.shared_resources()).run() 170 resources.initialize_resources(resources.shared_resources()).run()
|
/development/tools/findunused/ |
findunusedresources | 9 -p option prints out unused resources, otherwise a total count is printed 39 resources= 42 resources="$resources $(echo $res | grep -v '\-mcc\|[a-z]*-[a-z][a-z]$\|[a-z]*-[a-z][a-z]-.*')" 62 find $resources $sources $app/AndroidManifest.xml -type f -print |xargs cat | tr -d '\n ' > /tmp/everything$$ 82 echo $app: $count unused resources
|
/external/robolectric/ |
include_framework_res.mk | 1 # Add compiled framework resources to a robolectric jar file 24 @echo Adding framework resources: $@ 33 # Move the raw/uncompiled resources into raw-res/ 34 # This logic can be removed once the transition to binary resources is complete 47 $(hide) jar -u0f $@.tmp -C $(PRIVATE_CLASS_INTERMEDIATES_DIR) resources.arsc
|
/external/bcc/src/lua/src/ |
squish.lua | 34 local modules, main_files, resources = {}, {}, {}; 52 local i = #resources+1; 53 resources[i] = { name = name, path = path or name }; 55 resources[i].path = path; 120 elseif #main_files == 0 and #modules == 0 and #resources == 0 then 121 print_err("No files, modules or resources. Not going to generate an empty file."); 242 if #resources > 0 then 243 print_verbose("Packing resources...") 244 f:write("do local resources = {};\n"); 245 for _, resource in ipairs(resources) d [all...] |
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/ |
TableTest.java | 33 import org.jacoco.report.internal.html.resources.Resources; 48 private Resources resources; field in class:TableTest 60 resources = new Resources(root); 89 Resources resources, ReportOutputFolder base) { 95 Resources resources, ReportOutputFolder base) [all...] |
LabelColumnTest.java | 27 import org.jacoco.report.internal.html.resources.Resources; 42 private Resources resources; field in class:LabelColumnTest 56 resources = new Resources(root); 79 resources, root); 88 column.item(td, createItem("Abc", null), resources, root); 99 column.item(td, createItem("Def", "def.html"), resources, root); 139 return Resources.getElementStyle(node.getElementType()) [all...] |
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
ImageAdapter.kt | 48 val resources = mContext.resources 57 ResourcesCompat.getDrawable(resources, R.drawable.cat_placeholder, null))
|
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
ImageAdapter.kt | 48 val resources = mContext.resources 57 ResourcesCompat.getDrawable(resources, R.drawable.cat_placeholder, null))
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLClassLoaderTest.java | 47 private static final String ROOT = "resources/net.resources/HTTP/html/testres231"; 127 assertNotNull("Failed to locate resources", res); 140 assertEquals("Incorrect number of resources returned: " + i, 2, i); 226 File resources = Support_Resources.createTempFolder(); local 227 String resPath = resources.toString(); 231 Support_Resources.copyFile(resources, "JarIndex", "hyts_11.jar"); 232 Support_Resources.copyFile(resources, "JarIndex", "hyts_12.jar"); 233 Support_Resources.copyFile(resources, "JarIndex", "hyts_13.jar"); 234 Support_Resources.copyFile(resources, "JarIndex", "hyts_14.jar") 401 File resources = Support_Resources.createTempFolder(); local 495 File resources = Support_Resources.createTempFolder(); local [all...] |
/external/desugar/test/java/com/google/devtools/build/android/desugar/classes_for_testing_type_inference/testsubjects/ |
TestSubject.java | 87 public void closeResourceArray(Statement[] resources) throws Exception { 88 for (Statement stmt : resources) { 93 public void closeResourceMultiArray(Statement[][] resources) throws Exception { 94 for (Statement[] stmts : resources) { 101 public void closeResourceArrayList(List<Statement> resources) throws Exception { 102 for (Statement stmt : resources) {
|
/external/icu/icu4c/source/samples/ufortune/ |
fortunedefs.mk | 5 # common makefile between ufortune and ufortune/resources 10 # (may require 'make install' in resources subdir for 15 # common - will create fortune_resources.dat in the resources subdir
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
ReferenceViewGroup.java | 22 import android.content.res.Resources; 41 Resources resources = context.getResources(); local 42 mWidthDp = resources.getDimensionPixelSize(R.dimen.reference_width); 43 mHeightDp = resources.getDimensionPixelSize(R.dimen.reference_height);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
Drawable_ConstantStateTest.java | 27 import android.content.res.Resources; 44 Resources resources = context.getResources(); local 53 assertEquals(null, cs.newDrawable(resources)); 57 assertEquals(null, cs.newDrawable(resources, context.getTheme()));
|
/cts/tests/tests/theme/src/android/theme/cts/ |
ThemeRebaseTest.java | 24 import android.content.res.Resources; 42 private Resources.Theme mTheme; 57 * {@link Resources#updateConfiguration(Configuration, DisplayMetrics)} doesn't update the 64 Resources resources = mContext.getResources(); local 65 resources.updateConfiguration(mInitialConfig, resources.getDisplayMetrics());
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmPointerParameterTests.cpp | 695 GraphicsResources resources; local 772 GraphicsResources resources; local 868 GraphicsResources resources; local 982 GraphicsResources resources; local [all...] |
/external/deqp-deps/glslang/gtests/ |
Config.FromFile.cpp | 62 TBuiltInResource resources = {}; local 68 glslang::DecodeResourceLimits(&resources, configChars); 74 compile(&shader, shaderContents, "", testCase.controls, &resources);
|
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/ |
MergeTask.java | 25 import org.apache.tools.ant.types.resources.Union; 49 * This task accepts any number of execution data resources. 51 * @param resources 52 * Execution data resources 54 public void addConfigured(final ResourceCollection resources) { 55 files.add(resources);
|