/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/opencv3/samples/python2/ |
asift.py | 34 def affine_skew(tilt, phi, img, mask=None): 36 affine_skew(tilt, phi, img, mask=None) -> skew_img, skew_mask, Ai 54 if tilt != 1.0: 55 s = 0.8*np.sqrt(tilt*tilt-1) 57 img = cv2.resize(img, (0, 0), fx=1.0/tilt, fy=1.0, interpolation=cv2.INTER_NEAREST) 58 A[0] /= tilt 59 if phi != 0.0 or tilt != 1.0:
|
/hardware/ti/omap4-aah/camera/ |
SensorListener.cpp | 52 int tilt = 0, orient = 0; local 62 tilt = (int) asinf(z / radius) * RADIANS_2_DEG; 78 listener->handleOrientation(orient, tilt); 79 CAMHAL_LOGVB(" tilt = %d orientation = %d", tilt, orient); 182 void SensorListener::handleOrientation(uint32_t orientation, uint32_t tilt) { 188 mOrientationCb(orientation, tilt, mCbCookie);
|
/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);
|
/external/libopus/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;
|
/hardware/bsp/intel/peripheral/libupm/src/mma7660/ |
mma7660.h | 57 * generation of interrupts for various conditions, tilt and basic 108 // tilt BackFront (BF) bits 114 // tilt LandscapePortrait (LP) bits 209 * Reads the tilt register, verifying its validity 211 * @return Tilt value 237 * @return Bits corresponding to the BackFront tilt status 246 * @return Bits corresponding to the LandscapePortrait tilt status
|
/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 | 37 filtered accelerometer data, measured tilt and orientation angle, confidence 76 4. The orientation angle is not measured when the tilt is too close to 90 or -90 81 5. Each orientation has its own bound on allowable tilt angles. It's a good idea to 82 verify that these limits are being enforced by gradually varying the tilt of 88 can be a bit unusual. The tilt is a good indicator of whether the device is
|
/frameworks/base/services/core/java/com/android/server/policy/ |
WindowOrientationListener.java | 313 * The elevation angle is referred to as the "tilt" below. 318 * - If the tilt angle is too close to horizontal (near 90 or -90 degrees), do nothing. 320 * The tilt angle thresholds are set differently for each orientation and different 367 // If the tilt angle remains greater than the specified angle for a minimum of 373 // If the tilt angle has increased by at least delta degrees within the specified amount 375 // down towards flat (tilt = 90). 390 // try to calculate the tilt and orientation angles. 421 // singularities in the tilt and orientation calculations. 434 // Maximum absolute tilt angle at which to consider orientation data. Beyond this (i.e. 439 // The tilt angle below which we conclude that the user is holding the devic [all...] |
/hardware/ti/omap4-aah/camera/inc/ |
SensorListener.h | 42 typedef void (*orientation_callback_t) (uint32_t orientation, uint32_t tilt, void* cookie); 88 void handleOrientation(uint32_t orientation, uint32_t tilt);
|
/device/google/contexthub/firmware/src/drivers/window_orientation/ |
window_orientation.c | 311 static void addTiltHistoryEntry(uint64_t now, int8_t tilt) 337 mTask.tilt_history[index] = tilt; 359 // Tilt has remained greater than FLAT_ANGLE for FLAT_TIME. 366 static bool isSwinging(uint64_t now, int8_t tilt) 374 if (mTask.tilt_history[i] + SWING_AWAY_ANGLE_DELTA <= tilt) { 458 // Calculate the tilt angle. 480 // If the tilt angle is too close to horizontal then we cannot 492 LOGD("Ignoring sensor data, tilt angle too high: %d", (int)tilt_angle); 515 LOGD("Predicted: tilt %d, orientation %d, predicted %d", 520 "tilt %d, orientation %d" [all...] |
/external/chromium-trace/catapult/third_party/flot/ |
jquery.flot.pie.js | 24 tilt: 0-1 for percentage to tilt the pie, where 1 is no tilt, and 0 is completely flat (nothing will show) 110 // ensure sane tilt 112 if (options.series.pie.tilt > 1) { 113 options.series.pie.tilt = 1; 114 } else if (options.series.pie.tilt < 0) { 115 options.series.pie.tilt = 0; 290 maxRadius = Math.min(canvasWidth, canvasHeight / options.series.pie.tilt) / 2; 321 if (options.series.pie.tilt <= 0.8) [all...] |
jquery.flot.pie.min.js | 7 (function($){var REDRAW_ATTEMPTS=10;var REDRAW_SHRINK=.95;function init(plot){var canvas=null,target=null,options=null,maxRadius=null,centerLeft=null,centerTop=null,processed=false,ctx=null;var highlights=[];plot.hooks.processOptions.push(function(plot,options){if(options.series.pie.show){options.grid.show=false;if(options.series.pie.label.show=="auto"){if(options.legend.show){options.series.pie.label.show=false}else{options.series.pie.label.show=true}}if(options.series.pie.radius=="auto"){if(options.series.pie.label.show){options.series.pie.radius=3/4}else{options.series.pie.radius=1}}if(options.series.pie.tilt>1){options.series.pie.tilt=1}else if(options.series.pie.tilt<0){options.series.pie.tilt=0}}});plot.hooks.bindEvents.push(function(plot,eventHolder){var options=plot.getOptions();if(options.series.pie.show){if(options.grid.hoverable){eventHolder.unbind("mousemove").mousemove(onMouseMove)}if(options.grid.clickable){eventHolder.unbind("click").click(onClick)}}});plot.hooks.processDatapoints.push(function(plot,series,data,datapoints){var options=plot.getOptions();if(options.series.pie.show){processDatapoints(plot,series,data,datapoints)}});plot.hooks.drawOverlay.push(function(plot,octx){var options=plot.getOptions();if(options.series.pie.show){drawOverlay(plot,octx)}});plot.hooks.draw.push(function(plot,newCtx){var options=plot.getOptions();if(options.series.pie.show){draw(plot,newCtx)}});function processDatapoints(plot,series,datapoints){if(!processed){processed=true;canvas=plot.getCanvas();target=$(canvas).parent();options=plot.getOptions();plot.setData(combine(plot.getData()))}}function combine(data){var total=0,combined=0,numCombined=0,color=options.series.pie.combine.color,newdata=[];for(var i=0;i<data.length;++i){var value=data[i].data;if($.isArray(value)&&value.length==1){value=value[0]}if($.isArray(value)){if(!isNaN(parseFloat(value[1]))&&isFinite(value[1])){value[1]=+value[1]}else{value[1]=0}}else if(!isNaN(parseFloat(value))&&isFinite(value)){value=[1,+value]}else{value=[1,0]}data[i].data=[value]}for(var i=0;i<data.length;++i){total+=data[i].data[0][1]}for(var i=0;i<data.length;++i){var value=data[i].data[0][1];if(value/total<=options.series.pie.combine.threshold){combined+=value;numCombined++;if(!color){color=data[i].color}}}for(var i=0;i<data.length;++i){var value=data[i].data[0][1];if(numCombined<2||value/total>options.series.pie.combine.threshold){newdata.push($.extend(data[i],{data:[[1,value]],color:data[i].color,label:data[i].label,angle:value*Math.PI*2/total,percent:value/(total/100)}))}}if(numCombined>1){newdata.push({data:[[1,combined]],color:color,label:options.series.pie.combine.label,angle:combined*Math.PI*2/total,percent:combined/(total/100)})}return newdata}function draw(plot,newCtx){if(!target){return}var canvasWidth=plot.getPlaceholder().width(),canvasHeight=plot.getPlaceholder().height(),legendWidth=target.children().filter(".legend").children().width()||0;ctx=newCtx;processed=false;maxRadius=Math.min(canvasWidth,canvasHeight/options.series.pie.tilt)/2;centerTop=canvasHeight/2+options.series.pie.offset.top;centerLeft=canvasWidth/2;if(options.series.pie.offset.left=="auto"){if(options.legend.position.match("w")){centerLeft+=legendWidth/2}else{centerLeft-=legendWidth/2}if(centerLeft<maxRadius){centerLeft=maxRadius}else if(centerLeft>canvasWidth-maxRadius){centerLeft=canvasWidth-maxRadius}}else{centerLeft+=options.series.pie.offset.left}var slices=plot.getData(),attempts=0;do{if(attempts>0){maxRadius*=REDRAW_SHRINK}attempts+=1;clear();if(options.series.pie.tilt<=.8){drawShadow()}}while(!drawPie()&&attempts<REDRAW_ATTEMPTS);if(attempts>=REDRAW_ATTEMPTS){clear();target.prepend("<div class='error'>Could not draw pie with labels contained inside canvas</div>")}if(plot.setSeries&&plot.insertLegend){plot.setSeries(slices);plot.insertLegend()}function clear(){ctx.clearRect(0,0,canvasWidth,canvasHeight);target.children().filter(".pieLabel, .pieLabelBackground").remove()}function drawShadow(){var shadowLeft=options.series.pie.shadow.left;var shadowTop=options.series.pie.shadow.top;var edge=10;var alpha=options.series.pie.shadow.alpha;var radius=options.series.pie.radius>1?options.series.pie.radius:maxRadius*options.series.pie.radius;if(radius>=canvasWidth/2-shadowLeft||radius*options.series.pie.tilt>=canvasHeight/2-shadowTop||radius<=edge){return}ctx.save();ctx.translate(shadowLeft,shadowTop);ctx.globalAlpha=alpha;ctx.fillStyle="#000";ctx.translate(centerLeft,centerTop);ctx.scale(1,options.series.pie.tilt);for(var i=1;i<=edge;i++){ctx.beginPath();ctx.arc(0,0,radius,0,Math.PI*2,false);ctx.fill();radius-=i}ctx.restore()}function drawPie(){var startAngle=Math.PI*options.series.pie.startAngle;var radius=options.series.pie.radius>1?options.series.pie.radius:maxRadius*options.series.pie.radius;ctx.save();ctx.translate(centerLeft,centerTop);ctx.scale(1,options.series.pie.tilt);ctx.save();var currentAngle=startAngle;for(var i=0;i<slices.length;++i){slices[i].startAngle=currentAngle;drawSlice(slices[i].angle,slices[i].color,true)}ctx.restore();if(options.series.pie.stroke.width>0){ctx.save();ctx.lineWidth=options.series.pie.stroke.width;currentAngle=startAngle;for(var i=0;i<slices.length;++i){drawSlice(slices[i].angle,options.series.pie.stroke.color,false)}ctx.restore()}drawDonutHole(ctx);ctx.restore();if(options.series.pie.label.show){return drawLabels()}else return true;function drawSlice(angle,color,fill){if(angle<=0||isNaN(angle)){return}if(fill){ctx.fillStyle=color}else{ctx.strokeStyle=color;ctx.lineJoin="round"}ctx.beginPath();if(Math.abs(angle-Math.PI*2)>1e-9){ctx.moveTo(0,0)}ctx.arc(0,0,radius,currentAngle,currentAngle+angle/2,false);ctx.arc(0,0,radius,currentAngle+angle/2,currentAngle+angle,false);ctx.closePath();currentAngle+=angle;if(fill){ctx.fill()}else{ctx.stroke()}}function drawLabels(){var currentAngle=startAngle;var radius=options.series.pie.label.radius>1?options.series.pie.label.radius:maxRadius*options.series.pie.label.radius;for(var i=0;i<slices.length;++i){if(slices[i].percent>=options.series.pie.label.threshold*100){if(!drawLabel(slices[i],currentAngle,i)){return false}}currentAngle+=slices[i].angle}return true;function drawLabel(slice,startAngle,index){if(slice.data[0][1]==0){return true}var lf=options.legend.labelFormatter,text,plf=options.series.pie.label.formatter;if(lf){text=lf(slice.label,slice)}else{text=slice.label}if(plf){text=plf(text,slice)}var halfAngle=(startAngle+slice.angle+startAngle)/2;var x=centerLeft+Math.round(Math.cos(halfAngle)*radius);var y=centerTop+Math.round(Math.sin(halfAngle)*radius)*options.series.pie.tilt;var html="<span class='pieLabel' id='pieLabel"+index+"' style='position:absolute;top:"+y+"px;left: (…) [all...] |
/frameworks/base/docs/html/training/maps/ |
index.jd | 48 Give your users a different view of the world with the ability to control the rotation, tilt, 56 360-degree views. Programmatically control the zoom and orientation (tilt and bearing) of the
|
/frameworks/base/packages/MtpDocumentsProvider/res/values-is-rIS/ |
strings.xml | 23 <string name="error_busy_device" msgid="3997316850357386589">"Hitt tćkiđ er upptekiđ. Ţú getur ekki fćrt skrár fyrr en ţađ er tiltćkt."</string>
|
/external/libopus/silk/ |
tuning_parameters.h | 138 /* parameter for applying a high-pass tilt to the input signal */ 141 /* parameter for extra high-pass tilt to the input signal at high rates */ 150 /* subframe smoothing coefficient for HarmBoost, HarmShapeGain, Tilt (lower -> more smoothing) */
|
/external/replicaisland/src/com/replica/replicaisland/ |
GhostComponent.java | 93 final InputXY tilt = input.getTilt(); local 95 tilt.getX() * mMovementSpeed; 98 tilt.getY() * mMovementSpeed;
|
/device/google/contexthub/firmware/misc/variant/lunchbox/ |
Makefile | 62 # Tilt detection
|
/device/google/contexthub/firmware/misc/variant/nucleo/ |
Makefile | 65 # Tilt detection
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
MissileLauncherActivity.java | 174 // compute current tilt 189 // send motion command if the tilt changed
|
/packages/apps/Dialer/res/values-hu/ |
strings.xml | 28 <string name="action_block_number" msgid="1482657602262262134">"Szám tiltása"</string> 30 <string name="action_unblock_number" msgid="3043777622269776127">"Szám tiltásának feloldása"</string> 31 <string name="snackbar_number_unblocked" msgid="4854738171099045912">"A következ? szám tiltása feloldva: <xliff:g id="NUMBER">%1$s</xliff:g>"</string> 164 <string name="migrate_blocked_numbers_dialog_message" msgid="5598530398682662860">"Az Ön fokozottabb védelme érdekében a telefonnak módosítania kell a tiltás m?ködését. A letiltott számok most már a hívásokat és az SMS-eket is megakadályozzák, és megoszthatók más alkalmazásokkal is."</string> 171 <string name="unblock_number_confirmation_title" msgid="252824779504084354">"Feloldja a következ? szám tiltását: <xliff:g id="NUMBER">%1$s</xliff:g>?"</string> 172 <string name="unblock_number_ok" msgid="6449899182699684786">"TILTÁS FELOLDÁSA"</string> 184 <string name="search_shortcut_block_number" msgid="4787156645163436072">"Szám tiltása"</string> 246 <string name="blocked_numbers_disabled_emergency_desc" msgid="7755803249073401381">"Felfüggesztettük a hívások tiltását, mert az elmúlt 48 órában tárcsázta a segélyhívót err?l a telefonról. A funkciót automatikusan újból engedélyezzük 48 óra elteltével."</string> 253 <string name="description_blocked_number_list_delete" msgid="3240093199107796792">"Szám tiltásának feloldása"</string> 260 <string name="call_blocking_disabled_notification_title" msgid="8185193413377920194">"A hívások tiltása funkció kikapcsolva 48 órára"</string [all...] |
/docs/source.android.com/src/devices/input/ |
touch-devices.jd | 254 <p><code>ABS_TILT_X</code>: <em>(optional)</em> Reports the tilt of the tool from the surface of the 258 <p><code>ABS_TILT_Y</code>: <em>(optional)</em> Reports the tilt of the tool from the surface of the 414 tool is perpendicular to the device. A non-zero tilt is taken as an indication 416 <p>The tilt angles along the X and Y axes are assumed to be specified in degrees 419 represent a tilt up or to the left, values larger than the center point 420 represent a tilt down or to the right.</p> 421 <p>The <code>InputReader</code> converts the X and Y tilt components into a perpendicular 422 tilt angle ranging from 0 to <code>PI / 2</code> radians and a planar orientation angle 426 <p>Reporting tilt information is <em>optional</em> but recommended for stylus devices.</p> [all...] |