Searched refs:mToggle (Results 1 – 8 of 8) sorted by relevance
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | BottomSheetWithFab.java | 35 private Button mToggle; field in BottomSheetWithFab 41 mToggle.setEnabled(false); 59 mToggle = findViewById(R.id.toggle); in onCreate() 60 mToggle.setOnClickListener(mOnClickListener); in onCreate() 67 mToggle.setText(R.string.bottomsheet_show); in onCreate() 68 mToggle.setEnabled(true); in onCreate() 72 mToggle.setText(R.string.bottomsheet_hide); in onCreate() 73 mToggle.setEnabled(true); in onCreate()
|
D | BottomSheetHideable.java | 37 private Button mToggle; field in BottomSheetHideable 48 mToggle = findViewById(R.id.toggle); in onCreate() 49 mToggle.setOnClickListener(mOnClickListener); in onCreate() 56 mToggle.setText(R.string.bottomsheet_show); in onCreate() 57 mToggle.setEnabled(true); in onCreate() 61 mToggle.setText(R.string.bottomsheet_hide); in onCreate() 62 mToggle.setEnabled(true); in onCreate() 78 mToggle.setEnabled(false);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | ToggleSliderView.java | 39 private CompoundButton mToggle; field in ToggleSliderView 63 mToggle = findViewById(R.id.toggle); in ToggleSliderView() 64 mToggle.setOnCheckedChangeListener(mCheckListener); in ToggleSliderView() 80 mMirror.setChecked(mToggle.isChecked()); in setMirror() 104 mToggle.setChecked(checked); in setChecked() 109 return mToggle.isChecked(); in isChecked() 149 mMirror.mToggle.setChecked(checked); 159 ToggleSliderView.this, mTracking, mToggle.isChecked(), progress, false); 168 mListener.onChanged(ToggleSliderView.this, mTracking, mToggle.isChecked(), 172 mToggle.setChecked(false); [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | CirclePropActivity.java | 62 private boolean mToggle = false; field in CirclePropActivity.CircleView 103 mToggle = !mToggle; in performClick() 106 mX, mToggle ? 400.0f : 200.0f)); in performClick() 109 mY, mToggle ? 600.0f : 200.0f)); in performClick() 112 mRadius, mToggle ? 250.0f : 150.0f)); in performClick() 116 mToggle ? 5.0f : 60.0f)); in performClick() 137 if (mToggle) { in performClick()
|
D | MovingSurfaceViewActivity.java | 39 int mToggle = 0; field in MovingSurfaceViewActivity.MySurfaceView 44 mToggle = (mToggle + 1) % 4; in MySurfaceView() 45 mSlow = (mToggle & 0x2) != 0; in MySurfaceView() 46 mScaled = (mToggle & 0x1) != 0; in MySurfaceView()
|
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/ |
D | TestActivity.java | 26 boolean mToggle; field in TestActivity 31 if (mToggle) { 39 mToggle = ! mToggle;
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.h | 117 mPos(0), mToggle(0), mAutoPaused(false), mMuted(false) {} in SoundChannel() 155 unsigned long mToggle; variable
|
D | SoundPool.cpp | 785 unsigned long toggle = mToggle ^ 1; in play() 811 mToggle = toggle; in play() 888 if (mToggle != toggle) { in process()
|