Home
last modified time | relevance | path

Searched refs:newAdapterState (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DToolbarControllerAdapterV1.java430 private void update(ToolbarAdapterState newAdapterState) { in update() argument
432 mAdapterState = newAdapterState; in update()
434 if (!TextUtils.equals(newAdapterState.getShownTitle(), oldAdapterState.getShownTitle())) { in update()
435 mOemToolbar.setTitle(newAdapterState.getTitle()); in update()
437 if (!TextUtils.equals(newAdapterState.getShownSubtitle(), in update()
439 mOemToolbar.setSubtitle(newAdapterState.getSubtitle()); in update()
444 if (newAdapterState.getShownLogo() != oldAdapterState.getShownLogo()) { in update()
445 mOemToolbar.setLogo(newAdapterState.getShownLogo()); in update()
446 } else if (newAdapterState.getShownLogo() != null && newAdapterState.getLogoDirty()) { in update()
447 mOemToolbar.setLogo(newAdapterState.getShownLogo()); in update()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java683 int newAdapterState = convertToAdapterState(state); in sendConnectionStateChange() local
685 setConnectionState(newAdapterState); in sendConnectionStateChange()
689 intent.putExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE, newAdapterState); in sendConnectionStateChange()
693 + " -> " + newAdapterState); in sendConnectionStateChange()