/frameworks/base/core/tests/coretests/src/android/view/ |
D | Visibility.java | 51 View.OnClickListener mVisibleListener = new View.OnClickListener() { 57 View.OnClickListener mInvisibleListener = new View.OnClickListener() { 63 View.OnClickListener mGoneListener = new View.OnClickListener() {
|
D | VisibilityCallback.java | 59 View.OnClickListener mVisibleListener = new View.OnClickListener() { 65 View.OnClickListener mInvisibleListener = new View.OnClickListener() { 71 View.OnClickListener mGoneListener = new View.OnClickListener() {
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | SendResult.java | 27 import android.view.View.OnClickListener; 59 private OnClickListener mCorkyListener = new OnClickListener() 70 private OnClickListener mVioletListener = new OnClickListener()
|
D | FragmentAlertDialogSupport.java | 30 import android.view.View.OnClickListener; 49 button.setOnClickListener(new OnClickListener() { in onCreate() 93 new DialogInterface.OnClickListener() { in onCreateDialog() 100 new DialogInterface.OnClickListener() { in onCreateDialog()
|
D | FragmentReceiveResultSupport.java | 29 import android.view.View.OnClickListener; 64 private OnClickListener mGetListener = new OnClickListener() { 73 private OnClickListener mIntentSenderListener = new OnClickListener() {
|
D | FragmentStackFragmentSupport.java | 26 import android.view.View.OnClickListener; 55 button.setOnClickListener(new OnClickListener() { in onCreateView() 61 button.setOnClickListener(new OnClickListener() { in onCreateView() 67 button.setOnClickListener(new OnClickListener() { in onCreateView()
|
/frameworks/base/core/java/android/app/ |
D | AlertDialog.java | 321 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() 362 public void setButton(CharSequence text, final OnClickListener listener) { in setButton() 375 public void setButton2(CharSequence text, final OnClickListener listener) { in setButton2() 388 public void setButton3(CharSequence text, final OnClickListener listener) { in setButton3() 609 public Builder setPositiveButton(@StringRes int textId, final OnClickListener listener) { in setPositiveButton() 622 public Builder setPositiveButton(CharSequence text, final OnClickListener listener) { in setPositiveButton() 635 public Builder setNegativeButton(@StringRes int textId, final OnClickListener listener) { in setNegativeButton() 648 public Builder setNegativeButton(CharSequence text, final OnClickListener listener) { in setNegativeButton() 661 public Builder setNeutralButton(@StringRes int textId, final OnClickListener listener) { in setNeutralButton() 674 public Builder setNeutralButton(CharSequence text, final OnClickListener listener) { in setNeutralButton() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AlertDialog.java | 222 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton() 451 public Builder setPositiveButton(@StringRes int textId, final OnClickListener listener) { in setPositiveButton() 464 public Builder setPositiveButton(CharSequence text, final OnClickListener listener) { in setPositiveButton() 477 public Builder setNegativeButton(@StringRes int textId, final OnClickListener listener) { in setNegativeButton() 490 public Builder setNegativeButton(CharSequence text, final OnClickListener listener) { in setNegativeButton() 503 public Builder setNeutralButton(@StringRes int textId, final OnClickListener listener) { in setNeutralButton() 516 public Builder setNeutralButton(CharSequence text, final OnClickListener listener) { in setNeutralButton() 579 public Builder setItems(@ArrayRes int itemsId, final OnClickListener listener) { in setItems() 591 public Builder setItems(CharSequence[] items, final OnClickListener listener) { in setItems() 607 public Builder setAdapter(final ListAdapter adapter, final OnClickListener listener) { in setAdapter() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | HeavyWeightSwitcherActivity.java | 34 import android.view.View.OnClickListener; 122 private OnClickListener mSwitchOldListener = new OnClickListener() { 132 private OnClickListener mSwitchNewListener = new OnClickListener() { 153 private OnClickListener mCancelListener = new OnClickListener() {
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | VoiceInteractionMain.java | 53 View.OnClickListener mStartListener = new View.OnClickListener() { 59 View.OnClickListener mSecureListener = new View.OnClickListener() {
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | FocusAfterRemoval.java | 42 topLeftButton.setOnClickListener(new View.OnClickListener() { in onCreate() 52 bottomLeftButton.setOnClickListener(new View.OnClickListener() { in onCreate() 61 topRightButton.setOnClickListener(new View.OnClickListener() { in onCreate() 70 bottomRightButton.setOnClickListener(new View.OnClickListener() { in onCreate()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | MediaController.java | 54 private View.OnClickListener mNextListener, mPrevListener; 243 private View.OnClickListener mPauseListener = new View.OnClickListener() { 324 private View.OnClickListener mRewListener = new View.OnClickListener() { 333 private View.OnClickListener mFfwdListener = new View.OnClickListener() { 354 public void setPrevNextListeners(View.OnClickListener next, View.OnClickListener prev) { in setPrevNextListeners()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EffectsTest.java | 26 import android.view.View.OnClickListener; 53 button.setOnClickListener(new OnClickListener() { in onCreate() 60 button.setOnClickListener(new OnClickListener() { in onCreate() 67 button.setOnClickListener(new OnClickListener() { in onCreate() 74 button.setOnClickListener(new OnClickListener() { in onCreate() 81 button.setOnClickListener(new OnClickListener() { in onCreate() 88 button.setOnClickListener(new OnClickListener() { in onCreate()
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | BottomNavigationViewUsage.java | 45 buttonDisable.setOnClickListener(new View.OnClickListener() { in onCreate() 52 buttonAdd.setOnClickListener(new View.OnClickListener() { in onCreate() 62 buttonRemove.setOnClickListener(new View.OnClickListener() { in onCreate() 69 buttonTint.setOnClickListener(new View.OnClickListener() { in onCreate() 80 buttonNext.setOnClickListener(new View.OnClickListener() { in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
D | RequestRectangleVisible.java | 58 findViewById(R.id.scrollToRectFromTop).setOnClickListener(new View.OnClickListener() { in onCreate() 66 findViewById(R.id.scrollToRectFromTop2).setOnClickListener(new View.OnClickListener() { in onCreate() 74 findViewById(R.id.scrollToRectFromBottom).setOnClickListener(new View.OnClickListener() { in onCreate() 82 findViewById(R.id.scrollToRectFromBottom2).setOnClickListener(new View.OnClickListener() { in onCreate()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ManualActivity.java | 26 import android.view.View.OnClickListener; 118 ((ImageButton) findViewById(R.id.next)).setOnClickListener(new OnClickListener() { in onCreate() 126 ((ImageButton) findViewById(R.id.previous)).setOnClickListener(new OnClickListener() { in onCreate() 135 .setOnClickListener(new OnClickListener() { in onCreate() 143 .setOnClickListener(new OnClickListener() { in onCreate() 150 ((Button) findViewById(R.id.show_error_heatmap)).setOnClickListener(new OnClickListener() { in onCreate()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ButtonItem.java | 33 public class ButtonItem extends AbstractItem implements View.OnClickListener { 35 public interface OnClickListener { interface in ButtonItem 42 private OnClickListener mListener; 59 public void setOnClickListener(OnClickListener listener) { in setOnClickListener()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
D | LocalServiceBroadcaster.java | 34 import android.view.View.OnClickListener; 97 private OnClickListener mStartListener = new OnClickListener() { 103 private OnClickListener mStopListener = new OnClickListener() {
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/ |
D | LinkSpan.java | 52 public interface OnClickListener { interface in LinkSpan 67 if (context instanceof OnClickListener) { in onClick() 68 ((OnClickListener) context).onClick(this); in onClick()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | LLOfTwoFocusableInTouchMode.java | 49 mButton1.setOnClickListener(new View.OnClickListener() { in onCreate() 55 mButton2.setOnClickListener(new View.OnClickListener() { in onCreate() 61 mButton3.setOnClickListener(new View.OnClickListener() { in onCreate()
|
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/ |
D | FrameSequenceTest.java | 66 findViewById(R.id.start).setOnClickListener(new View.OnClickListener() { in onCreate() 72 findViewById(R.id.stop).setOnClickListener(new View.OnClickListener() { in onCreate() 78 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() { in onCreate() 84 findViewById(R.id.invis).setOnClickListener(new View.OnClickListener() { in onCreate()
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/ |
D | ui-events.jd | 49 …<dd>從 {@link android.view.View.OnClickListener}。使用者輕觸項目 (處於輕觸模式時),或將焦點放在具有導覽鍵或軌跡球的項目上,然後按適當的 "ente… 79 …etOnClickListener(View.OnClickListener) setOnClickListener()}</code>,將您的 {@link android.view.View.… 85 // Create an anonymous implementation of OnClickListener 86 private OnClickListener mCorkyListener = new OnClickListener() { 102 <p>您也會發現在 Activity 中實作 OnClickListener 會更為方便。這樣可避免額外的類別載入和物件配置。 105 public class ExampleActivity extends Activity implements OnClickListener { 112 // Implement the OnClickListener callback
|
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/ |
D | ui-events.jd | 49 …<dd>{@link android.view.View.OnClickListener} のメソッド。ユーザーがアイテムをタップしたとき(タッチモードの場合)、またはナビゲーション キーまたはト… 78 …tOnClickListener(View.OnClickListener) setOnClickListener()}</code> を呼び出し、{@link android.view.View… 85 // Create an anonymous implementation of OnClickListener 86 private OnClickListener mCorkyListener = new OnClickListener() { 102 <p>OnClickListener をアクティビティの一部として実装すると、余分なクラスのロードとオブジェクトの割り当てを避けることができます。 105 public class ExampleActivity extends Activity implements OnClickListener { 112 // Implement the OnClickListener callback
|
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/ |
D | ui-events.jd | 49 <dd>Из объекта {@link android.view.View.OnClickListener}. 79 <code>{@link android.view.View#setOnClickListener(View.OnClickListener) setOnClickListener()}</code> 80 и передайте ему свою реализацию {@link android.view.View.OnClickListener OnClickListener}.)</p> 85 // Create an anonymous implementation of OnClickListener 86 private OnClickListener mCorkyListener = new OnClickListener() { 102 <p>Возможно, еще удобнее реализовать OnClickListener как часть вашей операции. 105 public class ExampleActivity extends Activity implements OnClickListener { 112 // Implement the OnClickListener callback
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/ |
D | ui-events.jd | 49 <dd>{@link android.view.View.OnClickListener}에서 온 것입니다. 79 <code>{@link android.view.View#setOnClickListener(View.OnClickListener) setOnClickListener()}</code… 80 호출한 다음 이를 {@link android.view.View.OnClickListener OnClickListener}의 구현에 전달합니다).</p> 85 // Create an anonymous implementation of OnClickListener 86 private OnClickListener mCorkyListener = new OnClickListener() { 102 <p>OnClickListener를 액티비티의 일부로 구현하는 것이 더 편리할 수도 있습니다. 105 public class ExampleActivity extends Activity implements OnClickListener { 112 // Implement the OnClickListener callback
|