Searched defs:resources (Results 1 - 25 of 71) sorted by last modified time

123

/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/
H A DWifiWakeupHelper.java112 Resources resources,
117 mResources = resources;
110 WifiWakeupHelper( Context context, Resources resources, Handler handler, NotificationManager notificationManager, WifiManager wifiManager) argument
H A DWifiWakeupNetworkSelector.java48 Resources resources,
51 resources.getInteger(R.integer.config_netrec_wifi_score_low_rssi_threshold_24GHz);
53 resources.getInteger(R.integer.config_netrec_wifi_score_low_rssi_threshold_5GHz);
54 mRssiScoreSlope = resources.getInteger(R.integer.config_netrec_RSSI_SCORE_SLOPE);
55 mRssiScoreOffset = resources.getInteger(R.integer.config_netrec_RSSI_SCORE_OFFSET);
57 resources.getInteger(R.integer.config_netrec_PASSPOINT_SECURITY_AWARD);
58 mSecurityAward = resources.getInteger(R.integer.config_netrec_SECURITY_AWARD);
59 mBand5GHzAward = resources.getInteger(R.integer.config_netrec_5GHz_preference_boost_factor);
61 resources.getInteger(R.integer.config_netrec_wifi_score_good_rssi_threshold_24GHz);
47 WifiWakeupNetworkSelector( Resources resources, SynchronousNetworkRecommendationProvider networkRecommendationProvider) argument
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DRingtonePickerActivity.java634 LocalizedCursor(Cursor cursor, Resources resources, String columnLabel) { argument
637 mResources = resources;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java3491 Resources resources = getContext().getResources();
3495 resources = pm.getResourcesForApplication(resPackage);
3505 String labelResource = getResourceName(resources, "string", labelResourceId);
3510 String iconResource = getResourceName(resources, "drawable", iconResourceId);
3584 private String getResourceName(Resources resources, String expectedType, Integer resourceId) { argument
3591 final String resourceEntryName = resources.getResourceEntryName(resourceId);
3592 final String resourceTypeName = resources.getResourceTypeName(resourceId);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardLayoutSet.java151 public static int getScriptId(final Resources resources, argument
155 final int scriptId = Builder.readScriptId(resources, subtype);
341 static int readScriptId(final Resources resources, final InputMethodSubtype subtype) { argument
344 final int xmlId = getXmlId(resources, layoutSetName);
345 final XmlResourceParser parser = resources.getXml(xmlId);
353 return readScriptIdFromTagFeature(resources, parser);
365 private static int readScriptIdFromTagFeature(final Resources resources, argument
367 final TypedArray featureAttr = resources.obtainAttributes(Xml.asAttributeSet(parser),
393 private static int getXmlId(final Resources resources, final String keyboardLayoutSetName) { argument
394 final String packageName = resources
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DEmojiAltPhysicalKeyDetector.java123 public EmojiAltPhysicalKeyDetector(@Nonnull final Resources resources) { argument
127 resources, R.array.keyboard_switcher_emoji);
138 resources, R.array.keyboard_switcher_symbols_shifted);
186 @Nonnull final Resources resources, final int resourceId) {
188 final String name = resources.getResourceEntryName(resourceId);
189 final String[] values = resources.getStringArray(resourceId);
185 parseHotKeys( @onnull final Resources resources, final int resourceId) argument
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
H A DInputStreamProvider.java245 public static InputStreamProvider fromResource(final Resources resources, final int resId) { argument
249 return new BufferedInputStream(resources.openRawResource(resId));
/packages/apps/UnifiedEmail/src/com/android/mail/print/
H A DPrintUtils.java226 private static String renderEmailList(Resources resources, String[] emails, argument
240 formattedEmails[i] = resources.getString(R.string.address_print_display_format,
245 return TextUtils.join(resources.getString(R.string.enumeration_comma), formattedEmails);
252 Context context, Resources resources, Message message) {
271 .append(resources.getQuantityString(
251 renderAttachments( Context context, Resources resources, Message message) argument
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DConversationViewUtils.java26 public static void setTextZoom(Resources resources, WebSettings settings) { argument
27 final float fontScale = resources.getConfiguration().fontScale;
28 final int desiredFontSizePx = resources.getInteger(
30 final int unstyledFontSizePx = resources.getInteger(
H A DVeiledAddressMatcher.java117 public static final VeiledAddressMatcher newInstance(Resources resources) { argument
119 instance.mVeiledMatchingEnabled = resources.getBoolean(VEILED_MATCHING_ENABLED);
121 instance.loadPattern(resources.getString(VEILED_RESOURCE));
128 * values of the veiled address pattern and the value is read once from resources.
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
H A DByResource.java28 * Creates a BySelector for the {@code resId} from {@code resources}
32 public static BySelector id(Resources resources, int resId) { argument
33 String id = resources.getResourceName(resId);
38 * Creates a BySelector for the text of {@code stringRes} from {@code resources}.
42 public static BySelector text(Resources resources, int stringRes) { argument
43 String text = resources.getString(stringRes);
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DToggleAutoclickPreferenceFragment.java72 * @param resources Resources from which string should be retrieved.
75 static CharSequence getAutoclickPreferenceSummary(Resources resources, int delay) { argument
77 return resources.getQuantityString(
/packages/apps/Settings/src/com/android/settings/development/
H A DDevelopmentSettings.java1807 Resources resources = null;
1824 resources = getResources();
1828 if (resources == null) {
1855 summaries = resources.getStringArray(R.array.bluetooth_a2dp_codec_summaries);
1856 streaming = resources.getString(R.string.bluetooth_select_a2dp_codec_streaming_label, summaries[index]);
1882 summaries = resources.getStringArray(R.array.bluetooth_a2dp_codec_sample_rate_summaries);
1883 streaming = resources.getString(R.string.bluetooth_select_a2dp_codec_streaming_label, summaries[index]);
1904 summaries = resources.getStringArray(R.array.bluetooth_a2dp_codec_bits_per_sample_summaries);
1905 streaming = resources.getString(R.string.bluetooth_select_a2dp_codec_streaming_label, summaries[index]);
1923 summaries = resources
2523 showKeyguardConfirmation(Resources resources, int requestCode) argument
[all...]
/packages/apps/Settings/src/com/android/settings/enterprise/
H A DEnterprisePrivacyFeatureProviderImpl.java53 Resources resources) {
59 mResources = resources;
51 EnterprisePrivacyFeatureProviderImpl(Context context, DevicePolicyManagerWrapper dpm, PackageManagerWrapper pm, UserManager um, ConnectivityManagerWrapper cm, Resources resources) argument
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DAppButtonsPreferenceController.java561 boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo packageInfo) { argument
562 return Utils.isSystemPackage(resources, pm, packageInfo);
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
H A DInstalledAppDetailsTest.java548 public static boolean isSystemPackage(Resources resources, PackageManager pm, argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DUtil.java49 Resources resources = packageContext.getResources();
50 return getResourceUri(resources, packageContext.getPackageName(), res);
59 Resources resources = context.getPackageManager().getResourcesForApplication(appInfo);
60 return getResourceUri(resources, appInfo.packageName, res);
70 private static Uri getResourceUri(Resources resources, String appPkg, int res) argument
72 String resPkg = resources.getResourcePackageName(res);
73 String type = resources.getResourceTypeName(res);
74 String name = resources.getResourceEntryName(res);
/packages/apps/PackageInstaller/src/android/support/wearable/view/
H A DWearableDialogHelper.java57 * @param resources the Resources used to obtain Drawables from resource IDs.
60 public WearableDialogHelper(@NonNull Resources resources, @NonNull Resources.Theme theme) { argument
61 mResources = resources;
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DBitmapPool.java179 * @param resources Application resources. Cannot be null.
187 @NonNull final Resources resources, @NonNull final BitmapFactory.Options optionsTmp,
189 Assert.notNull(resources);
196 b = BitmapFactory.decodeResource(resources, resourceId, optionsTmp);
201 b = BitmapFactory.decodeResource(resources, resourceId, optionsTmp);
186 decodeSampledBitmapFromResource(final int resourceId, @NonNull final Resources resources, @NonNull final BitmapFactory.Options optionsTmp, final int width, final int height) argument
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DDecodedImageResource.java136 public Drawable getDrawable(Resources resources) { argument
140 return OrientedBitmapDrawable.create(getOrientation(), resources, mBitmap);
H A DEncodedImageResource.java93 public Drawable getDrawable(Resources resources) { argument
H A DGifImageResource.java57 public Drawable getDrawable(Resources resources) { argument
H A DImageResource.java37 public abstract Drawable getDrawable(Resources resources); argument

Completed in 2156 milliseconds

123