Home
last modified time | relevance | path

Searched defs:resource (Results 1 – 25 of 58) 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/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/base/tests/UsbTests/src/com/android/server/usb/
DUsbDescriptorParserTests.java48 public UsbDescriptorParser loadParser(int resource) { in loadParser()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DDynamicIdMap.java65 public Integer getId(Pair<ResourceType, String> resource) { in getId()
/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.java70 RefcountedResource<IResource> resource, in assertResourceState()
107 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/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/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/av/services/mediaresourcemanager/
DResourceManagerService.cpp262 const MediaResource& resource, const ResourceInfo& clientInfo) { in onFirstAdded()
280 const MediaResource& resource, const ResourceInfo& clientInfo) { in onLastRemoved()
371 MediaResource &resource = info.resources[resType]; in removeResource() local
669 const MediaResource &resource = it->second; in getBiggestClient_l() 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/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/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java144 private Bitmap loadBitmap(int resource) { in loadBitmap()

123