/development/samples/USB/MissileLauncher/ |
README.txt | 3 Tilt the tablet to change the direction of the launcher.
|
_index.html | 3 Tilt the tablet to change the direction of the launcher. Pressing the <strong>Fire</strong> button will fire one missile.</p>
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/ |
Gemfile.lock | 39 tilt (~> 1.1, != 1.3.0) 41 tilt (1.3.3)
|
/hardware/ti/omap4xxx/camera/ |
SensorListener.cpp | 54 int tilt = 0, orient = 0; local 64 tilt = (int) asinf(z / radius) * RADIANS_2_DEG; 80 listener->handleOrientation(orient, tilt); 81 CAMHAL_LOGVB(" tilt = %d orientation = %d", tilt, orient); 184 void SensorListener::handleOrientation(uint32_t orientation, uint32_t tilt) { 190 mOrientationCb(orientation, tilt, mCbCookie);
|
/hardware/ti/omap4xxx/camera/inc/ |
SensorListener.h | 39 typedef void (*orientation_callback_t) (uint32_t orientation, uint32_t tilt, void* cookie); 85 void handleOrientation(uint32_t orientation, uint32_t tilt);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
WindowOrientationListener.java | 199 * The elevation angle is referred to as the "tilt" below. 204 * - If the tilt angle is too close to horizontal (near 90 or -90 degrees), do nothing. 206 * The tilt angle thresholds are set differently for each orientation and different 256 // If the tilt angle remains greater than the specified angle for a minimum of 262 // If the tilt angle has increased by at least delta degrees within the specified amount 264 // down towards flat (tilt = 90). 279 // try to calculate the tilt and orientation angles. 310 // singularities in the tilt and orientation calculations. 323 // Maximum absolute tilt angle at which to consider orientation data. Beyond this (i.e. 327 // The tilt angle range in degrees for each orientation [all...] |
/external/chromium_org/third_party/opus/src/silk/float/ |
prefilter_FLP.c | 43 silk_float Tilt, /* I */ 103 silk_float HarmShapeGain, Tilt, LF_MA_shp, LF_AR_shp; 126 Tilt = psEncCtrl->Tilt[ k ]; 145 silk_prefilt_FLP( P, pxw, pxw, HarmShapeFIR, Tilt, LF_MA_shp, LF_AR_shp, lag, psEnc->sCmn.subfr_length ); 161 silk_float Tilt, /* I */ 191 n_Tilt = sLF_AR_shp * Tilt;
|
noise_shape_analysis_FLP.c | 137 silk_float SNR_adj_dB, HarmBoost, HarmShapeGain, Tilt; 305 /* Control low-frequency shaping and noise tilt */ 318 Tilt = - HP_NOISE_COEF - 328 Tilt = -HP_NOISE_COEF; 362 psShapeSt->Tilt_smth += SUBFR_SMTH_COEF * ( Tilt - psShapeSt->Tilt_smth ); 363 psEncCtrl->Tilt[ k ] = psShapeSt->Tilt_smth;
|
structs_FLP.h | 95 silk_float Tilt[ MAX_NB_SUBFR ];
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
TouchPaint.java | 49 * an eraser tool. Second, the tilt angle and orientation of the stylus can be 453 float distance, float tilt) { 476 drawSplat(mCanvas, x, y, orientation, distance, tilt, mPaint); 508 * indicated by the orientation and tilt of the tool and throws paint at 514 float distance, float tilt, Paint paint) { 518 float nx = (float) (Math.sin(orientation) * Math.sin(tilt)); 519 float ny = (float) (- Math.cos(orientation) * Math.sin(tilt)); 520 float nz = (float) Math.cos(tilt); 538 // Apply the nozzle tilt angle. 540 vy = temp * Math.cos(tilt) - vz * Math.sin(tilt) [all...] |
/frameworks/base/tools/orientationplot/ |
README.txt | 35 filtered accelerometer data, measured tilt and orientation angle, confidence 74 4. The orientation angle is not measured when the tilt is too close to 90 or -90 79 5. Each orientation has its own bound on allowable tilt angles. It's a good idea to 80 verify that these limits are being enforced by gradually varying the tilt of 86 can be a bit unusual. The tilt is a good indicator of whether the device is
|
/external/chromium_org/third_party/flot/ |
jquery.flot.pie.min.js | 24 tilt: 0-1 for percentage to tilt the pie, where 1 is no tilt, and 0 is completely flat (nothing will show) 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 (…) [all...] |
/external/kernel-headers/original/linux/ |
kxtf9.h | 47 #define TPE 0x01 /* tilt position function enable bit */ 51 #define OTP1_6 0x00 /* tilt ODR masks */
|
/external/chromium_org/third_party/opus/src/silk/ |
tuning_parameters.h | 135 /* parameter for applying a high-pass tilt to the input signal */ 138 /* parameter for extra high-pass tilt to the input signal at high rates */ 147 /* subframe smoothing coefficient for HarmBoost, HarmShapeGain, Tilt (lower -> more smoothing) */
|
VAD.c | 74 /* Weighting factors for tilt measure */ 217 /* Tilt measure */ 240 /* Frequency Tilt Measure */
|
NSQ.c | 61 opus_int Tilt_Q14, /* I Spectral tilt */ 81 const opus_int Tilt_Q14[ MAX_NB_SUBFR ], /* I Spectral tilt */ 187 opus_int Tilt_Q14, /* I Spectral tilt */
|
/external/replicaisland/src/com/replica/replicaisland/ |
GhostComponent.java | 93 final InputXY tilt = input.getTilt(); local 95 tilt.getX() * mMovementSpeed; 98 tilt.getY() * mMovementSpeed;
|
/packages/apps/Exchange/res/values-hu/ |
strings.xml | 37 <string name="policy_dont_allow_wifi" msgid="3109487776704143995">"Wi-Fi tiltása"</string> 44 <string name="policy_dont_allow_internet_sharing" msgid="2370083814654927695">"Internetmegosztás tiltása"</string> 47 <string name="policy_app_blacklist" msgid="8169194058285873461">"Meghatározott alkalmazások tiltása"</string>
|
/external/chromium_org/chrome/android/java/res/values/ |
values.xml | 27 <!-- TabSwitcher - Maximum amount to tilt tabs in over scroll in degrees. -->
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
MissileLauncherActivity.java | 174 // compute current tilt 189 // send motion command if the tilt changed
|
/docs/source.android.com/src/devices/tech/input/ |
touch-devices.jd | 246 <p><code>ABS_TILT_X</code>: <em>(optional)</em> Reports the tilt of the tool from the surface of the 250 <p><code>ABS_TILT_Y</code>: <em>(optional)</em> Reports the tilt of the tool from the surface of the 406 tool is perpendicular to the device. A non-zero tilt is taken as an indication 408 <p>The tilt angles along the X and Y axes are assumed to be specified in degrees 411 represent a tilt up or to the left, values larger than the center point 412 represent a tilt down or to the right.</p> 413 <p>The <code>InputReader</code> converts the X and Y tilt components into a perpendicular 414 tilt angle ranging from 0 to <code>PI / 2</code> radians and a planar orientation angle 418 <p>Reporting tilt information is <em>optional</em> but recommended for stylus devices.</p> [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
synthesis_amr_wb.cpp | 216 * - Set energy of noise according to synthesis tilt. 217 * tilt > 0.8 ==> - 14 dB (voiced) 218 * tilt 0.5 ==> - 6 dB (voiced or noise) 219 * tilt < 0.0 ==> 0 dB (noise) 284 /* find tilt of synthesis speech (tilt: 1=voiced, -1=unvoiced) */ 315 /* modify energy of white noise according to synthesis tilt */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
cnst.h | 57 #define TILT_FAC 22282 /* tilt factor (denominator) (0.68 in Q15) */
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
prefilter_FIX.c | 42 opus_int Tilt_Q14, /* I Tilt shaping coeficient */ 164 opus_int Tilt_Q14, /* I Tilt shaping coeficient */
|
/external/replicaisland/res/values/ |
strings.xml | 38 <string name="preference_enable_tilt_controls">Tilt Controls</string> 39 <string name="preference_enable_tilt_controls_summary">EXPERIMENTAL! Tilt the phone left and right to drive the Android around. Good for devices with no trackball or d-pad.</string> 46 <string name="preference_tilt_sensitivity">Tilt Sensitivity</string> 47 <string name="preference_tilt_sensitivity_summary">Adjusts the sensitivity of the tilt controls.</string> 144 <string name="control_setup_dialog_tilt"><b>Tilt</b> - Sensitivity can be adjusted in Options.</string> 148 <string name="onscreen_tilt_dialog_cancel">Stick with Tilt</string> 151 mode, but your options are currently set to <b>Tilt</b> controls. Would you like to try the 152 new On-Screen Controls instead, or stick with Tilt?
|