HomeSort by relevance Sort by last modified time
    Searched refs:toggle (Results 1 - 25 of 313) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/widget/
Checkable.java 41 void toggle(); method in interface:Checkable
RadioButton.java 69 * If the radio button is already checked, this method will not toggle the radio button.
72 public void toggle() { method in class:RadioButton
73 // we override to prevent toggle when the radio is already
76 super.toggle();
  /tools/test/connectivity/acts/tests/sample/
RelayDeviceSampleTest.py 77 # This test just spams the toggle on each relay.
79 self.relay_device.relays['BT_Power_Button'].toggle()
80 self.relay_device.relays['BT_Pair'].toggle()
81 self.relay_device.relays['BT_Reset'].toggle()
82 self.relay_device.relays['BT_SomethingElse'].toggle()
93 self.relay_device.relays['BT_Power_Button'].toggle()
94 self.relay_device.relays['BT_Pair'].toggle()
95 self.relay_device.relays['BT_Reset'].toggle()
96 self.relay_device.relays['BT_SomethingElse'].toggle()
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/util/
ConfigViewHolder.java 37 public void bind(ConfigToggle toggle) {
38 mConfigToggle = toggle;
39 mCheckBox.setText(toggle.getText());
40 mCheckBox.setChecked(toggle.isChecked());
  /developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/assets/
sample.js 26 toggle = document.querySelector('#toggle'),
33 toggle.addEventListener('click', function () {
39 toggle.innerText = 'Stop';
53 toggle.innerText = 'Start';
  /developers/samples/android/content/webview/PermissionRequest/Application/src/main/assets/
sample.js 26 toggle = document.querySelector('#toggle'),
33 toggle.addEventListener('click', function () {
39 toggle.innerText = 'Stop';
53 toggle.innerText = 'Start';
  /packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
MasterSwitchPreferenceTest.java 67 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
71 assertThat(toggle.isChecked()).isTrue();
74 assertThat(toggle.isChecked()).isFalse();
83 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
87 assertThat(toggle.isEnabled()).isTrue();
90 assertThat(toggle.isEnabled()).isFalse();
99 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
103 assertThat(toggle.isEnabled()).isFalse();
114 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
118 assertThat(toggle.isChecked()).isTrue()
132 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
165 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
179 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
193 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
    [all...]
  /external/curl/src/
tool_getparam.c 436 bool toggle = TRUE; /* how to switch boolean options, on or off. Controlled local
450 toggle = FALSE;
551 config->disable_epsv = toggle;
554 config->disable_epsv = (!toggle)?TRUE:FALSE;
558 config->writeenv = toggle;
572 config->nonpn = (!toggle)?TRUE:FALSE;
582 config->noalpn = (!toggle)?TRUE:FALSE;
622 if(toggle && !(curlinfo->features & CURL_VERSION_LIBZ))
624 config->encoding = toggle;
628 config->tr_encoding = toggle;
    [all...]
  /development/tools/logblame/
power_toggle_test 4 RAWLOGS_FILE=power-toggle-rawlogs.txt
5 ANALYSIS_FILE=power-toggle-analysis.txt
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCompoundButton.java 25 @Override public void toggle() { method in class:ShadowCompoundButton
31 toggle(); method
ShadowCheckedTextView.java 14 public void toggle() { method in class:ShadowCheckedTextView
  /hardware/intel/common/libmix/videodecoder/
VideoDecoderVP8.h 46 void invalidateReferenceFrames(int toggle);
47 void clearAsReference(int toggle, int ref_type);
  /packages/providers/MediaProvider/src/com/android/providers/media/
CheckedListItem.java 59 public void toggle() { method in class:CheckedListItem
60 getCheckedTextView().toggle();
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ProjectionActivity.java 39 boolean toggle = false;
42 toggle = !toggle;
43 setProject(toggle);
  /external/skia/tools/skiaserve/urlhandlers/
CmdHandler.cpp 54 int n, toggle; local
56 sscanf(commands[2].c_str(), "%d", &toggle);
57 request->fDebugCanvas->toggleCommand(n, SkToBool(toggle));
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/
NavigationDrawerActivity.java 37 ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( local
40 drawer.setDrawerListener(toggle);
41 toggle.syncState();
ClippedListActivity.java 41 ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( local
44 drawer.setDrawerListener(toggle);
45 toggle.syncState();
  /frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
ChangeClipBoundsUsage.java 52 findViewById(R.id.toggle).setOnClickListener(new View.OnClickListener() {
55 toggle();
60 void toggle() { method in class:ChangeClipBoundsUsage
ChangeTransformUsage.java 55 findViewById(R.id.toggle).setOnClickListener(new View.OnClickListener() {
59 toggle();
65 void toggle() { method in class:ChangeTransformUsage
  /external/libopus/src/
opus_demo.c 251 int toggle = 0; local
658 len[toggle] = char_to_int(ch);
659 if (len[toggle]>max_payload_bytes || len[toggle]<0)
661 fprintf(stderr, "Invalid payload length: %d\n",len[toggle]);
665 enc_final_range[toggle] = char_to_int(ch);
666 err = fread(data[toggle], 1, len[toggle], fin);
667 if (err<len[toggle])
671 len[toggle],err)
    [all...]
  /external/skia/src/shaders/gradients/
SkRadialGradient.cpp 92 int count, int toggle);
104 int count, int toggle) {
108 cache[toggle + fi],
109 cache[next_dither_toggle(toggle) + fi],
139 *dstC++ = cache[toggle + fi[i]];
140 toggle = next_dither_toggle(toggle);
150 *dstC++ = cache[toggle + fi[i]];
151 toggle = next_dither_toggle(toggle);
198 int toggle = init_dither_toggle(x, y); local
    [all...]
  /frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
VectorDrawable01.java 63 CheckBox toggle = new CheckBox(this); local
64 toggle.setText("Toggle");
65 toggle.setChecked(true);
66 toggle.setOnCheckedChangeListener(new OnCheckedChangeListener() {
78 container.addView(toggle);
  /external/freetype/src/base/
ftdebug.c 107 /* define array of trace toggle names */
156 /* the available toggle names. */
179 /* read toggle name, followed by ':' */
195 const char* toggle = ft_trace_toggles[n]; local
200 if ( toggle[i] != q[i] )
204 if ( i == len && toggle[i] == 0 )
  /external/pdfium/third_party/freetype/src/base/
ftdebug.c 107 /* define array of trace toggle names */
156 /* the available toggle names. */
179 /* read toggle name, followed by ':' */
195 const char* toggle = ft_trace_toggles[n]; local
200 if ( toggle[i] != q[i] )
204 if ( i == len && toggle[i] == 0 )
  /packages/apps/Car/Settings/src/com/android/car/settings/common/
ToggleLineItem.java 57 viewHolder.toggle.setChecked(isChecked());
64 public final Switch toggle; field in class:ToggleLineItem.ToggleLineItemViewHolder
70 toggle = (Switch) view.findViewById(R.id.toggle_switch);

Completed in 2535 milliseconds

1 2 3 4 5 6 7 8 91011>>