Home
last modified time | relevance | path

Searched refs:facetId (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensPickerUtils.java47 public static String getFacetKey(String facetId) { in getFacetKey() argument
48 return FACET_KEY_PREFIX + facetId; in getFacetKey()
64 public static void launch(Context context, SharedPreferences sharedPrefs, String facetId, in launch() argument
67 editor.putString(LensPickerUtils.getFacetKey(facetId), packageName); in launch()
70 editor.putString(LAST_LAUNCHED_FACET_ID, facetId); in launch()
84 public static void saveLastLaunchedAppInfo(SharedPreferences sharedPrefs, String facetId, in saveLastLaunchedAppInfo() argument
89 editor.putString(LAST_LAUNCHED_FACET_ID, facetId); in saveLastLaunchedAppInfo()
104 String facetId = sharedPrefs.getString(LAST_LAUNCHED_FACET_ID, null); in getLastLaunchedAppInfo() local
108 if (facetId == null || packageName == null || intentString == null) { in getLastLaunchedAppInfo()
112 return new AppLaunchInformation(facetId, packageName, intentString); in getLastLaunchedAppInfo()
[all …]
DLensPickerTrampolineActivity.java72 String facetId = intent.getStringExtra(LensPickerConstants.EXTRA_FACET_ID); in onCreate() local
77 if (TextUtils.isEmpty(facetId)) { in onCreate()
83 String facetKey = LensPickerUtils.getFacetKey(facetId); in onCreate()
107 launchIntent.putExtra(LensPickerConstants.EXTRA_FACET_ID, facetId); in onCreate()
168 String facetId = info.getFacetId(); in maybeRelaunchLastIntent() local
174 + " intentString: %s", facetId, packageName, in maybeRelaunchLastIntent()
191 LensPickerUtils.launch(this /* context */, mSharedPrefs, facetId, packageName, in maybeRelaunchLastIntent()
DLensPickerActivity.java72 String facetId = intent.getStringExtra(LensPickerConstants.EXTRA_FACET_ID); in onResume() local
83 launch(facetId, packageName, launchIntent); in onResume()
91 mPagedListView.setAdapter(new LensPickerAdapter(this, resolveInfos, facetId, in onResume()
202 private void launch(String facetId, String packageName, Intent launchIntent) { in launch() argument
204 mLastLaunchedFacetId = facetId; in launch()
208 LensPickerUtils.launch(this /* context */, mSharedPrefs, facetId, packageName, in launch()
DLensPickerItem.java31 public LensPickerItem(String label, Drawable icon, Intent launchIntent, String facetId) { in LensPickerItem() argument
35 mFacetId = facetId; in LensPickerItem()
DLensPickerAdapter.java55 public LensPickerAdapter(Context context, List<ResolveInfo> rInfo, String facetId, in LensPickerAdapter() argument
62 mFacetId = facetId; in LensPickerAdapter()