Home
last modified time | relevance | path

Searched refs:shareButton (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingNamePreference.java73 ImageButton shareButton = (ImageButton) holder.findViewById(R.id.button_icon); in onBindViewHolder() local
79 if (shareButton != null && divider != null) { in onBindViewHolder()
81 configureVisibleStateForQrCodeIcon(shareButton, divider); in onBindViewHolder()
83 configureInvisibleStateForQrCodeIcon(shareButton, divider); in onBindViewHolder()
90 private void configureVisibleStateForQrCodeIcon(ImageButton shareButton, View divider) { in configureVisibleStateForQrCodeIcon() argument
92 shareButton.setVisibility(View.VISIBLE); in configureVisibleStateForQrCodeIcon()
93 shareButton.setImageDrawable(getContext().getDrawable(R.drawable.ic_qrcode_24dp)); in configureVisibleStateForQrCodeIcon()
94 shareButton.setOnClickListener(unused -> launchAudioSharingQrCodeFragment()); in configureVisibleStateForQrCodeIcon()
97 private void configureInvisibleStateForQrCodeIcon(ImageButton shareButton, View divider) { in configureInvisibleStateForQrCodeIcon() argument
99 shareButton.setVisibility(View.INVISIBLE); in configureInvisibleStateForQrCodeIcon()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSsidPreference.java81 final ImageButton shareButton = (ImageButton) holder.findViewById(R.id.button_icon); in onBindViewHolder() local
86 shareButton.setOnClickListener(mClickListener); in onBindViewHolder()
87 shareButton.setVisibility(View.VISIBLE); in onBindViewHolder()
88 shareButton.setContentDescription( in onBindViewHolder()
90 shareButton.setImageDrawable(mShareIconDrawable); in onBindViewHolder()
94 shareButton.setVisibility(View.GONE); in onBindViewHolder()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/
DPreviewActionGroup.kt40 private val shareButton: ToggleButton constant
52 shareButton = requireViewById(R.id.share_button)
88 Action.SHARE -> shareButton in getActionView()
100 Action.SHARE -> shareButton in getActionToggle()
114 shareButton.foreground = null in updateBackgroundColor()
132 shareButton.foreground = in updateBackgroundColor()
/packages/apps/Traceur/uitests/src/com/android/traceur/uitest/
DTraceurAppTests.java363 UiObject2 shareButton = mDevice.wait(Until.findObject( in clickThroughShareSteps() local
365 assertNotNull("Share button not found.", shareButton); in clickThroughShareSteps()
366 shareButton.click(); in clickThroughShareSteps()
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java151 Button shareButton = (Button) findViewById(R.id.button_share); in initializeFooterButtons() local
152 shareButton.setOnClickListener(new OnClickListener() { in initializeFooterButtons()