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.java217 public void setChannel(@Nullable ProgramSelector sel) { in setChannel() argument
222 if (sel == null) { in setChannel()
224 } else if (!ProgramSelectorExt.isAmFmProgram(sel) in setChannel()
225 || !ProgramSelectorExt.hasId(sel, ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)) { in setChannel()
227 mChannel.setText(ProgramSelectorExt.getDisplayName(sel, 0)); in setChannel()
229 != ProgramType.fromSelector(sel)) { in setChannel()
231 mChannel.setText(ProgramSelectorExt.getDisplayName(sel, 0)); in setChannel()
235 int toFreq = (int) sel.getFirstId(ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY); in setChannel()
243 mDisplayedChannel = sel; in setChannel()
DRadioController.java123 public void tune(ProgramSelector sel) { in tune() argument
124 mAppService.tune(sel); in tune()
159 ProgramSelector sel = info.getSelector(); in onCurrentProgramChanged() local
162 mDisplayController.setChannel(sel); in onCurrentProgramChanged()
176 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.java114 public static @Nullable ProgramType fromSelector(@Nullable ProgramSelector sel) { in fromSelector() argument
115 if (sel == null) return null; in fromSelector()
117 int priType = sel.getPrimaryId().getType(); in fromSelector()
121 if (!ProgramSelectorExt.isAmFmProgram(sel)) return null; in fromSelector()
124 if (!ProgramSelectorExt.hasId(sel, ProgramSelector.IDENTIFIER_TYPE_AMFM_FREQUENCY)) { in fromSelector()
129 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.java214 ProgramSelector sel = mRadioStorage.getRecentlySelected(pt); in tuneToDefault()
215 if (sel != null) { in tuneToDefault()
216 Log.i(TAG, "Restoring recently selected program: " + sel); in tuneToDefault()
217 mRadioTuner.tune(sel, tuneCb); in tuneToDefault()
286 public void tune(ProgramSelector sel, ITuneCallback callback) {
293 mRadioTuner.tune(sel, tuneCb.alsoCall(
DRadioAppServiceWrapper.java302 public void tune(@NonNull ProgramSelector sel) { in tune() argument
303 tune(sel, null); in tune()
309 public void tune(@NonNull ProgramSelector sel, @Nullable TuneCallback result) { in tune() argument
310 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.java150 public void setRecentlySelected(@NonNull ProgramSelector sel) { in setRecentlySelected() argument
151 ProgramType pt = ProgramType.fromSelector(sel); in setRecentlySelected()
158 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.java98 public void removeFavorite(@NonNull ProgramSelector sel) { in removeFavorite() argument
99 favoriteDao().delete(sel.getPrimaryId()); in removeFavorite()
/packages/inputmethods/LatinIME/dictionaries/
Dtr_wordlist.combined.gz
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.gz
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dpt_PT_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...

12