Home
last modified time | relevance | path

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

123456

/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/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/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/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/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/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/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()
DLoyaltyCardReader.java122 int v; in ByteArrayToHexString() local
124 v = bytes[j] & 0xFF; in ByteArrayToHexString()
125 hexChars[j * 2] = hexArray[v >>> 4]; in ByteArrayToHexString()
126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; 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()
DCardEmulationFragment.java45 View v = inflater.inflate(R.layout.main_fragment, container, false); in onCreateView() local
46 EditText account = (EditText) v.findViewById(R.id.card_account_field); in onCreateView()
49 return v; in onCreateView()
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
DImageDetailFragment.java78 final View v = inflater.inflate(R.layout.image_detail_fragment, container, false); in onCreateView() local
79 mImageView = (ImageView) v.findViewById(R.id.imageView); in onCreateView()
80 mProgressBar = (ProgressBar) v.findViewById(R.id.progressbar); in onCreateView()
81 return v; in onCreateView()
DImageGridFragment.java96 final View v = inflater.inflate(R.layout.image_grid_fragment, container, false); in onCreateView() local
97 final GridView mGridView = (GridView) v.findViewById(R.id.gridView); in onCreateView()
152 return v; in onCreateView()
178 public void onItemClick(AdapterView<?> parent, View v, int position, long id) { in onItemClick() argument
186 ActivityOptions.makeScaleUpAnimation(v, 0, 0, v.getWidth(), v.getHeight()); in onItemClick()
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/
DUtils.java40 Vibrator v = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in vibrate() local
41 v.vibrate(duration); in vibrate()
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
DMainActivity.java316 public void onClick(View v) { in onCreate()
329 public void onClick(View v) { in onCreate()
655 final View v; in getView() local
657 v = getLayoutInflater().inflate(R.layout.media_item, null); in getView()
659 v = convertView; in getView()
664 TextView tv = (TextView) v.findViewById(R.id.item_text); in getView()
667 ImageButton b = (ImageButton) v.findViewById(R.id.item_action); in getView()
672 public void onClick(View v) { in getView()
681 return v; in getView()
692 final View v; in getView() local
[all …]
/developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/
DMainActivity.java45 public void onClick(View v) {
46 switch (v.getId()) {
/developers/samples/android/ui/actionbar/DoneBar/Application/src/main/java/com/example/android/donebar/
DDoneBarActivity.java43 public void onClick(View v) { in onCreate()
51 public void onClick(View v) { in onCreate()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/simple/
DDebugService.java161 Log.v(TAG, "Setting hint '" + hint + "' on " + id); in addAutofillableFields()
164 Log.v(TAG, "Ignoring hint '" + hint + "' on " + id in addAutofillableFields()
193 Log.v(TAG, "No hint using view hint: " + viewHint); in getHint()
202 Log.v(TAG, "No hint using resourceId: " + resourceId); in getHint()
216 Log.v(TAG, "No hint using text: " + text + " and class " + className); in getHint()
232 Log.v(TAG, "Ignoring 'label/container' hint: " + hint); in inferHint()
249 Log.v(TAG, "Falling back to " + actualHint); in inferHint()
/developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
DMyCloudProvider.java94 Log.v(TAG, "onCreate"); in onCreate()
106 Log.v(TAG, "queryRoots"); in queryRoots()
156 Log.v(TAG, "queryRecentDocuments"); in queryRecentDocuments()
208 Log.v(TAG, "querySearchDocuments"); in querySearchDocuments()
249 Log.v(TAG, "openDocumentThumbnail"); in openDocumentThumbnail()
262 Log.v(TAG, "queryDocument"); in queryDocument()
275 Log.v(TAG, "queryChildDocuments, parentDocumentId: " + in queryChildDocuments()
295 Log.v(TAG, "openDocument, mode: " + mode); in openDocument()
335 Log.v(TAG, "createDocument");
354 Log.v(TAG, "deleteDocument");
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DDeviceListActivity.java81 public void onClick(View v) { in onCreate()
83 v.setVisibility(View.GONE); in onCreate()
169 public void onItemClick(AdapterView<?> av, View v, int arg2, long arg3) {
174 String info = ((TextView) v).getText().toString();
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/
DUtil.java97 Log.v(TAG, "dumpStructure(): component=" + structure.getActivityComponent() in dumpStructure()
100 Log.v(TAG, "node #" + i); in dumpStructure()
147 Log.v(TAG, builder.toString()); in dumpNode()
150 Log.v(TAG, prefix + "child #" + i); in dumpNode()
/developers/samples/android/ui/window/MultiWindowPlayground/Application/src/main/java/com/example/android/common/logger/
DLog.java92 public static void v(String tag, String msg, Throwable tr) { in v() method in Log
102 public static void v(String tag, String msg) { in v() method in Log
103 v(tag, msg, null); in v()
/developers/samples/android/common/src/java/com/example/android/common/logger/
DLog.java90 public static void v(String tag, String msg, Throwable tr) { in v() method in Log
100 public static void v(String tag, String msg) { in v() method in Log
101 v(tag, msg, null); in v()

123456