Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
DCustomAdapter.java42 public ViewHolder(View v) { in ViewHolder() argument
43 super(v); in ViewHolder()
45 v.setOnClickListener(new View.OnClickListener() { in ViewHolder()
47 public void onClick(View v) { in ViewHolder()
51 textView = (TextView) v.findViewById(R.id.textView); in ViewHolder()
74 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder() local
77 return new ViewHolder(v); in onCreateViewHolder()
/developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
DCustomAdapter.java42 public ViewHolder(View v) { in ViewHolder() argument
43 super(v); in ViewHolder()
45 v.setOnClickListener(new View.OnClickListener() { in ViewHolder()
47 public void onClick(View v) { in ViewHolder()
51 textView = (TextView) v.findViewById(R.id.textView); in ViewHolder()
74 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder() local
77 return new ViewHolder(v); in onCreateViewHolder()
/developers/samples/android/ui/views/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/
DCustomAdapter.kt40 class ViewHolder(v: View) : RecyclerView.ViewHolder(v) {
45 v.setOnClickListener { Log.d(TAG, "Element $adapterPosition clicked.") } in <lambda>()
46 textView = v.findViewById(R.id.textView)
53 val v = LayoutInflater.from(viewGroup.context) in onCreateViewHolder() constant
56 return ViewHolder(v) in onCreateViewHolder()
/developers/build/prebuilts/gradle/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/
DCustomAdapter.kt40 class ViewHolder(v: View) : RecyclerView.ViewHolder(v) {
45 v.setOnClickListener { Log.d(TAG, "Element $adapterPosition clicked.") } in <lambda>()
46 textView = v.findViewById(R.id.textView)
53 val v = LayoutInflater.from(viewGroup.context) in onCreateViewHolder() constant
56 return ViewHolder(v) in onCreateViewHolder()
/developers/samples/android/content/documentsUi/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/
DDirectoryEntryAdapter.java45 public ViewHolder(View v) { in ViewHolder() argument
46 super(v); in ViewHolder()
47 mFileName = (TextView) v.findViewById(R.id.textview_filename); in ViewHolder()
48 mMimeType = (TextView) v.findViewById(R.id.textview_mimetype); in ViewHolder()
49 mImageView = (ImageView) v.findViewById(R.id.entry_image); in ViewHolder()
76 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder() local
78 return new ViewHolder(v); in onCreateViewHolder()
/developers/samples/android/system/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
DUsageListAdapter.java48 public ViewHolder(View v) { in ViewHolder() argument
49 super(v); in ViewHolder()
50 mPackageName = (TextView) v.findViewById(R.id.textview_package_name); in ViewHolder()
51 mLastTimeUsed = (TextView) v.findViewById(R.id.textview_last_time_used); in ViewHolder()
52 mAppIcon = (ImageView) v.findViewById(R.id.app_icon); in ViewHolder()
73 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder() local
75 return new ViewHolder(v); in onCreateViewHolder()
/developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
DDirectoryEntryAdapter.java31 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder() local
33 return new ViewHolder(v); in onCreateViewHolder()
67 public ViewHolder(View v) { in ViewHolder() argument
68 super(v); in ViewHolder()
69 fileName = (TextView) v.findViewById(R.id.textview_filename); in ViewHolder()
70 mimeType = (TextView) v.findViewById(R.id.textview_mimetype); in ViewHolder()
71 imageView = (ImageView) v.findViewById(R.id.imageview_entry); in ViewHolder()
/developers/build/prebuilts/gradle/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
DUsageListAdapter.java48 public ViewHolder(View v) { in ViewHolder() argument
49 super(v); in ViewHolder()
50 mPackageName = (TextView) v.findViewById(R.id.textview_package_name); in ViewHolder()
51 mLastTimeUsed = (TextView) v.findViewById(R.id.textview_last_time_used); in ViewHolder()
52 mAppIcon = (ImageView) v.findViewById(R.id.app_icon); in ViewHolder()
73 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder() local
75 return new ViewHolder(v); in onCreateViewHolder()
/developers/build/prebuilts/gradle/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/
DDirectoryEntryAdapter.java44 public ViewHolder(View v) { in ViewHolder() argument
45 super(v); in ViewHolder()
46 mFileName = (TextView) v.findViewById(R.id.textview_filename); in ViewHolder()
47 mMimeType = (TextView) v.findViewById(R.id.textview_mimetype); in ViewHolder()
48 mImageView = (ImageView) v.findViewById(R.id.entry_image); in ViewHolder()
75 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder() local
77 return new ViewHolder(v); in onCreateViewHolder()
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
DDirectoryEntryAdapter.java31 View v = LayoutInflater.from(viewGroup.getContext()) in onCreateViewHolder() local
33 return new ViewHolder(v); in onCreateViewHolder()
67 public ViewHolder(View v) { in ViewHolder() argument
68 super(v); in ViewHolder()
69 fileName = (TextView) v.findViewById(R.id.textview_filename); in ViewHolder()
70 mimeType = (TextView) v.findViewById(R.id.textview_mimetype); in ViewHolder()
71 imageView = (ImageView) v.findViewById(R.id.imageview_entry); in ViewHolder()
/developers/samples/android/security/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/
DFingerprintAuthenticationDialogFragment.java75 View v = inflater.inflate(R.layout.fingerprint_dialog_container, container, false); in onCreateView() local
76 mCancelButton = (Button) v.findViewById(R.id.cancel_button); in onCreateView()
84 mSecondDialogButton = (Button) v.findViewById(R.id.second_dialog_button); in onCreateView()
95 mFingerprintContent = v.findViewById(R.id.fingerprint_container); in onCreateView()
96 mBackupContent = v.findViewById(R.id.backup_container); in onCreateView()
97 mPassword = (EditText) v.findViewById(R.id.password); in onCreateView()
99 mPasswordDescriptionTextView = (TextView) v.findViewById(R.id.password_description); in onCreateView()
101 v.findViewById(R.id.use_fingerprint_in_future_check); in onCreateView()
103 v.findViewById(R.id.new_fingerprint_enrolled_description); in onCreateView()
106 (ImageView) v.findViewById(R.id.fingerprint_icon), in onCreateView()
[all …]
/developers/build/prebuilts/gradle/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/
DFingerprintAuthenticationDialogFragment.java75 View v = inflater.inflate(R.layout.fingerprint_dialog_container, container, false); in onCreateView() local
76 mCancelButton = (Button) v.findViewById(R.id.cancel_button); in onCreateView()
84 mSecondDialogButton = (Button) v.findViewById(R.id.second_dialog_button); in onCreateView()
95 mFingerprintContent = v.findViewById(R.id.fingerprint_container); in onCreateView()
96 mBackupContent = v.findViewById(R.id.backup_container); in onCreateView()
97 mPassword = (EditText) v.findViewById(R.id.password); in onCreateView()
99 mPasswordDescriptionTextView = (TextView) v.findViewById(R.id.password_description); in onCreateView()
101 v.findViewById(R.id.use_fingerprint_in_future_check); in onCreateView()
103 v.findViewById(R.id.new_fingerprint_enrolled_description); in onCreateView()
106 (ImageView) v.findViewById(R.id.fingerprint_icon), in onCreateView()
[all …]
/developers/samples/android/ui/views/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/
DPlanetAdapter.java47 public ViewHolder(TextView v) { in ViewHolder() argument
48 super(v); in ViewHolder()
49 mTextView = v; in ViewHolder()
61 View v = vi.inflate(R.layout.drawer_list_item, parent, false); in onCreateViewHolder() local
62 TextView tv = (TextView) v.findViewById(android.R.id.text1); in onCreateViewHolder()
/developers/build/prebuilts/gradle/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/
DPlanetAdapter.java47 public ViewHolder(TextView v) { in ViewHolder() argument
48 super(v); in ViewHolder()
49 mTextView = v; in ViewHolder()
61 View v = vi.inflate(R.layout.drawer_list_item, parent, false); in onCreateViewHolder() local
62 TextView tv = (TextView) v.findViewById(android.R.id.text1); in onCreateViewHolder()
/developers/samples/android/ui/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/
DDrawableTintingFragment.java165 View v = inflater.inflate(R.layout.tinting_fragment, null); in onCreateView() local
168 mImage = (ImageView) v.findViewById(R.id.image); in onCreateView()
172 mAlphaBar = (SeekBar) v.findViewById(R.id.alphaSeek); in onCreateView()
173 mAlphaText = (TextView) v.findViewById(R.id.alphaText); in onCreateView()
174 mGreenBar = (SeekBar) v.findViewById(R.id.greenSeek); in onCreateView()
175 mGreenText = (TextView) v.findViewById(R.id.greenText); in onCreateView()
176 mRedBar = (SeekBar) v.findViewById(R.id.redSeek); in onCreateView()
177 mRedText = (TextView) v.findViewById(R.id.redText); in onCreateView()
178 mBlueText = (TextView) v.findViewById(R.id.blueText); in onCreateView()
179 mBlueBar = (SeekBar) v.findViewById(R.id.blueSeek); in onCreateView()
[all …]
/developers/build/prebuilts/gradle/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/
DDrawableTintingFragment.java165 View v = inflater.inflate(R.layout.tinting_fragment, null); in onCreateView() local
168 mImage = (ImageView) v.findViewById(R.id.image); in onCreateView()
172 mAlphaBar = (SeekBar) v.findViewById(R.id.alphaSeek); in onCreateView()
173 mAlphaText = (TextView) v.findViewById(R.id.alphaText); in onCreateView()
174 mGreenBar = (SeekBar) v.findViewById(R.id.greenSeek); in onCreateView()
175 mGreenText = (TextView) v.findViewById(R.id.greenText); in onCreateView()
176 mRedBar = (SeekBar) v.findViewById(R.id.redSeek); in onCreateView()
177 mRedText = (TextView) v.findViewById(R.id.redText); in onCreateView()
178 mBlueText = (TextView) v.findViewById(R.id.blueText); in onCreateView()
179 mBlueBar = (SeekBar) v.findViewById(R.id.blueSeek); in onCreateView()
[all …]
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/commoncases/
DCreditCardDatePickerActivity.java49 public void onClick(View v) { in onCreate()
55 public void onClick(View v) { in onCreate()
73 public void showDatePickerDialog(View v) { in showDatePickerDialog() argument
74 if (v != mCcExpDateView) { in showDatePickerDialog()
75 Log.w(TAG, "showDatePickerDialog() called on invalid view: " + v); in showDatePickerDialog()
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/commoncases/
DCreditCardDatePickerActivity.java49 public void onClick(View v) { in onCreate()
55 public void onClick(View v) { in onCreate()
73 public void showDatePickerDialog(View v) { in showDatePickerDialog() argument
74 if (v != mCcExpDateView) { in showDatePickerDialog()
75 Log.w(TAG, "showDatePickerDialog() called on invalid view: " + v); in showDatePickerDialog()
/developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/
DFingerprintAuthenticationDialogFragment.java100 View v = inflater.inflate(R.layout.fingerprint_dialog_container, container, false); in onCreateView() local
101 mCancelButton = (Button) v.findViewById(R.id.cancel_button); in onCreateView()
109 mSecondDialogButton = (Button) v.findViewById(R.id.second_dialog_button); in onCreateView()
120 mFingerprintContent = v.findViewById(R.id.fingerprint_container); in onCreateView()
121 mBackupContent = v.findViewById(R.id.backup_container); in onCreateView()
122 mPassword = (EditText) v.findViewById(R.id.password); in onCreateView()
124 mPasswordDescriptionTextView = (TextView) v.findViewById(R.id.password_description); in onCreateView()
126 v.findViewById(R.id.use_fingerprint_in_future_check); in onCreateView()
128 v.findViewById(R.id.new_fingerprint_enrolled_description); in onCreateView()
130 (ImageView) v.findViewById(R.id.fingerprint_icon), in onCreateView()
[all …]
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/
DFingerprintAuthenticationDialogFragment.java100 View v = inflater.inflate(R.layout.fingerprint_dialog_container, container, false); in onCreateView() local
101 mCancelButton = (Button) v.findViewById(R.id.cancel_button); in onCreateView()
109 mSecondDialogButton = (Button) v.findViewById(R.id.second_dialog_button); in onCreateView()
120 mFingerprintContent = v.findViewById(R.id.fingerprint_container); in onCreateView()
121 mBackupContent = v.findViewById(R.id.backup_container); in onCreateView()
122 mPassword = (EditText) v.findViewById(R.id.password); in onCreateView()
124 mPasswordDescriptionTextView = (TextView) v.findViewById(R.id.password_description); in onCreateView()
126 v.findViewById(R.id.use_fingerprint_in_future_check); in onCreateView()
128 v.findViewById(R.id.new_fingerprint_enrolled_description); in onCreateView()
130 (ImageView) v.findViewById(R.id.fingerprint_icon), in onCreateView()
[all …]
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/
DDeviceListFragment.java93 public void onListItemClick(ListView l, View v, int position, long id) { in onListItemClick() argument
119 View v = convertView; in getView() local
120 if (v == null) { in getView()
123 v = vi.inflate(R.layout.row_devices, null); in getView()
127 TextView top = (TextView) v.findViewById(R.id.device_name); in getView()
128 TextView bottom = (TextView) v.findViewById(R.id.device_details); in getView()
137 return v; in getView()
/developers/samples/android/connectivity/nfc/CardReader/Application/src/main/java/com/example/android/cardreader/
DCardReaderFragment.java54 View v = inflater.inflate(R.layout.main_fragment, container, false); in onCreateView() local
55 if (v != null) { in onCreateView()
56 mAccountField = (TextView) v.findViewById(R.id.card_account_field); in onCreateView()
65 return v; in onCreateView()
/developers/build/prebuilts/gradle/CardReader/Application/src/main/java/com/example/android/cardreader/
DCardReaderFragment.java54 View v = inflater.inflate(R.layout.main_fragment, container, false); in onCreateView() local
55 if (v != null) { in onCreateView()
56 mAccountField = (TextView) v.findViewById(R.id.card_account_field); in onCreateView()
65 return v; in onCreateView()
/developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
DCardService.java122 int v; in ByteArrayToHexString() local
124 v = bytes[j] & 0xFF; // Cast bytes[j] to int, treating as unsigned value in ByteArrayToHexString()
125 hexChars[j * 2] = hexArray[v >>> 4]; // Select hex character from upper nibble in ByteArrayToHexString()
126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; // Select hex character from lower nibble in ByteArrayToHexString()
/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
DCardService.java122 int v; in ByteArrayToHexString() local
124 v = bytes[j] & 0xFF; // Cast bytes[j] to int, treating as unsigned value in ByteArrayToHexString()
125 hexChars[j * 2] = hexArray[v >>> 4]; // Select hex character from upper nibble in ByteArrayToHexString()
126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; // Select hex character from lower nibble in ByteArrayToHexString()

12345678910>>...13