Lines Matching refs:mDigits
160 ResizingTextEditText mDigits; field in EmergencyDialer
249 mDigits.getText().clear(); in afterTextChanged()
287 mDigits = (ResizingTextEditText) findViewById(R.id.digits); in onCreate()
288 mDigits.setKeyListener(DialerKeyListener.getInstance()); in onCreate()
289 mDigits.setOnClickListener(this); in onCreate()
290 mDigits.setOnKeyListener(this); in onCreate()
291 mDigits.setLongClickable(false); in onCreate()
292 mDigits.setInputType(InputType.TYPE_NULL); in onCreate()
293 mDefaultDigitsTextSize = mDigits.getScaledTextSize(); in onCreate()
339 mDigits.setText(number); in onCreate()
412 mDigits.addTextChangedListener(this); in onPostCreate()
446 if (TextUtils.isEmpty(mDigits.getText().toString())) { in onKeyDown()
462 mDigits.performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY); in keyPressed()
464 mDigits.onKeyDown(keyCode, event); in keyPressed()
525 if (mDigits.length() != 0) { in onClick()
526 mDigits.setCursorVisible(true); in onClick()
530 mDigits.getText().clear(); in onClick()
599 mDigits.getText().clear(); in onLongClick()
709 mLastNumber = mDigits.getText().toString(); in placeCall()
753 mDigits.getText().delete(0, mDigits.getText().length()); in placeCall()
872 final boolean notEmpty = mDigits.length() != 0; in updateDialAndDeleteButtonStateEnabledAttr()
882 final int currentPosition = mDigits.getSelectionStart(); in removePreviousDigitIfPossible()
884 mDigits.setSelection(currentPosition); in removePreviousDigitIfPossible()
885 mDigits.getText().delete(currentPosition - 1, currentPosition); in removePreviousDigitIfPossible()
893 for (Object o : mDigits.getText().getSpans(0, mDigits.getText().length(), TtsSpan.class)) { in updateTtsSpans()
894 mDigits.getText().removeSpan(o); in updateTtsSpans()
896 PhoneNumberUtils.ttsSpanAsPhoneNumber(mDigits.getText(), 0, mDigits.getText().length()); in updateTtsSpans()
936 mDigits.setHint(R.string.dial_emergency_calling_not_available); in maybeShowWfcEmergencyCallingWarning()
939 mDigits.setHint(""); in maybeShowWfcEmergencyCallingWarning()
953 if (TextUtils.isEmpty(mDigits.getHint()) in maybeChangeHintSize()
954 || !TextUtils.isEmpty(mDigits.getText().toString())) { in maybeChangeHintSize()
956 mDigits.setTextSize(TypedValue.COMPLEX_UNIT_SP, mDefaultDigitsTextSize); in maybeChangeHintSize()
959 mDigits.setResizeEnabled(true); in maybeChangeHintSize()
960 Log.i(LOG_TAG, "no hint - setting to " + mDigits.getScaledTextSize()); in maybeChangeHintSize()
963 mDigits.setTextSize(TypedValue.COMPLEX_UNIT_PX, getResources().getDimensionPixelSize( in maybeChangeHintSize()
966 mDigits.setResizeEnabled(false); in maybeChangeHintSize()
967 Log.i(LOG_TAG, "hint - setting to " + mDigits.getScaledTextSize()); in maybeChangeHintSize()