Home
last modified time | relevance | path

Searched refs:sel (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramSelectorExt.java227 public static boolean hasId(@NonNull ProgramSelector sel, in hasId() argument
230 sel.getFirstId(type); in hasId()
246 public static boolean isAmFmProgram(@NonNull ProgramSelector sel) { in isAmFmProgram() argument
247 int priType = sel.getPrimaryId().getType(); in isAmFmProgram()
262 public static @Nullable String getDisplayName(@NonNull ProgramSelector sel, in getDisplayName() argument
266 if (isAmFmProgram(sel)) { in getDisplayName()
267 if (!hasId(sel, ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)) { in getDisplayName()
272 long freq = sel.getFirstId(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY); in getDisplayName()
278 if (sel.getPrimaryId().getType() == ProgramSelector.IDENTIFIER_TYPE_SXM_SERVICE_ID in getDisplayName()
279 && hasId(sel, ProgramSelector.IDENTIFIER_TYPE_SXM_CHANNEL)) { in getDisplayName()
[all …]
DProgramInfoExt.java88 ProgramSelector sel = info.getSelector(); in getProgramName()
91 if (ProgramSelectorExt.isAmFmProgram(sel)) { in getProgramName()
99 String selName = ProgramSelectorExt.getDisplayName(sel, flags); in getProgramName()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/media/
DBrowseTree.java169 String mediaId, String title, ProgramSelector sel, Bitmap icon) { in createChild() argument
172 .setMediaUri(ProgramSelectorExt.toUri(sel)) in createChild()
279 ProgramSelector sel = program.getSelector(); in getPrograms() local
280 String mediaId = selectorToMediaId(sel); in getPrograms()
281 mProgramSelectors.put(mediaId, sel); in getPrograms()
336 ProgramSelector sel = fav.getSelector(); in getFavorites() local
337 String mediaId = selectorToMediaId(sel); in getFavorites()
338 mProgramSelectors.putIfAbsent(mediaId, sel); // prefer program list entries in getFavorites()
339 mFavoritesCache.add(createChild(dbld, mediaId, fav.getName(), sel, fav.getIcon())); in getFavorites()
430 ProgramSelector sel = ProgramSelectorExt.createAmFmSelector(ch); in getChannels() local
[all …]
/packages/apps/Car/Radio/src/com/android/car/radio/
DDisplayController.java213 public void setChannel(@Nullable ProgramSelector sel) { in setChannel() argument
218 if (sel == null) { in setChannel()
220 } else if (!ProgramSelectorExt.isAmFmProgram(sel) in setChannel()
221 || !ProgramSelectorExt.hasId(sel, ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)) { in setChannel()
223 mChannel.setText(ProgramSelectorExt.getDisplayName(sel, 0)); in setChannel()
225 != ProgramType.fromSelector(sel)) { in setChannel()
227 mChannel.setText(ProgramSelectorExt.getDisplayName(sel, 0)); in setChannel()
231 int toFreq = (int) sel.getFirstId(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY); in setChannel()
239 mDisplayedChannel = sel; in setChannel()
DRadioController.java123 public void tune(ProgramSelector sel) { in tune() argument
124 mAppService.tune(sel); in tune()
166 ProgramSelector sel = info.getSelector(); in onCurrentProgramChanged() local
169 mDisplayController.setChannel(sel); in onCurrentProgramChanged()
183 mDisplayController.setCurrentIsFavorite(mRadioStorage.isFavorite(sel)); in onCurrentProgramChanged()
DProgramViewHolder.java116 ProgramSelector sel = program.getSelector(); in bindPreset() local
118 sel, ProgramSelectorExt.NAME_NO_MODULATION)); in bindPreset()
DManualTunerController.java53 void onDone(@NonNull ProgramSelector sel); in onDone() argument
/packages/apps/Car/Radio/src/com/android/car/radio/bands/
DProgramType.java121 public static @Nullable ProgramType fromSelector(@Nullable ProgramSelector sel) { in fromSelector() argument
122 if (sel == null) return null; in fromSelector()
124 int priType = sel.getPrimaryId().getType(); in fromSelector()
128 if (!ProgramSelectorExt.isAmFmProgram(sel)) return null; in fromSelector()
131 if (!ProgramSelectorExt.hasId(sel, ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)) { in fromSelector()
136 long freq = sel.getFirstId(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY); in fromSelector()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java581 int sel = mCurrentSelection; in onKeyDown() local
582 if (sel != INDEX_NONE) { in onKeyDown()
585 if (sel != mCount - 1 && (sel % mColumns < mColumns - 1)) { in onKeyDown()
586 sel += 1; in onKeyDown()
590 if (sel > 0 && (sel % mColumns != 0)) { in onKeyDown()
591 sel -= 1; in onKeyDown()
595 if (sel >= mColumns) { in onKeyDown()
596 sel -= mColumns; in onKeyDown()
600 sel = Math.min(mCount - 1, sel + mColumns); in onKeyDown()
626 sel = topPos; in onKeyDown()
[all …]
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppService.java223 ProgramSelector sel = mRadioStorage.getRecentlySelected(pt); in tuneToDefault()
224 if (sel != null) { in tuneToDefault()
225 Log.i(TAG, "Restoring recently selected program: " + sel); in tuneToDefault()
227 mRadioTuner.tune(sel, tuneCb); in tuneToDefault()
229 Log.e(TAG, "Can't restore recently selected program: " + sel, e); in tuneToDefault()
308 public void tune(ProgramSelector sel, ITuneCallback callback) {
315 mRadioTuner.tune(sel, tuneCb.alsoCall(
DRadioAppServiceWrapper.java303 public void tune(@NonNull ProgramSelector sel) { in tune() argument
304 tune(sel, null); in tune()
310 public void tune(@NonNull ProgramSelector sel, @Nullable TuneCallback result) { in tune() argument
311 callService(service -> service.tune(sel, new TuneCallbackAdapter(result))); in tune()
DIRadioAppService.aidl47 void tune(in ProgramSelector sel, in ITuneCallback callback); in tune() argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorGridDialog.java40 Button sel = (Button) findViewById(R.id.filtershow_cp_custom); in ColorGridDialog() local
46 if (!button.equals(sel)){ in ColorGridDialog()
64 sel.setOnClickListener(new View.OnClickListener() { in ColorGridDialog()
/packages/apps/Car/Radio/src/com/android/car/radio/storage/
DRadioStorage.java153 public void setRecentlySelected(@NonNull ProgramSelector sel) { in setRecentlySelected() argument
154 ProgramType pt = ProgramType.fromSelector(sel); in setRecentlySelected()
161 Uri selUri = ProgramSelectorExt.toUri(sel); in setRecentlySelected()
DProgramSelectorConverter.java38 public static String toString(@NonNull ProgramSelector sel) { in toString() argument
39 return ProgramSelectorExt.toUri(sel).toString(); in toString()
DRadioDatabase.java100 public void removeFavorite(@NonNull ProgramSelector sel) { in removeFavorite() argument
101 favoriteDao().delete(sel.getPrimaryId()); in removeFavorite()
/packages/inputmethods/LatinIME/dictionaries/
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...

12