Home
last modified time | relevance | path

Searched refs:cardNumber (Results 1 – 3 of 3) sorted by relevance

/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/
DWizardNewPaymentStepFragment.java82 CharSequence cardNumber = findActionById(ACTION_ID_CARD_NUMBER).getDescription(); in onGuidedActionClicked() local
84 WizardExample2ndStepFragment.sCards.add(cardNumber.toString()); in onGuidedActionClicked()
97 CharSequence cardNumber = action.getEditTitle(); in onGuidedActionEditedAndProceed() local
98 cardNumberCheck = isCardNumberValid(cardNumber); in onGuidedActionEditedAndProceed()
103 String last4Digits = cardNumber.subSequence(cardNumber.length() - 4, in onGuidedActionEditedAndProceed()
104 cardNumber.length()).toString(); in onGuidedActionEditedAndProceed()
114 } else if (cardNumber.length() == 0) { in onGuidedActionEditedAndProceed()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DGuidedStepSupportActivity.java260 String cardNumber = desc.subSequence(desc.length() - 4, desc.length()).toString(); in onGuidedActionClicked() local
262 if ((Integer.parseInt(cardNumber) & 1) == 0) { in onGuidedActionClicked()
263 card = "Visa "+cardNumber; in onGuidedActionClicked()
265 card = "Master "+cardNumber; in onGuidedActionClicked()
DGuidedStepActivity.java258 String cardNumber = desc.subSequence(desc.length() - 4, desc.length()).toString(); in onGuidedActionClicked() local
260 if ((Integer.parseInt(cardNumber) & 1) == 0) { in onGuidedActionClicked()
261 card = "Visa "+cardNumber; in onGuidedActionClicked()
263 card = "Master "+cardNumber; in onGuidedActionClicked()