Home
last modified time | relevance | path

Searched refs:Switch (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/preference/
DSwitchPreference.java26 import android.widget.Switch;
127 if (checkableView instanceof Switch) { in onBindView()
128 final Switch switchView = (Switch) checkableView; in onBindView()
134 if (checkableView instanceof Switch) { in onBindView()
135 final Switch switchView = (Switch) checkableView; in onBindView()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DSwitchBindingAdapter.java23 import android.widget.Switch;
26 …@BindingMethod(type = android.widget.Switch.class, attribute = "android:thumb", method = "setThumb…
27 …@BindingMethod(type = android.widget.Switch.class, attribute = "android:track", method = "setTrack…
33 public static void setSwitchTextAppearance(Switch view, int value) { in setSwitchTextAppearance()
/frameworks/support/v14/preference/src/android/support/v14/preference/
DSwitchPreference.java29 import android.widget.Switch;
225 if (view instanceof Switch) { in syncSwitchView()
226 final Switch switchView = (Switch) view; in syncSwitchView()
232 if (view instanceof Switch) { in syncSwitchView()
233 final Switch switchView = (Switch) view; in syncSwitchView()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModeDialog.java29 import android.widget.Switch;
35 final Switch mCompatEnabled;
51 mCompatEnabled = (Switch)findViewById(com.android.internal.R.id.compat_checkbox); in CompatModeDialog()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DSwitchBindingAdapterTest.java23 import android.widget.Switch;
28 Switch mView;
/frameworks/base/core/java/android/widget/
DSwitch.java79 public class Switch extends CompoundButton { class
169 public Switch(Context context) { in Switch() method in Switch
180 public Switch(Context context, AttributeSet attrs) { in Switch() method in Switch
194 public Switch(Context context, AttributeSet attrs, int defStyleAttr) { in Switch() method in Switch
215 public Switch(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in Switch() method in Switch
225 attrs, com.android.internal.R.styleable.Switch, defStyleAttr, defStyleRes); in Switch()
1393 return Switch.class.getName(); in getAccessibilityClassName()
1432 private static final FloatProperty<Switch> THUMB_POS = new FloatProperty<Switch>("thumbPos") {
1434 public Float get(Switch object) {
1439 public void setValue(Switch object, float value) {
/frameworks/base/docs/html/guide/topics/ui/controls/
Dtogglebutton.jd16 <li>{@link android.widget.Switch}</li>
26 provides a slider control, which you can add with a {@link android.widget.Switch} object.</p>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarHeaderView.java38 import android.widget.Switch;
82 private Switch mQsDetailHeaderSwitch;
154 mQsDetailHeaderSwitch = (Switch) mQsDetailHeader.findViewById(android.R.id.toggle); in onFinishInflate()
/frameworks/base/docs/html/training/backward-compatible-ui/
Dolder-implementation.jd51 <p>{@link android.widget.NumberPicker} and {@link android.widget.Switch} widgets can be implemented…
/frameworks/base/docs/html/design/handhelds/
Dindex.jd58 <p>Switch to an app by touching it. Remove an item by swiping left or right.</p>
/frameworks/base/docs/html/design/material/
Dindex.jd152 Switch between activities with custom <strong>activity transition</strong> animations.
/frameworks/base/docs/html/training/location/
Dlocation-testing.jd207 Switch from normal mode to mock mode, run through the test data once, switch back to
214 Switch from normal mode to mock mode, then run through the test data indefinitely. The
/frameworks/base/services/core/java/com/android/server/
DInputMethodManagerService.java124 import android.widget.Switch;
1928 final Switch hardKeySwitch = (Switch)mSwitchingDialogTitleView.findViewById( in updateKeyboardFromSettingsLocked()
3083 final Switch hardKeySwitch = (Switch) mSwitchingDialogTitleView.findViewById( in showInputMethodMenu()
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Dbadges.jd140 /** Switch the badge urls for selected language */
/frameworks/base/docs/html/distribute/tools/promote/
Dbadges.jd159 /** Switch the badge urls for selected language */
/frameworks/base/docs/html/tools/help/
Demulator.jd91 <td>Switch to previous layout orientation (for example, portrait, landscape)</td>
95 <td>Switch to next layout orientation (for example, portrait, landscape)</td>
Dsystrace.jd48 <li>Switch to the DDMS perspective, by selecting <strong>Window &gt; Perspectives &gt;
/frameworks/base/docs/html/tools/debugging/
Ddebugging-memory.jd749 <li>Switch to the <em>Compare Basket</em> view and click <strong>Compare the Results</strong>
772 <li>Switch between your app and another app while in different activity states (navigate to
/frameworks/base/docs/html/distribute/essentials/quality/
Dcore.jd957 Switch to another app to send the test app into the background. Go to
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp1174 case Instruction::Switch: in WriteInstruction()
/frameworks/base/docs/html/about/versions/
Dandroid-5.0-changes.jd195 <p>The {@link android.media.RemoteControlClient} class is now deprecated. Switch
Dandroid-4.0.jd1293 <h4>Switch widget</h4>
1295 <p>The new {@link android.widget.Switch} widget is a two-state toggle that users can drag to one
1328 android.preference.TwoStatePreference} that provides a {@link android.widget.Switch} widget in the
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt222 NO DOC BLOCK: android.widget.Switch Constructor (android.content.Context, android.util.AttributeSet…
556 NO DOC BLOCK: android.widget.Switch Method getShowText()
561 NO DOC BLOCK: android.widget.Switch Method getSplitTrack()
945 NO DOC BLOCK: android.widget.Switch Method setShowText(boolean)
949 NO DOC BLOCK: android.widget.Switch Method setSplitTrack(boolean)
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp1173 case Instruction::Switch: in WriteInstruction()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp1214 case Instruction::Switch: in WriteInstruction()

12