OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:toggle
(Results
26 - 50
of
4171
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ProjectionActivity.java
39
boolean
toggle
= false;
42
toggle
= !
toggle
;
43
setProject(
toggle
);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
README.txt
17
WifiSettingsStore: Tracks the various settings (wifi
toggle
, airplane
toggle
, tethering
toggle
, scan mode
toggle
) and provides API to figure if wifi should be turned on or off.
/external/curl/src/
tool_getparam.c
399
bool
toggle
= TRUE; /* how to switch boolean options, on or off. Controlled
local
413
toggle
= FALSE;
514
config->disable_epsv =
toggle
;
517
config->disable_epsv = (!
toggle
)?TRUE:FALSE;
521
config->writeenv =
toggle
;
535
config->nonpn = (!
toggle
)?TRUE:FALSE;
545
config->noalpn = (!
toggle
)?TRUE:FALSE;
585
if(
toggle
&& !(curlinfo->features & CURL_VERSION_LIBZ))
587
config->encoding =
toggle
;
591
config->tr_encoding =
toggle
;
[
all
...]
/developers/samples/android/ui/window/ImmersiveMode/
template-params.xml
31
click the "
Toggle
immersive mode" button, then try swiping the bar in and out!
34
<sample_action>
Toggle
immersive mode!</sample_action>
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/
jquery.treeview.min.js
15
*/;(function($){$.extend($.fn,{swapClass:function(c1,c2){var c1Elements=this.filter('.'+c1);this.filter('.'+c2).removeClass(c2).addClass(c1);c1Elements.removeClass(c1).addClass(c2);return this;},replaceClass:function(c1,c2){return this.filter('.'+c1).removeClass(c1).addClass(c2).end();},hoverClass:function(className){className=className||"hover";return this.hover(function(){$(this).addClass(className);},function(){$(this).removeClass(className);});},heightToggle:function(animated,callback){animated?this.animate({height:"
toggle
"},animated,callback):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();if(callback)callback.apply(this,arguments);});},heightHide:function(animated,callback){if(animated){this.animate({height:"hide"},animated,callback);}else{this.hide();if(callback)this.each(callback);}},prepareBranches:function(settings){if(!settings.prerendered){this.filter(":last-child:not(ul)").addClass(CLASSES.last);this.filter((settings.collapsed?"":"."+CLASSES.closed)+":not(."+CLASSES.open+")").find(">ul").hide();}return this.filter(":has(>ul)");},applyClasses:function(settings,toggler){this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event){toggler.apply($(this).next());}).add($("a",this)).hoverClass();if(!settings.prerendered){this.filter(":has(>ul:hidden)").addClass(CLASSES.expandable).replaceClass(CLASSES.last,CLASSES.lastExpandable);this.not(":has(>ul:hidden)").addClass(CLASSES.collapsable).replaceClass(CLASSES.last,CLASSES.lastCollapsable);this.prepend("<div class=\""+CLASSES.hitarea+"\"/>").find("div."+CLASSES.hitarea).each(function(){var classes="";$.each($(this).parent().attr("class").split(" "),function(){classes+=this+"-hitarea ";});$(this).addClass(classes);});}this.find("div."+CLASSES.hitarea).click(toggler);},treeview:function(settings){settings=$.extend({cookieId:"treeview"},settings);if(settings.add){return this.trigger("add",[settings.add]);}if(settings.
toggle
){var callback=settings.
toggle
;settings.
toggle
=function(){return callback.apply($(this).parent()[0],arguments);};}function treeController(tree,control){function handler(filter){return function(){toggler.apply($("div."+CLASSES.hitarea,tree).filter(function(){return filter?$(this).parent("."+filter).length:true;}));return false;};}$("a:eq(0)",control).click(handler(CLASSES.collapsable));$("a:eq(1)",control).click(handler(CLASSES.expandable));$("a:eq(2)",control).click(handler());}function toggler(){$(this).parent().find(">.hitarea").swapClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).swapClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().swapClass(CLASSES.collapsable,CLASSES.expandable).swapClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightToggle(settings.animated,settings.
toggle
);if(settings.unique){$(this).parent().siblings().find(">.hitarea").replaceClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).replaceClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().replaceClass(CLASSES.collapsable,CLASSES.expandable).replaceClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightHide(settings.animated,settings.
toggle
);}}function serialize(){function binary(arg){return arg?1:0;}var data=[];branches.each(function(i,e){data[i]=$(e).is(":has(>ul:visible)")?1:0;});$.cookie(settings.cookieId,data.join(""));}function deserialize(){var stored=$.cookie(settings.cookieId);if(stored){var data=stored.split("");branches.each(function(i,e){$(e).find(">ul")[parseInt(data[i])?"show":"hide"]();});}}this.addClass("treeview");var branches=this.find("li").prepareBranches(settings);switch(settings.persist){case"cookie":var toggleCallback=settings.
toggle
;settings.
toggle
=function(){serialize();if(toggleCallback){toggleCallback.apply(this,arguments);}};deserialize();br (…)
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCompoundButton.java
25
@Override public void
toggle
() {
method in class:ShadowCompoundButton
31
toggle
();
method
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
RadioButtonTest.java
33
radioButton.
toggle
();
36
radioButton.
toggle
();
CheckedTextViewTest.java
27
checkedTextView.
toggle
();
/developers/build/prebuilts/gradle/BasicImmersiveMode/Application/tests/src/com/example/android/basicimmersivemode/tests/
SampleTests.java
74
* Verify that the UI flags actually changed when the
toggle
method is called.
81
assertTrue("UI Flags didn't
toggle
.", uiFlags != newUiFlags);
85
* Verify that the view's height actually changed when the
toggle
method is called.
92
// In order to test that this worked: Need to
toggle
the immersive mode on the UI thread,
98
//
Toggle
immersive mode
/developers/build/prebuilts/gradle/ImmersiveMode/Application/tests/src/com/example/android/immersivemode/tests/
ImmersiveModeSampleTests.java
59
* Verify that the UI flags actually changed when the
toggle
method is called.
66
assertTrue("UI Flags didn't
toggle
.", uiFlags != newUiFlags);
70
* Verify that the view's height actually changed when the
toggle
method is called.
77
// In order to test that this worked: Need to
toggle
the immersive mode on the UI thread,
83
//
Toggle
immersive mode
/developers/samples/android/ui/window/BasicImmersiveMode/Application/tests/src/com/example/android/basicimmersivemode/tests/
SampleTests.java
74
* Verify that the UI flags actually changed when the
toggle
method is called.
81
assertTrue("UI Flags didn't
toggle
.", uiFlags != newUiFlags);
85
* Verify that the view's height actually changed when the
toggle
method is called.
92
// In order to test that this worked: Need to
toggle
the immersive mode on the UI thread,
98
//
Toggle
immersive mode
/developers/samples/android/ui/window/ImmersiveMode/Application/tests/src/com/example/android/immersivemode/tests/
ImmersiveModeSampleTests.java
59
* Verify that the UI flags actually changed when the
toggle
method is called.
66
assertTrue("UI Flags didn't
toggle
.", uiFlags != newUiFlags);
70
* Verify that the view's height actually changed when the
toggle
method is called.
77
// In order to test that this worked: Need to
toggle
the immersive mode on the UI thread,
83
//
Toggle
immersive mode
/external/chromium-trace/catapult/third_party/polymer/components/paper-button/
demo.html
114
<div>
Toggle
buttons</div>
116
<paper-button
toggle
>button</paper-button>
118
<paper-button
toggle
raised noink>noink</paper-button>
120
<paper-button
toggle
active class="colored">active</paper-button>
122
<paper-button
toggle
raised active class="colored">active</paper-button>
paper-button-base.html
61
if (this.
toggle
&& (!this.lastEvent || this.matches(':host-context([noink])'))) {
95
this.$.ripple.classList.
toggle
('recenteringTouch', this.recenteringTouch);
101
this.$.ripple.classList.
toggle
('fill', this.fill);
148
if (this.
toggle
) {
/external/chromium-trace/catapult/third_party/polymer/components/core-collapse/
core-collapse.html
12
will be collapsed. Use `opened` or `
toggle
()` to show/hide the content.
14
<button on-click="{{
toggle
}}">
toggle
collapse</button>
22
toggle
: function() {
23
this.$.collapse.
toggle
();
163
this.classList.
toggle
('core-collapse-closed', this.target !== this);
190
*
Toggle
the opened state.
192
* @method
toggle
194
toggle
: function() {
218
this.target.classList.
toggle
('core-collapse-closed', closed)
[
all
...]
/docs/source.android.com/src/source/
read-bug-reports.jd
47
<div class="
toggle
-content closed">
49
<img src="{@docRoot}assets/images/triangle-closed.png" class="
toggle
-content-img" />
50
<strong><span class="
toggle
-content-text">Show example</span>
51
<span class="
toggle
-content-text" style="display:none;">Hide example</span></strong>
54
<div class="
toggle
-content-toggleme">
84
<div class="
toggle
-content closed">
86
<img src="{@docRoot}assets/images/triangle-closed.png" class="
toggle
-content-img" />
87
<strong><span class="
toggle
-content-text">Show example</span>
88
<span class="
toggle
-content-text" style="display:none;">Hide example</span></strong>
91
<div class="
toggle
-content-toggleme"
[
all
...]
/build/tools/droiddoc/templates-pdk/assets/
android-developer-docs.js
287
// if we're in a toggleable root link (<li class=
toggle
-list><div><a>)
288
if (link.parent().parent().hasClass('
toggle
-list')) {
289
toggle
(link.parent().parent(), false); // open our own list
292
toggle
(link.parent().parent().parent().parent(), false); // open the super parent list
297
toggle
(link.parent().parent().parent(), false); // open the parent list
300
toggle
(link.parent().parent().parent().parent().parent(), false); // open the super parent list
438
function
toggle
(obj, slide) {
function
449
$(".
toggle
-img", li).attr("title", "hide pages");
454
$(".
toggle
-img", li).attr("title", "show pages");
459
$(".
toggle
-list").each
[
all
...]
/frameworks/base/docs/html/training/monitoring-device-state/
manifest-receivers.jd
17
<li><a href="#ToggleReceivers">
Toggle
and Cascade State Change Receivers to Improve
43
<h2 id="ToggleReceivers">
Toggle
and Cascade State Change Receivers to Improve Efficiency </h2>
45
<p>You can use the {@link android.content.pm.PackageManager} to
toggle
the enabled state on any
/developers/build/prebuilts/gradle/BasicImmersiveMode/Application/src/main/res/values/
strings.xml
19
<string name="sample_action">
Toggle
Immersive Mode!</string>
/developers/build/prebuilts/gradle/ImmersiveMode/Application/src/main/res/values/
strings.xml
19
<string name="sample_action">
Toggle
immersive mode!</string>
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/assets/
sample.html
25
<button id="
toggle
">Start</button>
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/assets/
sample.html
25
<button id="
toggle
">Start</button>
/development/samples/browseable/BasicImmersiveMode/res/values/
strings.xml
19
<string name="sample_action">
Toggle
Immersive Mode!</string>
/development/samples/browseable/ImmersiveMode/res/values/
strings.xml
19
<string name="sample_action">
Toggle
immersive mode!</string>
/frameworks/base/core/java/android/widget/
Checkable.java
41
void
toggle
();
method in interface:Checkable
Completed in 724 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>