Loading InCallUI/src/com/android/incallui/CallCardFragment.java +3 −7 Original line number Diff line number Diff line Loading @@ -21,11 +21,7 @@ import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.LayoutTransition; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.animation.ValueAnimator.AnimatorUpdateListener; import android.app.Activity; import android.content.Context; import android.content.res.Configuration; import android.graphics.drawable.AnimationDrawable; import android.graphics.drawable.Drawable; import android.graphics.drawable.GradientDrawable; Loading Loading @@ -431,7 +427,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr mPrimaryName.setText(null); } else { mPrimaryName.setText(nameIsNumber ? PhoneNumberUtils.getPhoneTtsSpannable(name) ? PhoneNumberUtils.createTtsSpannable(name) : name); // Set direction of the name field Loading @@ -457,7 +453,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr mPhoneNumber.setText(null); mPhoneNumber.setVisibility(View.GONE); } else { mPhoneNumber.setText(PhoneNumberUtils.getPhoneTtsSpannable(number)); mPhoneNumber.setText(PhoneNumberUtils.createTtsSpannable(number)); mPhoneNumber.setVisibility(View.VISIBLE); mPhoneNumber.setTextDirection(View.TEXT_DIRECTION_LTR); } Loading Loading @@ -515,7 +511,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr mSecondaryCallVideoCallIcon.setVisibility(isVideoCall ? View.VISIBLE : View.GONE); mSecondaryCallName.setText(nameIsNumber ? PhoneNumberUtils.getPhoneTtsSpannable(name) ? PhoneNumberUtils.createTtsSpannable(name) : name); if (hasProvider) { mSecondaryCallProviderLabel.setText(providerLabel); Loading InCallUI/src/com/android/incallui/ConferenceParticipantListAdapter.java +1 −1 Original line number Diff line number Diff line Loading @@ -418,7 +418,7 @@ public class ConferenceParticipantListAdapter extends BaseAdapter { numberTypeTextView.setVisibility(View.GONE); } else { numberTextView.setVisibility(View.VISIBLE); numberTextView.setText(PhoneNumberUtils.getPhoneTtsSpannable(callerNumber)); numberTextView.setText(PhoneNumberUtils.createTtsSpannable(callerNumber)); numberTypeTextView.setVisibility(View.VISIBLE); numberTypeTextView.setText(callerNumberType); } Loading InCallUI/src/com/android/incallui/DialpadFragment.java +1 −1 Original line number Diff line number Diff line Loading @@ -483,7 +483,7 @@ public class DialpadFragment extends BaseFragment<DialpadPresenter, DialpadPrese * @param text Text to set Dialpad EditText to. */ public void setDtmfText(String text) { mDtmfDialerField.setText(PhoneNumberUtils.getPhoneTtsSpannable(text)); mDtmfDialerField.setText(PhoneNumberUtils.createTtsSpannable(text)); } @Override Loading Loading
InCallUI/src/com/android/incallui/CallCardFragment.java +3 −7 Original line number Diff line number Diff line Loading @@ -21,11 +21,7 @@ import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.LayoutTransition; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.animation.ValueAnimator.AnimatorUpdateListener; import android.app.Activity; import android.content.Context; import android.content.res.Configuration; import android.graphics.drawable.AnimationDrawable; import android.graphics.drawable.Drawable; import android.graphics.drawable.GradientDrawable; Loading Loading @@ -431,7 +427,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr mPrimaryName.setText(null); } else { mPrimaryName.setText(nameIsNumber ? PhoneNumberUtils.getPhoneTtsSpannable(name) ? PhoneNumberUtils.createTtsSpannable(name) : name); // Set direction of the name field Loading @@ -457,7 +453,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr mPhoneNumber.setText(null); mPhoneNumber.setVisibility(View.GONE); } else { mPhoneNumber.setText(PhoneNumberUtils.getPhoneTtsSpannable(number)); mPhoneNumber.setText(PhoneNumberUtils.createTtsSpannable(number)); mPhoneNumber.setVisibility(View.VISIBLE); mPhoneNumber.setTextDirection(View.TEXT_DIRECTION_LTR); } Loading Loading @@ -515,7 +511,7 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr mSecondaryCallVideoCallIcon.setVisibility(isVideoCall ? View.VISIBLE : View.GONE); mSecondaryCallName.setText(nameIsNumber ? PhoneNumberUtils.getPhoneTtsSpannable(name) ? PhoneNumberUtils.createTtsSpannable(name) : name); if (hasProvider) { mSecondaryCallProviderLabel.setText(providerLabel); Loading
InCallUI/src/com/android/incallui/ConferenceParticipantListAdapter.java +1 −1 Original line number Diff line number Diff line Loading @@ -418,7 +418,7 @@ public class ConferenceParticipantListAdapter extends BaseAdapter { numberTypeTextView.setVisibility(View.GONE); } else { numberTextView.setVisibility(View.VISIBLE); numberTextView.setText(PhoneNumberUtils.getPhoneTtsSpannable(callerNumber)); numberTextView.setText(PhoneNumberUtils.createTtsSpannable(callerNumber)); numberTypeTextView.setVisibility(View.VISIBLE); numberTypeTextView.setText(callerNumberType); } Loading
InCallUI/src/com/android/incallui/DialpadFragment.java +1 −1 Original line number Diff line number Diff line Loading @@ -483,7 +483,7 @@ public class DialpadFragment extends BaseFragment<DialpadPresenter, DialpadPrese * @param text Text to set Dialpad EditText to. */ public void setDtmfText(String text) { mDtmfDialerField.setText(PhoneNumberUtils.getPhoneTtsSpannable(text)); mDtmfDialerField.setText(PhoneNumberUtils.createTtsSpannable(text)); } @Override Loading