Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/widget/
DArrayAdapter.java141 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource) { in ArrayAdapter()
153 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, in ArrayAdapter()
167 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, @NonNull T[] objects) { in ArrayAdapter()
181 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, in ArrayAdapter()
194 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, in ArrayAdapter()
208 public ArrayAdapter(@NonNull Context context, @LayoutRes int resource, in ArrayAdapter()
213 private ArrayAdapter(@NonNull Context context, @LayoutRes int resource, in ArrayAdapter()
423 @Nullable View convertView, @NonNull ViewGroup parent, int resource) { in createViewFromResource()
469 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/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java93 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getColor() local
128 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getDrawable() local
171 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getString() local
217 Resources resource = getResourcesByPackageName(context, resourceEntry.getPackageName()); in getDimension() local
253 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/tools/aapt2/optimize/
DResourceFilter.cpp31 ResourceName resource = ResourceName({}, type->type, (*it)->name); in Consume() local
/frameworks/base/tools/aapt2/link/
DXmlNamespaceRemover.cpp52 bool XmlNamespaceRemover::Consume(IAaptContext* context, xml::XmlResource* resource) { in Consume()
DXmlReferenceLinker.cpp154 bool XmlReferenceLinker::Consume(IAaptContext* context, xml::XmlResource* resource) { in Consume()
/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/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/net/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java68 RefcountedResource<IResource> resource, in assertResourceState()
105 RefcountedResource<IResource> resource = getTestRefcountedResource(binderMock); in testConstructor() local
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java128 private void mountObb(StorageManager sm, final int resource, final File file, in mountObb()
149 private ObbObserver mountObbWithoutWait(final StorageManager sm, final int resource, in mountObbWithoutWait()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DInstallTask.java164 public static void safeClose(Closeable resource) { in safeClose()
/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/native/libs/sensor/
DISensorServer.cpp113 uint32_t size, int32_t type, int32_t format, const native_handle_t *resource) { in createSensorDirectConnection()
201 native_handle_t *resource = data.readNativeHandle(); in onTransact() local
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java132 public Adapter(Context context, int resource, List<T> objects) { in Adapter()
/frameworks/base/packages/SettingsLib/LayoutPreference/src/com/android/settingslib/widget/
DLayoutPreference.java88 public LayoutPreference(Context context, int resource) { in LayoutPreference()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteLayoutlibCallback.java45 int getOrGenerateResourceId(ResourceReference resource) throws RemoteException; in getOrGenerateResourceId()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaMemoryTracer.cpp36 for (auto& resource : mResourceMap) { in mapName() local
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java118 public MyAdapter(Context context, int resource, in MyAdapter()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DYearPickerView.java105 public YearAdapter(Context context, int resource, List<String> objects) { in YearAdapter()
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteLayoutlibCallbackAdapter.java74 public int getOrGenerateResourceId(ResourceReference resource) { in getOrGenerateResourceId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarFragmentTest.java264 public View inflate(@LayoutRes int resource, @Nullable ViewGroup root, in inflate()
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
DGenImage.java43 private Bitmap loadBitmap(Context context, int resource) { in loadBitmap()

123