Home
last modified time | relevance | path

Searched defs:resource (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/core/java/android/widget/
DArrayAdapter.java138 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource) { in ArrayAdapter()
150 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, in ArrayAdapter()
164 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, @NonNull T[] objects) { in ArrayAdapter()
178 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, in ArrayAdapter()
191 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, in ArrayAdapter()
205 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, in ArrayAdapter()
210 private ArrayAdapter(@NonNull Context context, @LayoutRes int resource, in ArrayAdapter()
420 @Nullable View convertView, @NonNull ViewGroup parent, int resource) { in createViewFromResource()
466 public void setDropDownViewResource(@LayoutRes int resource) { in setDropDownViewResource()
DSimpleAdapter.java91 @LayoutRes int resource, String[] from, @IdRes int[] to) { in SimpleAdapter()
128 ViewGroup parent, int resource) { in createViewFromResource()
147 public void setDropDownViewResource(int resource) { in setDropDownViewResource()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyResourcesManager.java211 ParcelableResource resource = mService.getDrawable( in getDrawable() local
308 ParcelableResource resource = mService.getDrawable( in getDrawableForDensity() local
355 ParcelableResource resource = mService.getDrawable( in getDrawableAsIcon() local
491 ParcelableResource resource = mService.getString(stringId); in getString() local
539 ParcelableResource resource = mService.getString(stringId); in getString() local
DDevicePolicyStringResource.java66 @NonNull ParcelableResource resource) { in DevicePolicyStringResource()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java95 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getColor() local
134 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getColorStateList() local
177 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getDrawable() local
220 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getString() local
266 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getDimension() local
302 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getBoolean() local
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java164 private void addBitmapDrawable(LinearLayout layout, int resource, boolean scale) { in addBitmapDrawable()
179 private void addResourceDrawable(LinearLayout layout, int resource) { in addResourceDrawable()
190 private void addCanvasBitmap(LinearLayout layout, int resource, boolean scale) { in addCanvasBitmap()
201 private void addNinePatchResourceDrawable(LinearLayout layout, int resource) { in addNinePatchResourceDrawable()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceManagementResourcesProvider.java102 ParcelableResource resource = drawables.get(i).getResource(); in updateDrawables() local
184 ParcelableResource resource = getDrawableForSourceLocked( in getDrawable() local
215 ParcelableResource resource = strings.get(i).getResource(); in updateStrings() local
442 ParcelableResource resource = ParcelableResource.createFromXml(parser); in readInner() local
455 ParcelableResource resource = ParcelableResource.createFromXml(parser); in readInner() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/
DAbstractPreferenceController.java143 String preferenceKey, String overrideKey, int resource) { in replaceEnterpriseStringTitle()
161 PreferenceScreen screen, String preferenceKey, String overrideKey, int resource) { in replaceEnterpriseStringSummary()
/frameworks/base/tools/aapt2/optimize/
DResourceFilter.cpp31 ResourceName resource = ResourceName({}, type->named_type, (*it)->name); in Consume() local
/frameworks/base/tools/aapt2/link/
DXmlNamespaceRemover.cpp52 bool XmlNamespaceRemover::Consume(IAaptContext* context, xml::XmlResource* resource) { in Consume()
DXmlReferenceLinker.cpp130 bool XmlReferenceLinker::Consume(IAaptContext* context, xml::XmlResource* resource) { in Consume()
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/
DGlassActivity.kt135 val resource = when (view) { in <lambda>() constant
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DDynamicIdMap.java65 public Integer getId(Pair<ResourceType, String> resource) { in getId()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbDescriptorParserTests.java48 public UsbDescriptorParser loadParser(int resource) { in loadParser()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceBasic.java93 TunerResourceBasic resource = new TunerResourceBasic(this); in build() local
/frameworks/rs/tests/java_api/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
DHelloComputeNDK.java56 private Bitmap loadBitmap(int resource) { in loadBitmap()
/frameworks/base/core/java/android/transition/
DTransitionInflater.java75 public Transition inflateTransition(@TransitionRes int resource) { in inflateTransition()
103 public TransitionManager inflateTransitionManager(@TransitionRes int resource, in inflateTransitionManager()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DOpenGLUtils.java69 public static int createTexture(@NonNull Context context, int resource) { in createTexture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordingAdapter.java40 public ScreenRecordingAdapter(Context context, int resource, in ScreenRecordingAdapter()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DInstallTask.java164 public static void safeClose(Closeable resource) { in safeClose()
/frameworks/av/media/libmedia/
DMediaResource.cpp81 String8 toString(const MediaResourceParcel& resource) { in toString()
/frameworks/base/core/java/android/preference/
DGenericInflater.java227 public T inflate(@XmlRes int resource, P root) { in inflate()
267 public T inflate(@XmlRes int resource, P root, boolean attachToRoot) { in inflate()
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java132 public Adapter(Context context, int resource, List<T> objects) { in Adapter()
/frameworks/base/tools/processors/intdef_mappings/src/android/processor/
DIntDefProcessor.kt128 val resource = processingEnv.filer.createResource( constant
/frameworks/base/packages/SettingsLib/LayoutPreference/src/com/android/settingslib/widget/
DLayoutPreference.java88 public LayoutPreference(Context context, int resource) { in LayoutPreference()

123