/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PhotoView.java | 712 // the center of the view. 750 // Find out the bitmap coordinates of the center of the view [all...] |
/external/chromium_org/third_party/freetype/src/pshinter/ |
pshalgo.c | 543 /* the stem is less than one pixel; we will center it 544 * around the nearest pixel center 791 FT_Fixed center = pos + ( len >> 1 ); 797 delta_a = FT_PIX_FLOOR( center ) + 32 - center; 798 delta_b = FT_PIX_ROUND( center ) - center; 802 delta_a = FT_PIX_ROUND( center ) - center; 803 delta_b = FT_PIX_FLOOR( center ) + 32 - center [all...] |
/external/freetype/src/pshinter/ |
pshalgo.c | 543 /* the stem is less than one pixel; we will center it 544 * around the nearest pixel center 791 FT_Fixed center = pos + ( len >> 1 ); 797 delta_a = FT_PIX_FLOOR( center ) + 32 - center; 798 delta_b = FT_PIX_ROUND( center ) - center; 802 delta_a = FT_PIX_ROUND( center ) - center; 803 delta_b = FT_PIX_FLOOR( center ) + 32 - center [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/ |
pshalgo.c | 543 /* the stem is less than one pixel; we will center it 544 * around the nearest pixel center 791 FT_Fixed center = pos + ( len >> 1 ); 797 delta_a = FT_PIX_FLOOR( center ) + 32 - center; 798 delta_b = FT_PIX_ROUND( center ) - center; 802 delta_a = FT_PIX_ROUND( center ) - center; 803 delta_b = FT_PIX_FLOOR( center ) + 32 - center [all...] |
/external/chromium_org/ash/display/ |
display_controller.cc | 529 gfx::Point center = display.bounds().CenterPoint(); local 530 // Use the distance squared from the center of the dislay. This is not 536 int64 distance_squared = (center - point_in_screen).LengthSquared(); 542 client->ConvertPointFromScreen(root_window, ¢er); 543 root_window->GetHost()->ConvertPointToNativeScreen(¢er); 545 target_location_in_native = center;
|
/external/chromium_org/chrome/test/chromedriver/ |
element_util.cc | 129 bool center, 135 args.AppendBoolean(center); 414 true /* center */, tmp_element_id, location); 599 false /* center */, std::string(), location); 607 bool center, 614 center, clickable_element_id, ®ion_offset); 653 center, frame_element_id, ®ion_offset);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
paint.c | 304 const VGfloat *center = &paint->gradient.radial.vals[0]; local 312 map[0] = center[0] - focal[0]; 313 map[1] = center[1] - focal[1]; 324 new_focal[0] = center[0] - map[0]; 325 new_focal[1] = center[1] - map[1];
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
paint.c | 304 const VGfloat *center = &paint->gradient.radial.vals[0]; local 312 map[0] = center[0] - focal[0]; 313 map[1] = center[1] - focal[1]; 324 new_focal[0] = center[0] - map[0]; 325 new_focal[1] = center[1] - map[1];
|
/external/valgrind/main/exp-bbv/tests/amd64-linux/ |
ll.S | 166 call center_and_print # center and print 349 call center_and_print # center and print 361 call center_and_print # center and print 445 # string to center in ecx 469 jl not_too_big # ! if so, don't center
|
/external/valgrind/main/exp-bbv/tests/x86-linux/ |
ll.S | 158 call center_and_print # center and print 347 call center_and_print # center and print 359 call center_and_print # center and print 445 # string to center in ecx 469 jl not_too_big # if so, don't center
|
/frameworks/av/media/libstagefright/ |
OggExtractor.cpp | 330 size_t center = left + (right_plus_one - left) / 2; local 332 const TOCEntry &entry = mTableOfContents.itemAt(center); 335 right_plus_one = center; 337 left = center + 1; 339 left = center;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
LinearLayoutManagerTest.java | 110 int center = (mLayoutManager.findLastVisibleItemPosition() local 112 final RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForLayoutPosition(center); 124 mTestAdapter.addAndNotify(center, childCountToAdd); 125 center += childCountToAdd; // offset item 128 final RecyclerView.ViewHolder postVH = mRecyclerView.findViewHolderForLayoutPosition(center); [all...] |
/external/chromium_org/athena/wm/ |
split_view_controller.cc | 99 gfx::Point center = transformed_bounds.CenterPoint(); variable 101 center.x() - kMinTouchDimension / 2, 102 center.y() - kMinTouchDimension / 2,
|
/external/chromium_org/chrome/browser/extensions/ |
extension_storage_monitor.cc | 534 message_center::MessageCenter* center = message_center::MessageCenter::Get(); 535 DCHECK(center); 538 center->RemoveNotification(GetNotificationId(*it), false);
|
/external/chromium_org/third_party/flot/ |
jquery.flot.navigate.min.js | 7 to pan. The plugin defines plot.zoom({ center }), plot.zoomOut() and 61 plot.zoom({ center: { left: 10, top: 20 } }); 64 plot.zoomOut({ center: { left: 10, top: 20 } }); 67 plot.zoom({ amount: 2, center: { left: 10, top: 20 } }); 72 Here, "center" specifies where the center of the zooming should happen. Note 86 */(function(e){function t(i){var l,h=this,p=i.data||{};if(p.elem)h=i.dragTarget=p.elem,i.dragProxy=a.proxy||h,i.cursorOffsetX=p.pageX-p.left,i.cursorOffsetY=p.pageY-p.top,i.offsetX=i.pageX-i.cursorOffsetX,i.offsetY=i.pageY-i.cursorOffsetY;else if(a.dragging||p.which>0&&i.which!=p.which||e(i.target).is(p.not))return;switch(i.type){case"mousedown":return e.extend(p,e(h).offset(),{elem:h,target:i.target,pageX:i.pageX,pageY:i.pageY}),o.add(document,"mousemove mouseup",t,p),s(h,!1),a.dragging=null,!1;case!a.dragging&&"mousemove":if(r(i.pageX-p.pageX)+r(i.pageY-p.pageY)<p.distance)break;i.target=p.target,l=n(i,"dragstart",h),l!==!1&&(a.dragging=h,a.proxy=i.dragProxy=e(l||h)[0]);case"mousemove":if(a.dragging){if(l=n(i,"drag",h),u.drop&&(u.drop.allowed=l!==!1,u.drop.handler(i)),l!==!1)break;i.type="mouseup"};case"mouseup":o.remove(document,"mousemove mouseup",t),a.dragging&&(u.drop&&u.drop.handler(i),n(i,"dragend",h)),s(h,!0),a.dragging=a.proxy=p.elem=!1}return!0}function n(t,n,r){t.type=n;var i=e.event.dispatch.call(r,t);return i===!1?!1:i||t.result}function r(e){return Math.pow(e,2)}function i(){return a.dragging===!1}function s(e,t){e&&(e.unselectable=t?"off":"on",e.onselectstart=function(){return t},e.style&&(e.style.MozUserSelect=t?"":"none"))}e.fn.drag=function(e,t,n){return t&&this.bind("dragstart",e),n&&this.bind("dragend",n),e?this.bind("drag",t?t:e):this.trigger("drag")};var o=e.event,u=o.special,a=u.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(n){n=e.extend({distance:a.distance,which:a.which,not:a.not},n||{}),n.distance=r(n.distance),o.add(this,"mousedown",t,n),this.attachEvent&&this.attachEvent("ondragstart",i)},teardown:function(){o.remove(this,"mousedown",t),this===a.dragging&&(a.dragging=a.proxy=!1),s(this,!0),this.detachEvent&&this.detachEvent("ondragstart",i)}};u.dragstart=u.dragend={setup:function(){},teardown:function(){}}})(jQuery),function(e){function t(t){var n=t||window.event,r=[].slice.call(arguments,1),i=0,s=0,o=0,t=e.event.fix(n);return t.type="mousewheel",n.wheelDelta&&(i=n.wheelDelta/120),n.detail&&(i=-n.detail/3),o=i,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(o=0,s=-1*i),void 0!==n.wheelDeltaY&&(o=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(s=-1*n.wheelDeltaX/120),r.unshift(t,i,s,o),(e.event.dispatch||e.event.handle).apply(this,r)}var n=["DOMMouseScroll","mousewheel"];if(e.event.fixHooks)for(var r=n.length;r;)e.event.fixHooks[n[--r]]=e.event.mouseHooks;e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=n.length;e;)this.addEventListener(n[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery),function(e){function n(t){function n(e,n){var r=t.offset();r.left=e.pageX-r.left,r.top=e.pageY-r.top,n?t.zoomOut({center:r}):t.zoom({center:r})}function r(e,t){return e.preventDefault(),n(e,t<0),!1}function a(e){if(e.which!=1)return!1;var n=t.getPlaceholder().css("cursor");n&&(i=n),t.getPlaceholder().css("cursor",t.getOptions().pan.cursor),s=e.pageX,o=e.pageY}function f(e){var n=t.getOptions().pan.frameRate;if(u||!n)return;u=setTimeout(function(){t.pan({left:s-e.pageX,top:o-e.pageY}),s=e.pageX,o=e.pageY,u=null},1/n*1e3)}function l(e){u&&(clearTimeout(u),u=null),t.getPlaceholder().css("cursor",i),t.pan({left:s-e.pageX,top:o-e.pageY})}function c(e,t){var i=e.getOptions();i.zoom.interactive&&(t[i.zoom.trigger](n),t.mousewheel(r)),i.pan.interactive&&(t.bind("dragstart",{distance:10},a),t.bind("drag",f),t.bind("dragend",l))}function h(e,t){t.unbind(e.getOptions().zoom.trigger,n),t.unbind("mousewheel",r),t.unbind("dragstart",a),t.unbind("drag",f),t.unbind("dragend",l),u&&clearTimeout(u)}var i="default",s=0,o=0,u=null;t.zoomOut=function(e){e||(e={}),e.amount||(e.amount=t.getOptions().zoom.amount),e.amount=1/e.amount,t.zoom(e)},t.zoom=function(n){n||(n={});var r=n.center,i=n.amount||t.getOptions().zoom.amount,s=t.width(),o=t.height();r||(r={left:s/2,top:o/2});var u=r. (…)
|
/frameworks/native/include/ui/ |
mat4.h | 139 static tmat44 lookAt(const tvec3<A>& eye, const tvec3<B>& center, const tvec3<C>& up); 263 tmat44<T> tmat44<T>::lookAt(const tvec3<A>& eye, const tvec3<B>& center, const tvec3<C>& up) { 264 tvec3<T> L(normalize(center - eye));
|
/external/chromium_org/third_party/skia/src/pipe/ |
SkGPipeWrite.cpp | 251 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 848 void SkGPipeCanvas::drawBitmapNine(const SkBitmap& bm, const SkIRect& center, 854 fWriter.write32(center.fLeft); 855 fWriter.write32(center.fTop); 856 fWriter.write32(center.fRight); 857 fWriter.write32(center.fBottom); [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
progress_center_item_group.js | 8 * Group of progress item in the progress center panels. 104 * null. Basically the first result of the groups that the progress center panel 106 * progress center panel generates the summarized item by using the method.
|
/external/skia/src/pipe/ |
SkGPipeWrite.cpp | 248 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 835 void SkGPipeCanvas::drawBitmapNine(const SkBitmap& bm, const SkIRect& center, 841 fWriter.write32(center.fLeft); 842 fWriter.write32(center.fTop); 843 fWriter.write32(center.fRight); 844 fWriter.write32(center.fBottom); [all...] |
/frameworks/base/libs/hwui/ |
PathTessellator.cpp | 244 static inline void storeBeginEnd(const PaintInfo& paintInfo, const Vertex& center, 249 Vector2 referencePoint = {center.x, center.y}; 324 Vector2 center = {current->x, current->y}; local 325 Vertex::set(&buffer[currentIndex++], center + strokeOffset); 326 Vertex::set(&buffer[currentIndex++], center - strokeOffset); 431 // determine referencePoint, the center point for the 4 primary cap vertices 544 2 * middlePts | Stroke's full opacity center strip [all...] |
/external/chromium-trace/trace-viewer/src/tracing/ |
timeline_view.css | 150 text-align: center;
|
/external/chromium_org/chrome/browser/resources/options/ |
cookies_view.css | 149 text-align: center;
|
manage_profile_overlay.css | 64 text-align: center;
|
/external/chromium_org/chrome/browser/resources/ |
plugins.css | 195 text-align: center;
|
policy_android.css | 115 text-align: center;
|