/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
TreeWidget.py | 49 label.grid(row=row, column=column) 51 label.grid(row=row+1, column=column) 419 self.canvas.grid(row=0, column=0, sticky="nsew") 421 self.vbar.grid(row=0, column=1, sticky="nse") 423 self.hbar.grid(row=1, column=0, sticky="ews")
|
Debugger.py | 121 self.bstack.grid(row=0, column=0) 126 self.bsource.grid(row=0, column=1) 132 self.blocals.grid(row=1, column=0) 137 self.bglobals.grid(row=1, column=1) 448 l.grid(row=0, column=0) 461 l.grid(row=row, column=0, sticky="nw") 464 l.grid(row=row, column=1, sticky="nw")
|
tabbedpages.py | 299 TabbedPageSet. Do not call the page's pack/place/grid/destroy methods. 323 """Page class using the grid placement manager's "remove" mechanism.""" 327 self.frame.grid(row=0, column=0, sticky=NSEW) 333 """Page class using the grid placement manager's "lift" mechanism.""" 338 self.frame.grid(row=0, column=0, sticky=NSEW) 399 self.pages_frame.grid(row=1, column=0, sticky=NSEW) 411 self._tab_set.grid(row=0, column=0, sticky=NSEW)
|
configDialog.py | 311 labelTargetTitle.grid(row=0,column=0,columnspan=2,sticky=W) 312 self.listBindings.grid(row=1,column=0,sticky=NSEW) 313 scrollTargetY.grid(row=1,column=1,sticky=NS) 314 scrollTargetX.grid(row=2,column=0,sticky=EW) 316 self.radioKeysBuiltin.grid(row=0, column=0, sticky=W+NS) 317 self.radioKeysCustom.grid(row=1, column=0, sticky=W+NS) 318 self.optMenuKeysBuiltin.grid(row=0, column=1, sticky=NSEW) 319 self.optMenuKeysCustom.grid(row=1, column=1, sticky=NSEW) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
Debugger.py | 121 self.bstack.grid(row=0, column=0) 126 self.bsource.grid(row=0, column=1) 132 self.blocals.grid(row=1, column=0) 137 self.bglobals.grid(row=1, column=1) 448 l.grid(row=0, column=0) 461 l.grid(row=row, column=0, sticky="nw") 464 l.grid(row=row, column=1, sticky="nw")
|
tabbedpages.py | 299 TabbedPageSet. Do not call the page's pack/place/grid/destroy methods. 323 """Page class using the grid placement manager's "remove" mechanism.""" 327 self.frame.grid(row=0, column=0, sticky=NSEW) 333 """Page class using the grid placement manager's "lift" mechanism.""" 338 self.frame.grid(row=0, column=0, sticky=NSEW) 399 self.pages_frame.grid(row=1, column=0, sticky=NSEW) 411 self._tab_set.grid(row=0, column=0, sticky=NSEW)
|
configDialog.py | 311 labelTargetTitle.grid(row=0,column=0,columnspan=2,sticky=W) 312 self.listBindings.grid(row=1,column=0,sticky=NSEW) 313 scrollTargetY.grid(row=1,column=1,sticky=NS) 314 scrollTargetX.grid(row=2,column=0,sticky=EW) 316 self.radioKeysBuiltin.grid(row=0, column=0, sticky=W+NS) 317 self.radioKeysCustom.grid(row=1, column=0, sticky=W+NS) 318 self.optMenuKeysBuiltin.grid(row=0, column=1, sticky=NSEW) 319 self.optMenuKeysCustom.grid(row=1, column=1, sticky=NSEW) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
UiTreeBlock.java | 89 /** Height hint for the tree view. Helps the grid layout resize properly on smaller screens. */ 209 Composite grid = SectionHelper.createGridLayout(section, toolkit, 2); local 211 Tree tree = createTreeViewer(toolkit, grid, managedForm); 212 createButtons(toolkit, grid); 244 private Tree createTreeViewer(FormToolkit toolkit, Composite grid, 248 final Tree tree = toolkit.createTree(grid, SWT.MULTI); 425 private void createButtons(FormToolkit toolkit, Composite grid) { 429 Composite button_grid = SectionHelper.createGridLayout(grid, toolkit, 1); [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
ScreenViewer.java | 251 private BufferedImage grid; field in class:ScreenViewer.LoupeViewer 303 grid = new BufferedImage(width + zoom + 1, height + zoom + 1, 306 g2 = grid.createGraphics(); 308 g2 = grid.createGraphics(); 310 g2.fillRect(0, 0, grid.getWidth(), grid.getHeight()); 335 g.drawImage(grid, clip.x - clip.x % zoom, clip.y - clip.y % zoom, null);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
CellLayout.java | 191 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 199 mCountX = (int) grid.numColumns; 200 mCountY = (int) grid.numRows; 211 mHotseatScale = (float) grid.hotseatIconSizePx / grid.iconSizePx; 222 grid.iconSizePx); 293 addView(mTouchFeedbackView, (int) (grid.cellWidthPx * 1.5), (int) (grid.cellHeightPx * 1.5)); 457 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 469 child.getPaddingTop() + grid.folderBackgroundOffset 823 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 836 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 2905 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local [all...] |
IconCache.java | 214 * Empty out the cache that aren't of the correct grid size 216 public synchronized void flushInvalidIcons(DeviceProfile grid) { 220 if ((e.icon != null) && (e.icon.getWidth() < grid.iconSizePx 221 || e.icon.getHeight() < grid.iconSizePx)) {
|
Workspace.java | 343 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 348 mOverviewModeShrinkFactor = grid.getOverviewModeScale(); 455 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 469 mMaxDistanceForFolderCreation = (0.55f * grid.iconSizePx); 2058 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 2193 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 2741 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local 2786 DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); local [all...] |
/development/tools/axl/ |
chewie.py | 181 pylab.grid()
|
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
screen_supervised_user_creation.css | 367 #supervised-user-creation-image-grid { 379 #supervised-user-creation-image-grid img { 386 #supervised-user-creation-image-grid > li { 394 #supervised-user-creation-image-grid [selected] {
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
tile_page.css | 52 .tile-grid {
|
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/ |
wallpaper_manager.js | 188 $('wallpaper-grid').classList.add('image-picker-offline'); 209 $('wallpaper-grid').disabled = shouldEnable; 281 $('wallpaper-grid').disabled = true; 287 $('wallpaper-grid').disabled = true; 310 $('wallpaper-grid').classList.add('image-picker-offline'); 314 $('wallpaper-grid').classList.remove('image-picker-offline'); 441 * Constructs the thumbnails grid. 444 this.wallpaperGrid_ = $('wallpaper-grid'); 453 * Handles change event dispatched by wallpaper grid. 675 * selectedItem selected wallpaper item in grid [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/ |
manage_profile_browsertest.js | 89 // Make sure the correct item in the icon grid was selected. 90 var gridEl = $(mode + '-profile-icon-grid'); 563 var gridEl = $(mode + '-profile-icon-grid'); 592 var gridEl = $(mode + '-profile-icon-grid'); 613 var gridEl = $(mode + '-profile-icon-grid'); 644 var gridEl = $(mode + '-profile-icon-grid');
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleFatBits.cpp | 24 const SkScalar grid = 2; local 25 return SkScalarRoundToScalar(x * grid) / grid;
|
/external/skia/samplecode/ |
SampleFatBits.cpp | 24 const SkScalar grid = 2; local 25 return SkScalarRoundToScalar(x * grid) / grid;
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/ |
plotBenchmark.m | 200 grid on; 268 grid on; 339 %grid on;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/ |
TimelineFrameOverview.js | 64 * @param {!WebInspector.OverviewGrid} grid 66 setOverviewGrid: function(grid) 68 this._overviewGrid = grid; 204 var labelOffsetY = 0; // Labels are going to be under their grid lines. 215 labelOffsetY = -lineHeight; // Labels are going to be over their grid lines.
|
/external/chromium_org/v8/tools/ |
stats-viewer.py | 234 name.grid(row=index, column=0, padx=1, pady=1) 243 value.grid(row=index, column=(1 + i), padx=1, pady=1)
|
/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/ |
MainActivity.java | 40 * Activity to display a grid of coupons. The number of columns varies based on screen width, 41 * and goes down to a one-column grid on a small device such as a phone. 66 GridView gridView = (GridView) findViewById(R.id.grid); 71 // Set a click listener for each coupon in the grid 151 * Adapter for grid of coupons. 214 * Cache of views in the grid item view to make recycling of views quicker. This avoids
|
/external/chromium_org/third_party/flot/ |
jquery.flot.pie.min.js | 56 */(function(e){function r(r){function p(t,n,r){l||(l=!0,s=t.getCanvas(),o=e(s).parent(),i=t.getOptions(),t.setData(d(t.getData())))}function d(t){var n=0,r=0,s=0,o=i.series.pie.combine.color,u=[];for(var a=0;a<t.length;++a){var f=t[a].data;e.isArray(f)&&f.length==1&&(f=f[0]),e.isArray(f)?!isNaN(parseFloat(f[1]))&&isFinite(f[1])?f[1]=+f[1]:f[1]=0:!isNaN(parseFloat(f))&&isFinite(f)?f=[1,+f]:f=[1,0],t[a].data=[f]}for(var a=0;a<t.length;++a)n+=t[a].data[0][1];for(var a=0;a<t.length;++a){var f=t[a].data[0][1];f/n<=i.series.pie.combine.threshold&&(r+=f,s++,o||(o=t[a].color))}for(var a=0;a<t.length;++a){var f=t[a].data[0][1];(s<2||f/n>i.series.pie.combine.threshold)&&u.push({data:[[1,f]],color:t[a].color,label:t[a].label,angle:f*Math.PI*2/n,percent:f/(n/100)})}return s>1&&u.push({data:[[1,r]],color:o,label:i.series.pie.combine.label,angle:r*Math.PI*2/n,percent:r/(n/100)}),u}function v(r,s){function y(){c.clearRect(0,0,h,p),o.children().filter(".pieLabel, .pieLabelBackground").remove()}function b(){var e=i.series.pie.shadow.left,t=i.series.pie.shadow.top,n=10,r=i.series.pie.shadow.alpha,s=i.series.pie.radius>1?i.series.pie.radius:u*i.series.pie.radius;if(s>=h/2-e||s*i.series.pie.tilt>=p/2-t||s<=n)return;c.save(),c.translate(e,t),c.globalAlpha=r,c.fillStyle="#000",c.translate(a,f),c.scale(1,i.series.pie.tilt);for(var o=1;o<=n;o++)c.beginPath(),c.arc(0,0,s,0,Math.PI*2,!1),c.fill(),s-=o;c.restore()}function w(){function l(e,t,i){if(e<=0||isNaN(e))return;i?c.fillStyle=t:(c.strokeStyle=t,c.lineJoin="round"),c.beginPath(),Math.abs(e-Math.PI*2)>1e-9&&c.moveTo(0,0),c.arc(0,0,n,r,r+e/2,!1),c.arc(0,0,n,r+e/2,r+e,!1),c.closePath(),r+=e,i?c.fill():c.stroke()}function d(){function l(t,n,s){if(t.data[0][1]==0)return!0;var u=i.legend.labelFormatter,l,c=i.series.pie.label.formatter;u?l=u(t.label,t):l=t.label,c&&(l=c(l,t));var d=(n+t.angle+n)/2,v=a+Math.round(Math.cos(d)*r),m=f+Math.round(Math.sin(d)*r)*i.series.pie.tilt,g="<span class='pieLabel' id='pieLabel"+s+"' style='position:absolute;top:"+m+"px;left:"+v+"px;'>"+l+"</span>";o.append(g);var y=o.children("#pieLabel"+s),b=m-y.height()/2,w=v-y.width()/2;y.css("top",b),y.css("left",w);if(0-b>0||0-w>0||p-(b+y.height())<0||h-(w+y.width())<0)return!1;if(i.series.pie.label.background.opacity!=0){var E=i.series.pie.label.background.color;E==null&&(E=t.color);var S="top:"+b+"px;left:"+w+"px;";e("<div class='pieLabelBackground' style='position:absolute;width:"+y.width()+"px;height:"+y.height()+"px;"+S+"background-color:"+E+";'></div>").css("opacity",i.series.pie.label.background.opacity).insertBefore(y)}return!0}var n=t,r=i.series.pie.label.radius>1?i.series.pie.label.radius:u*i.series.pie.label.radius;for(var s=0;s<v.length;++s){if(v[s].percent>=i.series.pie.label.threshold*100&&!l(v[s],n,s))return!1;n+=v[s].angle}return!0}var t=Math.PI*i.series.pie.startAngle,n=i.series.pie.radius>1?i.series.pie.radius:u*i.series.pie.radius;c.save(),c.translate(a,f),c.scale(1,i.series.pie.tilt),c.save();var r=t;for(var s=0;s<v.length;++s)v[s].startAngle=r,l(v[s].angle,v[s].color,!0);c.restore();if(i.series.pie.stroke.width>0){c.save(),c.lineWidth=i.series.pie.stroke.width,r=t;for(var s=0;s<v.length;++s)l(v[s].angle,i.series.pie.stroke.color,!1);c.restore()}return m(c),c.restore(),i.series.pie.label.show?d():!0}if(!o)return;var h=r.getPlaceholder().width(),p=r.getPlaceholder().height(),d=o.children().filter(".legend").children().width()||0;c=s,l=!1,u=Math.min(h,p/i.series.pie.tilt)/2,f=p/2+i.series.pie.offset.top,a=h/2,i.series.pie.offset.left=="auto"?i.legend.position.match("w")?a+=d/2:a-=d/2:a+=i.series.pie.offset.left,a<u?a=u:a>h-u&&(a=h-u);var v=r.getData(),g=0;do g>0&&(u*=n),g+=1,y(),i.series.pie.tilt<=.8&&b();while(!w()&&g<t);g>=t&&(y(),o.prepend("<div class='error'>Could not draw pie with labels contained inside canvas</div>")),r.setSeries&&r.insertLegend&&(r.setSeries(v),r.insertLegend())}function m(e){if(i.series.pie.innerRadius>0){e.save();var t=i.series.pie.innerRadius>1?i.series.pie.innerRadius:u*i.series.pie.innerRadius;e.globalCompositeOperation="destination-out",e.beginPath(),e.fillStyle=i.series.pie.stroke.color,e.arc(0,0,t,0,Math.PI*2,!1),e.fill(),e.closePath(),e.restore(),e.save(),e.beginPath(),e.strokeStyle=i.series.pie.stroke.color,e.arc(0,0,t,0,Math.PI*2,!1),e.stroke(),e.closePath(),e.restore()}}function g(e,t){for(var n=!1,r=-1,i=e.length,s=i-1;++r<i;s=r)(e[r][1]<=t[1]&&t[1]<e[s][1]||e[s][1]<=t[1]&&t[1]<e[r][1])&&t[0]<(e[s][0]-e[r][0])*(t[1]-e[r][1])/(e[s][1]-e[r][1])+e[r][0]&&(n=!n);return n}function y(e,t){var n=r.getData(),i=r.getOptions(),s=i.series.pie.radius>1?i.series.pie.radius:u*i.series.pie.radius,o,l;for(var h=0;h<n.length;++h){var p=n[h];if(p.pie.show){c.save(),c.beginPath(),c.moveTo(0,0),c.arc(0,0,s,p.startAngle,p.startAngle+p.angle/2,!1),c.arc(0,0,s,p.startAngle+p.angle/2,p.startAngle+p.angle,!1),c.closePath(),o=e-a,l=t-f;if(c.isPointInPath){if(c.isPointInPath(e-a,t-f))return c.restore(),{datapoint:[p.percent,p.data],dataIndex:0,series:p,seriesIndex:h}}else{var d=s*Math.cos(p.startAngle),v=s*Math.sin(p.startAngle),m=s*Math.cos(p.startAngle+p.angle/4),y=s*Math.sin(p.startAngle+p.angle/4),b=s*Math.cos(p.startAngle+p.angle/2),w=s*Math.sin(p.startAngle+p.angle/2),E=s*Math.cos(p.startAngle+p.angle/1.5),S=s*Math.sin(p.startAngle+p.angle/1.5),x=s*Math.cos(p.startAngle+p.angle),T=s*Math.sin(p.startAngle+p.angle),N=[[0,0],[d,v],[m,y],[b,w],[E,S],[x,T]],C=[o,l];if(g(N,C))return c.restore(),{datapoint:[p.percent,p.data],dataIndex:0,series:p,seriesIndex:h}}c.restore()}}return null}function b(e){E("plothover",e)}function w(e){E("plotclick",e)}function E(e,t){var n=r.offset(),s=parseInt(t.pageX-n.left),u=parseInt(t.pageY-n.top),a=y(s,u);if(i.grid.autoHighlight)for(var f=0;f<h.length;++f){var l=h[f];l.auto==e&&(!a||l.series!=a.series)&&x(l.series)}a&&S(a.series,e);var c={pageX:t.pageX,pageY:t.pageY};o.trigger(e,[c,a])}function S(e,t){var n=T(e);n==-1?(h.push({series:e,auto:t}),r.triggerRedrawOverlay()):t||(h[n].auto=!1)}function x(e){e==null&&(h=[],r.triggerRedrawOverlay());var t=T(e);t!=-1&&(h.splice(t,1),r.triggerRedrawOverlay())}function T(e){for(var t=0;t<h.length;++t){var n=h[t];if(n.series==e)return t}return-1}function N(e,t){function s(e){if(e.angle<=0||isNaN(e.angle))return;t.fillStyle="rgba(255, 255, 255, "+n.series.pie.highlight.opacity+")",t.beginPath(),Math.abs(e.angle-Math.PI*2)>1e-9&&t.moveTo(0,0),t.arc(0,0,r,e.startAngle,e.startAngle+e.angle/2,!1),t.arc(0,0,r,e.startAngle+e.angle/2,e.startAngle+e.angle,!1),t.closePath(),t.fill()}var n=e.getOptions(),r=n.series.pie.radius>1?n.series.pie.radius:u*n.series.pie.radius;t.save(),t.translate(a,f),t.scale(1,n.series.pie.tilt);for(var i=0;i<h.length;++i)s(h[i].series);m(t),t.restore()}var s=null,o=null,u=null,a=null,f=null,l=!1,c=null,h=[];r.hooks.processOptions.push(function(e,t){t.series.pie.show&&(t.grid.show=!1,t.series.pie.label.show=="auto"&&(t.legend.show?t.series.pie.label.show=!1:t.series.pie.label.show=!0),t.series.pie.radius=="auto"&&(t.series.pie.label.show?t.series.pie.radius=.75:t.series.pie.radius=1),t.series.pie.tilt>1?t.series.pie.tilt=1:t.series.pie.tilt<0&&(t.series.pie.tilt=0))}),r.hooks.bindEvents.push(function(e,t){var n=e.getOptions();n.series.pie.show&&(n.grid.hoverable&&t.unbind("mousemove").mousemove(b),n.grid.clickable&&t.unbind("click").click(w))}),r.hooks.processDatapoints.push(function(e,t,n,r){var i=e. (…)
|
/external/chromium_org/third_party/polymer/components-chromium/core-layout-grid/ |
core-layout-grid-extracted.js | 4 Polymer('core-layout-grid', { 26 case 'core-layout-grid':
|