/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
SmartReplyConstantsTest.java | 50 TestableResources resources = mContext.getOrCreateTestableResources(); local 51 resources.addOverride(R.bool.config_smart_replies_in_notifications_enabled, true); 52 resources.addOverride(
|
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/ |
ComposerResources.h | 57 auto resources = std::make_unique<ComposerResources>(); local 58 return resources->init() ? std::move(resources) : nullptr;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterBorder.java | 19 import android.content.res.Resources; 33 private Resources mResources = null; 76 public void setResources(Resources resources) { 77 if (mResources != resources) { 78 mResources = resources;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
WifiConnectivityGuidedStepFragment.java | 21 import android.content.res.Resources; 69 * Get resources safely. 71 * @return resources. 74 public Resources getResourcesSafely() { 91 final Resources resources = getResourcesSafely(); 92 if (resources == null) { 98 resources.getDimensionPixelSize(R.dimen.setup_list_item_margin));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/ |
ColorDescriptors.java | 22 import com.android.ide.common.resources.platform.AttributeInfo; 23 import com.android.ide.common.resources.platform.DeclareStyleableInfo; 30 import com.android.resources.ResourceType; 37 "http://d.android.com/guide/topics/resources/color-list-resource.html"; //$NON-NLS-1$
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceLabelProvider.java | 19 import com.android.ide.common.resources.ResourceFile; 20 import com.android.ide.common.resources.ResourceItem; 21 import com.android.resources.ResourceType; 35 * in the resources. This can be matched to the subclasses inside the class <code>R</code>
|
/dalvik/dx/tests/115-merge/ |
run | 32 jar cfM resources.jar testdata/*.dex 34 art -classpath test.jar:$junitdex:resources.jar \
|
/dalvik/dx/tests/119-merge-conflict/ |
run | 36 jar cfM resources.jar testdata/*.dex 38 art -classpath test.jar:$junitdex:resources.jar \
|
/developers/build/prebuilts/gradle/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/ |
PlanetFragment.kt | 39 val planet = resources.getStringArray(R.array.planets_array)[planetNumber] 40 val imageId = resources.getIdentifier(planet.toLowerCase(Locale.getDefault()),
|
/developers/samples/android/ui/views/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/ |
PlanetFragment.kt | 39 val planet = resources.getStringArray(R.array.planets_array)[planetNumber] 40 val imageId = resources.getIdentifier(planet.toLowerCase(Locale.getDefault()),
|
/external/doclava/ |
build.gradle | 87 resources.srcDirs = ['res/'] 91 resources.srcDirs = ['test/api']
|
/external/icu/icu4c/source/samples/ufortune/ |
Makefile | 32 # dir containing resources 33 RESDIR=resources
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/ |
TryWithResourcesEcjFilter.java | 26 * Filters code that ECJ generates for try-with-resources statement. 74 int resources = 1; local 75 String r = "r" + resources; 81 resources++; 82 r = "r" + resources; 122 int resources = 0; local 123 String r = "r" + resources; 126 resources++; 127 r = "r" + resources; 150 for (int i = 1; i < resources; i++) [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/ |
IHTMLReportContext.java | 18 import org.jacoco.report.internal.html.resources.Resources; 27 * Returns the static resources used in this report. 29 * @return static resources 31 public Resources getResources();
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/ |
BarColumnTest.java | 32 import org.jacoco.report.internal.html.resources.Resources; 47 private Resources resources; field in class:BarColumnTest 61 resources = new Resources(root); 84 column.footer(td, createNode(15, 5), resources, root); 96 column.item(td, i1, resources, root); 104 assertEquals("jacoco-resources/redbar.gif", 112 assertEquals("jacoco-resources/greenbar.gif" [all...] |
PercentageColumnTest.java | 31 import org.jacoco.report.internal.html.resources.Resources; 46 private Resources resources; field in class:PercentageColumnTest 60 resources = new Resources(root); 83 column.item(td, item, resources, root); 93 column.item(td, item, resources, root); 103 column.item(td, item, resources, root); 115 column.item(td, item, resources, root) [all...] |
/external/objenesis/tck/src/main/java/org/objenesis/tck/search/ |
ClassEnumerator.java | 114 Enumeration<URL> resources; local 116 resources = classLoader.getResources(relPath); 121 while(resources.hasMoreElements()) { 122 URL resource = resources.nextElement();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ThinPatchesActivity.java | 20 import android.content.res.Resources; 53 final Resources resources = activity.getResources(); local 54 mPatch1 = resources.getDrawable(R.drawable.patch); 55 mPatch2 = resources.getDrawable(R.drawable.btn_toggle_on); 56 mPatch3 = resources.getDrawable(R.drawable.patch2);
|
/libcore/luni/src/test/etc/loading-test-jar/ |
build.sh | 36 resourceDir=../../resources/dalvik/system 51 jar cf loading-test.jar classes.dex -C resources .
|
/packages/apps/Calendar/src/com/android/calendar/ |
MultiStateButton.java | 47 //on the last set if the resources get set to null. 49 //A list of all drawable resources used by this button in the order it uses them. 62 //Currently using the standard buttonStyle, will update when new resources are added. 86 * This sets the maximum states allowed to the length of the resources array. It will also 89 public void setButtonResources(int[] resources) throws IllegalArgumentException { 90 if(resources == null) { 91 throw new IllegalArgumentException("Button resources cannot be null"); 93 mMaxStates = resources.length; 97 mButtonResources = resources;
|
/packages/apps/Dialer/java/com/android/dialer/about/ |
Licenses.java | 20 import android.content.res.Resources; 72 Resources resources = context.getApplicationContext().getResources(); local 74 // application, but not for the resources. This is to find the package name of a known 76 String packageName = resources.getResourcePackageName(R.id.license); 78 resources.openRawResource(resources.getIdentifier(filename, "raw", packageName));
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
VisualVoicemailProtocolFactory.java | 19 import android.content.res.Resources; 30 public static VisualVoicemailProtocol create(Resources resources, String type) {
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
SmsReleaseStorage.java | 19 import android.content.res.Resources; 92 final Resources resources = Factory.get().getApplicationContext().getResources(); local 95 return resources.getQuantityString( 98 return resources.getQuantityString( 101 return resources.getQuantityString(
|
/packages/apps/Settings/src/com/android/settings/development/ |
ColorModePreference.java | 19 import android.content.res.Resources; 44 Resources resources = context.getResources(); local 45 int[] colorModes = resources.getIntArray(R.array.color_mode_ids); 46 String[] titles = resources.getStringArray(R.array.color_mode_names); 47 String[] descriptions = resources.getStringArray(R.array.color_mode_descriptions);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
ColorModePreference.java | 19 import android.content.res.Resources; 80 Resources resources = getContext().getResources(); local 81 int[] colorModes = resources.getIntArray(R.array.color_mode_ids); 82 String[] titles = resources.getStringArray(R.array.color_mode_names); 83 String[] descriptions = resources.getStringArray(R.array.color_mode_descriptions);
|