/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 91 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/ |
D | DisplayWhiteBalanceFactory.java | 58 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/ |
D | ResourcesLocaleTest.java | 36 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
|
D | ResourcesDrawableTest.java | 44 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/ |
D | GestureLauncherService.java | 150 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/ |
D | IResourceManagerService.cpp | 79 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/ |
D | ScreenDecorationsUtils.java | 33 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/ |
D | AdaptiveIconShapeDrawable.java | 41 public AdaptiveIconShapeDrawable(Resources resources) { in AdaptiveIconShapeDrawable() 53 private void init(Resources resources) { in init()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | Partner.java | 120 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/ |
D | ScreenShapeHelper.java | 16 public static int getWindowOutsetBottomPx(Resources resources) { in getWindowOutsetBottomPx()
|
/frameworks/base/core/java/android/content/res/ |
D | FontResourcesParser.java | 133 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()
|
D | DrawableCache.java | 41 public Drawable getInstance(long key, Resources resources, Resources.Theme theme) { in getInstance()
|
D | ConfigurationBoundResourceCache.java | 43 public T getInstance(long key, Resources resources, Resources.Theme theme) { in getInstance()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ResourceModifiers.java | 60 public static void init(Resources resources) { in init() 64 public ResourceModifiers(Resources resources) { in ResourceModifiers()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptC.java | 57 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/ |
D | AdaptiveOutlineDrawableTest.java | 36 final Resources resources = RuntimeEnvironment.application.getResources(); in constructor_initPaint() local
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptC.java | 59 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/ |
D | FingerprintGestureDispatcher.java | 56 Resources resources, Object lock) { in FingerprintGestureDispatcher() 70 Resources resources, Object lock, Handler handler) { in FingerprintGestureDispatcher()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | PointerIcon_Delegate.java | 27 /*package*/ static void loadResource(PointerIcon icon, Context context, Resources resources, in loadResource()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerUITest.java | 151 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/ |
D | ResourceManagerService.cpp | 74 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/ |
D | VendorInfo.java | 30 public VendorInfo(Resources resources, int vendor_info_id) { in VendorInfo()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
D | VendorInfo.java | 29 public VendorInfo(Resources resources, int vendor_info_id) { in VendorInfo()
|
/frameworks/base/core/java/android/service/autofill/ |
D | AutofillServiceInfo.java | 122 final Resources resources = context.getPackageManager().getResourcesForApplication( in AutofillServiceInfo() local 156 Resources resources) throws IOException, XmlPullParserException { in parseCompatibilityPackages()
|
/frameworks/base/core/java/android/webkit/ |
D | PermissionRequest.java | 92 public abstract void grant(String[] resources); in grant()
|