Home | History | Annotate | Download | only in util

Lines Matching defs:partner

32  * Utilities to discover and interact with partner customizations. There can only be one set of
35 * Derived from com.android.launcher3/Partner.java
37 public class Partner {
38 private static final String TAG = "(SUW) Partner";
40 /** Marker action used to discover partner */
45 private static Partner sPartner;
48 * Convenience to get a drawable from partner overlay, or if not available, the drawable from
59 * Convenience to get a string from partner overlay, or if not available, the string from the
74 * @return a ResourceEntry in the partner overlay's resources, if one is defined. Otherwise the
80 final Partner partner = Partner.get(context);
81 if (partner != null) {
85 final int partnerId = partner.getIdentifier(name, type);
87 return new ResourceEntry(partner.mResources, partnerId, true);
106 * Find and return partner details, or {@code null} if none exists. A partner package is marked
111 public static synchronized Partner get(Context context) {
123 sPartner = new Partner(appInfo.packageName, res);
144 private Partner(String packageName, Resources res) {