HomeSort by relevance Sort by last modified time
    Searched refs:toggle (Results 1 - 25 of 347) 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 76 # This test just spams the toggle on each relay.
78 self.relay_device.relays['BT_Power_Button'].toggle()
79 self.relay_device.relays['BT_Pair'].toggle()
80 self.relay_device.relays['BT_Reset'].toggle()
81 self.relay_device.relays['BT_SomethingElse'].toggle()
92 self.relay_device.relays['BT_Power_Button'].toggle()
93 self.relay_device.relays['BT_Pair'].toggle()
94 self.relay_device.relays['BT_Reset'].toggle()
95 self.relay_device.relays['BT_SomethingElse'].toggle()
  /frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/util/
ConfigViewHolder.java 38 public void bind(ConfigToggle toggle) {
39 mConfigToggle = toggle;
40 mCheckBox.setText(toggle.getText());
41 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 64 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
68 assertThat(toggle.isChecked()).isTrue();
71 assertThat(toggle.isChecked()).isFalse();
80 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
84 assertThat(toggle.isEnabled()).isTrue();
87 assertThat(toggle.isEnabled()).isFalse();
96 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
100 assertThat(toggle.isEnabled()).isFalse();
113 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
117 assertThat(toggle.isChecked()).isTrue()
133 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
166 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
180 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
194 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
    [all...]
  /external/curl/src/
tool_getparam.c 496 bool toggle = TRUE; /* how to switch boolean options, on or off. Controlled local
511 toggle = FALSE;
577 else if((aliases[hit].desc == ARG_NONE) && !toggle)
614 config->disable_epsv = toggle;
617 config->disable_epsv = (!toggle)?TRUE:FALSE;
630 config->nonpn = (!toggle)?TRUE:FALSE;
640 config->noalpn = (!toggle)?TRUE:FALSE;
655 if(toggle && !(curlinfo->features & CURL_VERSION_LIBZ))
657 config->encoding = toggle;
661 config->tr_encoding = toggle;
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
NotificationAppPreferenceTest.java 65 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
69 assertThat(toggle.isChecked()).isTrue();
72 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();
101 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
105 assertThat(toggle.isEnabled()).isFalse();
118 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
122 assertThat(toggle.isChecked()).isTrue()
138 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
174 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
190 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
206 final Switch toggle = (Switch) holder.findViewById(R.id.switchWidget); local
    [all...]
  /development/tools/logblame/
power_toggle_test 4 RAWLOGS_FILE=power-toggle-rawlogs.txt
5 ANALYSIS_FILE=power-toggle-analysis.txt
  /packages/apps/Car/libs/car-list/src/com/android/car/list/
IconToggleLineItem.java 34 * Contains logic for a line item represents title text, description text and a toggle widget.
56 * Interface for changing the state of the switch toggle.
94 viewHolder.toggle.setEnabled(true);
95 viewHolder.toggle.setChecked(isChecked());
97 viewHolder.toggle.setOnTouchListener(mOnTouchListener);
111 public final Switch toggle; field in class:IconToggleLineItem.ViewHolder
118 toggle = (Switch) itemView.findViewById(R.id.toggle_switch);
128 toggle.setChecked(checked);
138 * Called when toggle widget is touched.
  /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/experimental/KBars/app/src/main/java/js/kbars/
TransparencyToggleButton.java 22 TransparencyToggleButton.this.toggle("clicked");
28 private void toggle(String reason) { method in class:TransparencyToggleButton
29 Log.d(KBarsActivity.TAG, "toggle reason=" + reason);
  /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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowCheckedTextViewTest.java 27 checkedTextView.toggle();
44 view.toggle();
46 view.toggle(); // Used to support performClick(), but Android doesn't. Sigh.
  /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));
  /external/skqp/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();
  /frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
ChangeClipBoundsUsage.java 53 findViewById(R.id.toggle).setOnClickListener(new View.OnClickListener() {
56 toggle();
61 void toggle() { method in class:ChangeClipBoundsUsage
  /external/libopus/src/
opus_demo.c 251 int toggle = 0; local
664 len[toggle] = char_to_int(ch);
665 if (len[toggle]>max_payload_bytes || len[toggle]<0)
667 fprintf(stderr, "Invalid payload length: %d\n",len[toggle]);
673 enc_final_range[toggle] = char_to_int(ch);
674 num_read = fread(data[toggle], 1, len[toggle], fin);
675 if (num_read!=(size_t)len[toggle])
679 len[toggle],(int)num_read)
    [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/builds/wince/
ftdebug.c 127 /* define array of trace toggle names */
152 /* available toggle names. */
182 /* read toggle name, followed by ':' */
198 const char* toggle = ft_trace_toggles[n]; local
203 if ( toggle[i] != q[i] )
207 if ( i == len && toggle[i] == 0 )

Completed in 1242 milliseconds

1 2 3 4 5 6 7 8 91011>>