Searched refs:selection (Results 1 - 25 of 134) sorted by relevance

123456

/external/chromium-trace/catapult/third_party/flot/
H A Djquery.flot.selection.js8 selection: {
17 "y" mode. For "xy", the selection becomes a rectangle where both ranges can be
18 specified. "color" is color of the selection (if you need to change the color
19 later on, you can get to it with plot.getOptions().selection.color). "shape"
20 is the shape of the corners of the selection.
22 "minSize" is the minimum size a selection can be in pixels. This value can
23 be customized to determine the smallest size a selection can be and still
24 have the selection rectangle be displayed. When customizing this value, the
27 minute, setting "minSize" to 1 will not make the minimum selection size 1
32 When selection suppor
[all...]
H A Djquery.flot.selection.min.js7 (function($){function init(plot){var selection={first:{x:-1,y:-1},second:{x:-1,y:-1},show:false,active:false};var savedhandlers={};var mouseUpHandler=null;function onMouseMove(e){if(selection.active){updateSelection(e);plot.getPlaceholder().trigger("plotselecting",[getSelection()])}}function onMouseDown(e){if(e.which!=1)return;document.body.focus();if(document.onselectstart!==undefined&&savedhandlers.onselectstart==null){savedhandlers.onselectstart=document.onselectstart;document.onselectstart=function(){return false}}if(document.ondrag!==undefined&&savedhandlers.ondrag==null){savedhandlers.ondrag=document.ondrag;document.ondrag=function(){return false}}setSelectionPos(selection.first,e);selection.active=true;mouseUpHandler=function(e){onMouseUp(e)};$(document).one("mouseup",mouseUpHandler)}function onMouseUp(e){mouseUpHandler=null;if(document.onselectstart!==undefined)document.onselectstart=savedhandlers.onselectstart;if(document.ondrag!==undefined)document.ondrag=savedhandlers.ondrag;selection.active=false;updateSelection(e);if(selectionIsSane())triggerSelectedEvent();else{plot.getPlaceholder().trigger("plotunselected",[]);plot.getPlaceholder().trigger("plotselecting",[null])}return false}function getSelection(){if(!selectionIsSane())return null;if(!selection.show)return null;var r={},c1=selection.first,c2=selection.second;$.each(plot.getAxes(),function(name,axis){if(axis.used){var p1=axis.c2p(c1[axis.direction]),p2=axis.c2p(c2[axis.direction]);r[name]={from:Math.min(p1,p2),to:Math.max(p1,p2)}}});return r}function triggerSelectedEvent(){var r=getSelection();plot.getPlaceholder().trigger("plotselected",[r]);if(r.xaxis&&r.yaxis)plot.getPlaceholder().trigger("selected",[{x1:r.xaxis.from,y1:r.yaxis.from,x2:r.xaxis.to,y2:r.yaxis.to}])}function clamp(min,value,max){return value<min?min:value>max?max:value}function setSelectionPos(pos,e){var o=plot.getOptions();var offset=plot.getPlaceholder().offset();var plotOffset=plot.getPlotOffset();pos.x=clamp(0,e.pageX-offset.left-plotOffset.left,plot.width());pos.y=clamp(0,e.pageY-offset.top-plotOffset.top,plot.height());if(o.selection.mode=="y")pos.x=pos==selection
[all...]
/external/v8/tools/turbolizer/
H A Dselection.js9 this.selection = new Set();
14 return this.selection.size == 0;
22 handler.select(this.selection, false);
24 this.selection = new Set();
41 this.selection.add(i);
46 if (this.selection.has(i)) {
48 this.selection.delete(i);
52 handler.select(this.selection, isSelected);
66 this.selection = new Set();
67 this.selection
[all...]
H A Dschedule-view.js120 var selection = this.selection.detachSelection();
122 for (var i of selection) {
H A Dgraph-view.js24 selection: null,
54 var selection = graph.nodes
78 selection.forEach(function(n) {
87 graph.state.selection.select(this, selected);
94 graph.state.selection.clear();
99 graph.state.selection = new Selection(selectionHandler);
160 graph.state.selection.clear();
164 d3.select("#zoom-selection").on("click", function() {
174 graph.state.selection.clear();
191 graph.state.selection
[all...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCursorLoader.java15 private String selection; field in class:ShadowCursorLoader
23 public void __constructor__(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
27 this.selection = selection;
54 return selection;
58 public void setSelection(String selection) { argument
59 this.selection = selection;
/external/autotest/server/cros/ap_configurators/
H A DbelkinF5D8236_ap_configurator.py26 selection = 'WPA2-PSK'
28 selection = 'WPA-PSK'
29 self.select_item_from_popup_by_xpath(selection, psk,
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
H A DList.java37 * {@link ChangeEvent} is fired when the list selection changes.
39 * The preferred size of the list is determined by the text bounds of the items and the size of the {@link ListStyle#selection}.
45 final ArraySelection<T> selection = new ArraySelection(items); field in class:List
60 selection.setActor(this);
61 selection.setRequired(true);
69 if (selection.isDisabled()) return false;
86 selection.choose(items.get(index));
102 final Drawable selectedDrawable = style.selection;
133 Drawable selectedDrawable = style.selection;
156 boolean selected = selection
276 public Drawable selection; field in class:List.ListStyle
283 ListStyle(BitmapFont font, Color fontColorSelected, Color fontColorUnselected, Drawable selection) argument
[all...]
H A DSelectBox.java52 * {@link ChangeEvent} is fired when the selectbox selection changes.
63 final ArraySelection<T> selection = new ArraySelection(items); field in class:SelectBox
82 selection.setActor(this);
83 selection.setRequired(true);
135 selection.validate();
149 selection.validate();
159 selection.clear();
198 + listStyle.selection.getLeftWidth()
199 + listStyle.selection.getRightWidth()
231 T selected = selection
[all...]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DCursorLoaderTest.java19 String selection = "_id = ?";
25 selection,
31 assertThat(cursorLoader.getSelection(), equalTo(selection));
40 String selection = "_id = ?";
46 cursorLoader.setSelection(selection);
52 assertThat(cursorLoader.getSelection(), equalTo(selection));
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/database/
H A DSimpleTestCursor.java11 public String selection; field in class:SimpleTestCursor
20 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
23 this.selection = selection;
/external/webrtc/webrtc/modules/audio_device/test/
H A Daudio_device_test_func.cc61 TEST_LOG(" (2) Audio-layer selection\n");
63 TEST_LOG(" (4) Device selection\n");
78 int selection(0);
85 selection = sel;
89 if (scanf("%d", &selection) < 0) {
90 perror("Failed to get selection.");
94 switch (selection)
/external/opencv3/samples/cpp/
H A Dcamshiftdemo.cpp20 Rect selection; variable
27 selection.x = MIN(x, origin.x);
28 selection.y = MIN(y, origin.y);
29 selection.width = std::abs(x - origin.x);
30 selection.height = std::abs(y - origin.y);
32 selection &= Rect(0, 0, image.cols, image.rows);
39 selection = Rect(x,y,0,0);
44 if( selection.width > 0 && selection.height > 0 )
132 Mat roi(hue, selection), maskro
[all...]
/external/opencv3/samples/tapi/
H A Dcamshift.cpp16 static cv::Rect selection; variable
25 selection.x = std::min(x, origin.x);
26 selection.y = std::min(y, origin.y);
27 selection.width = std::abs(x - origin.x);
28 selection.height = std::abs(y - origin.y);
30 selection &= cv::Rect(0, 0, image.cols, image.rows);
37 selection = cv::Rect(x, y, 0, 0);
42 if (selection.width > 0 && selection.height > 0)
133 cv::UMat roi(hue, selection), maskro
[all...]
/external/llvm/include/llvm/CodeGen/PBQP/
H A DSolution.h26 /// To get the selection for each node in the problem use the getSelection method.
73 /// \brief Set the selection for a given node.
75 /// @param selection Selection for nodeId.
76 void setSelection(GraphBase::NodeId nodeId, unsigned selection) { argument
77 selections[nodeId] = selection;
80 /// \brief Get a node's selection.
82 /// @return The selection for nodeId;
85 assert(sItr != selections.end() && "No selection for node.");
/external/selinux/policycoreutils/gui/
H A DdomainsPage.py104 def itemSelected(self, selection):
105 store, iter = selection.get_selected()
117 selection = self.view.get_selection()
118 store, iter = selection.get_selected()
128 self.itemSelected(selection)
142 selection = self.view.get_selection()
143 store, iter = selection.get_selected()
153 self.itemSelected(selection)
/external/svox/pico/src/com/svox/pico/providers/
H A DSettingsProvider.java61 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
90 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
H A DDumbTextComponent.java51 private Selection selection = new Selection(); field in class:DumbTextComponent
187 int start = selection.getStart();
188 int end = selection.getEnd();
226 tempSelection.set(selection);
232 tempSelection.set(selection);
238 tempSelection.set(selection);
247 tempSelection.set(selection);
258 start = selection.getStart();
259 end = selection.getEnd();
275 contents.substring(selection
[all...]
/external/opencv3/samples/python2/
H A Dcamshift.py39 self.selection = None
55 self.selection = None
57 self.selection = (x0, y0, x1, y1)
60 if self.selection is not None:
80 if self.selection:
81 x0, y0, x1, y1 = self.selection
95 self.selection = None
/external/chromium-trace/catapult/netlog_viewer/netlog_viewer/
H A Dtimeline_view.css6 #timeline-view-selection-div {
11 #timeline-view-selection-toggle {
28 #timeline-view-selection-div ul {
33 #timeline-view-selection-div li {
75 #timeline-view-selection-div .timeline-view-hidden {
/external/tpm2/
H A DPCR_fp.h38 selection, // IN/OUT: PCR selection (filtered on output)
80 selection, // IN/OUT: PCR selection (filtered on output)
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
H A DBarPlotExampleActivity.java97 private Pair<Integer, XYSeries> selection; field in class:BarPlotExampleActivity
117 // add a dark, semi-transparent background to the selection label widget:
319 selection = null;
323 // find the closest value to the selection:
333 if (selection == null) {
334 selection = new Pair<Integer, XYSeries>(i, series);
338 selection = new Pair<Integer, XYSeries>(i, series);
344 selection = new Pair<Integer, XYSeries>(i, series);
354 selection = null;
357 if(selection
[all...]
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
H A DEABProvider.java167 protected int deleteInternal(SQLiteDatabase db, Uri uri, String selection, argument
174 if (selection == null) {
175 selection = "_id=?";
186 logger.debug("Deleting from the table" + table + " selection= " + selection);
187 printDeletingValues(uri, selection, selectionArgs);
189 return db.delete(table, selection, selectionArgs);
225 String selection, String[] selectionArgs, String sortOrder) {
234 if(null != selection) {
235 selection
224 queryInternal(SQLiteDatabase db, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
285 updateInternal(SQLiteDatabase db, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
417 printDeletingValues(Uri uri, String selection, String[] selectionArgs) argument
[all...]
H A DDatabaseContentProvider.java203 * @param selection - selection used for the uri
204 * @param selectionArgs - selection args replacing ?'s in the selection
207 protected abstract int deleteInternal(final SQLiteDatabase db, Uri uri, String selection, argument
211 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
223 result = deleteInternal(db, uri, selection, selectionArgs);
314 * @param selection
320 String selection, String[] selectionArgs, String sortOrder);
323 public Cursor query(Uri uri, String[] projection, String selection, Strin argument
319 queryInternal(final SQLiteDatabase db, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
338 updateInternal(final SQLiteDatabase db, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
342 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
/external/webrtc/webrtc/voice_engine/test/auto_test/
H A Dvoe_stress_test.cc79 printf("Invalid selection! (Test code error)\n");
98 int selection(-1);
100 while ((selection < 0) || (selection > maxMenuSelection)) {
102 int retval = scanf("%d", &selection);
103 if ((retval != 1) || (selection < 0) || (selection > maxMenuSelection)) {
104 printf("Invalid selection!\n");
108 return selection;

Completed in 1369 milliseconds

123456