Home
last modified time | relevance | path

Searched defs:resources (Results 1 – 25 of 158) sorted by relevance

1234567

/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java91 Resources resources = new Resources(Resources_Delegate.class.getClassLoader()); in initSystem() local
101 public static BridgeContext getContext(@NonNull Resources resources) { in getContext()
110 public static LayoutlibCallback getLayoutlibCallback(@NonNull Resources resources) { in getLayoutlibCallback()
127 public static BridgeTypedArray newTypeArray(Resources resources, int numEntries) { in newTypeArray()
131 private static ResourceReference getResourceInfo(Resources resources, int id) { in getResourceInfo()
151 private static Pair<String, ResourceValue> getResourceValue(Resources resources, int id) { in getResourceValue()
170 static Drawable getDrawable(Resources resources, int id) { in getDrawable()
175 static Drawable getDrawable(Resources resources, int id, Theme theme) { in getDrawable()
204 static int getColor(Resources resources, int id) { in getColor()
209 static int getColor(Resources resources, int id, Theme theme) throws NotFoundException { in getColor()
[all …]
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceFactory.java58 SensorManager sensorManager, Resources resources) { in create()
108 SensorManager sensorManager, Resources resources) { in createBrightnessSensor()
118 public static AmbientFilter createBrightnessFilter(Resources resources) { in createBrightnessFilter()
136 Handler handler, SensorManager sensorManager, Resources resources) { in createColorTemperatureSensor()
146 private static AmbientFilter createColorTemperatureFilter(Resources resources) { in createColorTemperatureFilter()
161 private static DisplayWhiteBalanceThrottler createThrottler(Resources resources) { in createThrottler()
176 private static float getFloat(Resources resources, int id) { in getFloat()
185 private static float[] getFloatArray(Resources resources, int id) { in getFloatArray()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java36 final Resources resources = getContext().getResources(); in extractApkAndGetPath() local
53 private static void ensureNoLanguage(Resources resources, String language) { in ensureNoLanguage()
67 final Resources resources = createResourcesWithApk(R.raw.locales); in testEnglishIsAlwaysConsideredSupported() local
84 final Resources resources = createResourcesWithApk(R.raw.locales); in testSelectFirstSupportedLanguage() local
DResourcesDrawableTest.java44 Resources resources = context.getResources(); in testLoadColorAsDrawable() local
52 Resources resources = context.getResources(); in testLoadColorAsDrawableFailureThrowsOriginalException() local
77 Resources resources = context.getResources(); in testLoadNormalDrawableInColorDir() local
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java150 Resources resources = mContext.getResources(); in onBootPhase() local
183 Resources resources = mContext.getResources(); in updateCameraRegistered() local
223 private void registerCameraLaunchGesture(Resources resources) { in registerCameraLaunchGesture()
274 private void registerCameraLiftTrigger(Resources resources) { in registerCameraLiftTrigger()
332 public static boolean isCameraLaunchEnabled(Resources resources) { in isCameraLaunchEnabled()
339 public static boolean isCameraDoubleTapPowerEnabled(Resources resources) { in isCameraDoubleTapPowerEnabled()
344 public static boolean isCameraLiftTriggerEnabled(Resources resources) { in isCameraLiftTriggerEnabled()
353 public static boolean isGestureLauncherEnabled(Resources resources) { in isGestureLauncherEnabled()
545 Resources resources = mContext.getResources(); in onTrigger() local
/frameworks/av/media/libmedia/
DIResourceManagerService.cpp79 const Vector<MediaResource> &resources) { in addResource()
91 virtual void removeResource(int pid, int64_t clientId, const Vector<MediaResource> &resources) { in removeResource()
110 virtual bool reclaimResource(int callingPid, const Vector<MediaResource> &resources) { in reclaimResource()
152 Vector<MediaResource> resources; in onTransact() local
162 Vector<MediaResource> resources; in onTransact() local
179 Vector<MediaResource> resources; in onTransact() local
/frameworks/base/core/java/com/android/internal/policy/
DScreenDecorationsUtils.java33 public static float getWindowCornerRadius(Resources resources) { in getWindowCornerRadius()
61 public static boolean supportsRoundedCornersOnWindows(Resources resources) { in supportsRoundedCornersOnWindows()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveIconShapeDrawable.java41 public AdaptiveIconShapeDrawable(Resources resources) { in AdaptiveIconShapeDrawable()
53 private void init(Resources resources) { in init()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java120 public Resources resources; field in Partner.ResourceEntry
124 ResourceEntry(Resources resources, int id, boolean isOverlay) { in ResourceEntry()
182 private final Resources resources; field in Partner
/frameworks/base/core/java/com/android/internal/util/
DScreenShapeHelper.java16 public static int getWindowOutsetBottomPx(Resources resources) { in getWindowOutsetBottomPx()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java133 public static @Nullable FamilyResourceEntry parse(XmlPullParser parser, Resources resources) in parse()
148 Resources resources) throws XmlPullParserException, IOException { in readFamilies()
162 Resources resources) throws XmlPullParserException, IOException { in readFamily()
216 private static FontFileResourceEntry readFont(XmlPullParser parser, Resources resources) in readFont()
DDrawableCache.java41 public Drawable getInstance(long key, Resources resources, Resources.Theme theme) { in getInstance()
DConfigurationBoundResourceCache.java43 public T getInstance(long key, Resources resources, Resources.Theme theme) { in getInstance()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DResourceModifiers.java60 public static void init(Resources resources) { in init()
64 public ResourceModifiers(Resources resources) { in ResourceModifiers()
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptC.java57 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { in ScriptC()
88 …private static synchronized long internalCreate(RenderScript rs, Resources resources, int resource… in internalCreate()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DAdaptiveOutlineDrawableTest.java36 final Resources resources = RuntimeEnvironment.application.getResources(); in constructor_initPaint() local
/frameworks/base/rs/java/android/renderscript/
DScriptC.java59 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { in ScriptC()
87 …private static synchronized long internalCreate(RenderScript rs, Resources resources, int resource… in internalCreate()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DFingerprintGestureDispatcher.java56 Resources resources, Object lock) { in FingerprintGestureDispatcher()
70 Resources resources, Object lock, Handler handler) { in FingerprintGestureDispatcher()
/frameworks/layoutlib/bridge/src/android/view/
DPointerIcon_Delegate.java27 /*package*/ static void loadResource(PointerIcon icon, Context context, Resources resources, in loadResource()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java151 TestableResources resources = mContext.getOrCreateTestableResources(); in testSettingOverrideConfig_enableSkinTemperatureWarning() local
164 TestableResources resources = mContext.getOrCreateTestableResources(); in testSettingOverrideConfig_enableUsbTemperatureAlarm() local
177 TestableResources resources = mContext.getOrCreateTestableResources(); in testSettingOverrideConfig_disableSkinTemperatureWarning() local
190 TestableResources resources = mContext.getOrCreateTestableResources(); in testSettingOverrideConfig_disableUsbTemperatureAlarm() local
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp74 static bool hasResourceType(MediaResource::Type type, const ResourceList& resources) { in hasResourceType()
124 static void notifyResourceGranted(int pid, const Vector<MediaResource> &resources) { in notifyResourceGranted()
188 const ResourceList &resources = infos[j].resources; in dump() local
310 const Vector<MediaResource> &resources) { in addResource()
341 const Vector<MediaResource> &resources) { in removeResource()
434 int callingPid, const Vector<MediaResource> &resources) { in reclaimResource()
667 const ResourceList &resources = infos[i].resources; in getBiggestClient_l() local
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DVendorInfo.java30 public VendorInfo(Resources resources, int vendor_info_id) { in VendorInfo()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
DVendorInfo.java29 public VendorInfo(Resources resources, int vendor_info_id) { in VendorInfo()
/frameworks/base/core/java/android/service/autofill/
DAutofillServiceInfo.java122 final Resources resources = context.getPackageManager().getResourcesForApplication( in AutofillServiceInfo() local
156 Resources resources) throws IOException, XmlPullParserException { in parseCompatibilityPackages()
/frameworks/base/core/java/android/webkit/
DPermissionRequest.java92 public abstract void grant(String[] resources); in grant()

1234567