Searched refs:newAdapterState (Results 1 – 2 of 2) sorted by relevance
430 private void update(ToolbarAdapterState newAdapterState) { in update() argument432 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 …]
683 int newAdapterState = convertToAdapterState(state); in sendConnectionStateChange() local685 setConnectionState(newAdapterState); in sendConnectionStateChange()689 intent.putExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE, newAdapterState); in sendConnectionStateChange()693 + " -> " + newAdapterState); in sendConnectionStateChange()