Home
last modified time | relevance | path

Searched refs:mMenuEntries (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DMainActivity.java30 private final List<MenuEntry> mMenuEntries = new ArrayList<MenuEntry>() { field in MainActivity
52 mMenuEntries.get(0).onClick(); in onCreate()
54 findViewById(R.id.offcar_test_btn).setOnClickListener((v) -> mMenuEntries.get(0).onClick()); in onCreate()
56 (v) -> mMenuEntries.get(1).onClick()); in onCreate()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/
DMainActivity.java33 private final List<MenuEntry> mMenuEntries = field in MainActivity
56 mMenuEntries.get(0).onClick(); in onCreate()
58 findViewById(R.id.manager_btn).setOnClickListener((v) -> mMenuEntries.get(0).onClick()); in onCreate()
60 .setOnClickListener((v) -> mMenuEntries.get(1).onClick()); in onCreate()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/
DMDTest.java112 private final List<MenuEntry> mMenuEntries = Arrays.asList( field in MDTest
167 holder.mTitle.setText(mMenuEntries.get(position).getText()); in onBindViewHolder()
168 holder.mTitle.setOnClickListener(v -> mMenuEntries.get(position).onClick()); in onBindViewHolder()
173 return mMenuEntries.size(); in getItemCount()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkActivity.java295 private final List<MenuEntry> mMenuEntries = new ArrayList<>(); field in KitchenSinkActivity
373 mMenuEntries.add(new FragmentMenuEntry(entry.first, entry.second)); in KitchenSinkActivity()
375 mMenuEntries.sort(Comparator.comparing(MenuEntry::getText)); in KitchenSinkActivity()
416 mMenuEntries.stream().filter(me -> select.equals(me.getText())) in onNewIntent()
581 Optional<MenuEntry> entry = mMenuEntries.stream() in dump()
664 holder.mTitle.setText(mMenuEntries.get(position).getText()); in onBindViewHolder()
665 holder.mTitle.setOnClickListener(v -> mMenuEntries.get(position).onClick()); in onBindViewHolder()
670 return mMenuEntries.size(); in getItemCount()