Searched refs:scale (Results 1 - 25 of 579) sorted by relevance

1234567891011>>

/external/qemu/android/protocol/
H A Dui-commands-proxy.h33 /* Changes the scale of the emulator window at runtime.
35 * scale, is_dpi - New window scale parameters
39 extern int uicmd_set_window_scale(double scale, int is_dpi);
H A Dui-commands-qemu.c23 extern void android_emulator_set_window_scale(double scale, int is_dpi);
26 uicmd_set_window_scale(double scale, int is_dpi) argument
28 android_emulator_set_window_scale(scale, is_dpi);
H A Dui-commands-api.h20 /* Changes the scale of the emulator window at runtime.
22 * scale, is_dpi - New window scale parameters
26 extern int uicmd_set_window_scale(double scale, int is_dpi);
H A Dui-commands.h23 /* Sets window scale. */
33 double scale; member in struct:UICmdSetWindowsScale
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
H A DSimpleBigDecimal.java10 * point is called the <code>scale</code> of the <code>SimpleBigDecimal</code>.
11 * Unlike in {@link java.math.BigDecimal BigDecimal}, the scale is not adjusted
13 * taking part in the same arithmetic operation must have equal scale. The
15 * <code>SimpleBigDecimal</code> with double scale.
23 private final int scale; field in class:SimpleBigDecimal
30 * @param scale The scale of the <code>SimpleBigDecimal</code> to be
34 public static SimpleBigDecimal getInstance(BigInteger value, int scale) argument
36 return new SimpleBigDecimal(value.shiftLeft(scale), scale);
46 SimpleBigDecimal(BigInteger bigInt, int scale) argument
[all...]
/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
H A DTiledDrawingAreaQt.cpp42 void TiledDrawingArea::paintIntoUpdateChunk(UpdateChunk* updateChunk, float scale) argument
50 graphicsContext.scale(FloatSize(scale, scale));
51 IntRect contentRect = enclosingIntRect(FloatRect(tileRect.x() / scale,
52 tileRect.y() / scale,
53 tileRect.width() / scale,
54 tileRect.height() / scale));
/external/webkit/Source/WebCore/svg/
H A DSVGZoomEvent.cpp44 void SVGZoomEvent::setPreviousScale(float scale) argument
46 m_previousScale = scale;
59 void SVGZoomEvent::setNewScale(float scale) argument
61 m_newScale = scale;
/external/icu4c/test/cintltst/
H A Dutmstest.c100 static void roundTripTest(int64_t value, UDateTimeScale scale) argument
103 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status);
106 log_err("Round-trip error: time scale = %d, value = %lld, round-trip = %lld.\n", scale, value, rt);
110 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale) argument
113 int64_t result = utmscale_toInt64(toLimit, scale, &status);
116 log_err("toLimit failure: scale = %d, toLimit = %lld , utmscale_toInt64(toLimit, scale, &status) = %lld, fromLimit = %lld.\n",
117 scale, toLimi
121 epochOffsetTest(int64_t epochOffset, int64_t units, UDateTimeScale scale) argument
154 int32_t scale; local
167 int32_t scale; local
181 int32_t scale; local
196 int32_t scale; local
256 int32_t scale; local
330 int32_t scale; local
[all...]
/external/qemu/android/skin/
H A Dscaler.c17 double scale; member in struct:SkinScaler
28 _scaler0.scale = 1.0;
35 /* change the scale of a given scaler. returns 0 on success, or -1 in case of
36 * problem (unsupported scale) */
38 skin_scaler_set( SkinScaler* scaler, double scale, double xdisp, double ydisp ) argument
41 if (scale < 0.1)
42 scale = 0.1;
43 else if (scale > 6.0)
44 scale = 6.0;
46 scaler->scale
71 double scale; member in struct:__anon7996
92 double scale = scaler->scale; local
[all...]
/external/skia/gm/
H A Dfilltypes.cpp24 SkScalar scale, const SkPaint& paint) {
34 canvas->scale(scale, scale);
40 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument
42 scale, paint);
44 scale, paint);
46 scale, paint);
48 scale, paint);
57 const SkScalar scale local
23 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/android/
H A DZoomManager.h49 void scheduleUpdate(const double& currentTime, const SkIRect& viewport, float scale);
54 void setCurrentScale(float scale) { m_currentScale = scale; } argument
56 void setFutureScale(float scale) { m_futureScale = scale; } argument
77 double transitionTime(double currentTime, float scale) { argument
78 return (scale < m_currentScale) ? zoomOutTransitionTime(currentTime)
81 void processTransition(double currentTime, float scale, bool* doSwap,
86 void processNewScale(double currentTime, float scale);
89 // Delay between scheduling a new page when the scale
[all...]
H A DTilesProfiler.h38 TileProfileRecord(int left, int top, int right, int bottom, float scale, int isReady, int level) { argument
43 this->scale = scale;
50 float scale; member in struct:WebCore::TileProfileRecord
60 void nextFrame(int left, int top, int right, int bottom, float scale);
61 void nextTile(BaseTile& tile, float scale, bool inView);
62 void nextInval(const IntRect& rect, float scale);
H A DZoomManager.cpp69 const SkIRect& viewport, float scale)
75 setFutureScale(scale);
84 if (futureScale() == scale) {
85 // we are still with the previous scale, let's go
91 // a different scale factor -- meaning the user is still probably
94 setFutureScale(scale);
134 void ZoomManager::processNewScale(double currentTime, float scale) argument
140 if (scale == m_currentScale
144 // If we have a different scale than the current one, we have to
147 if ((m_currentScale != scale
68 scheduleUpdate(const double& currentTime, const SkIRect& viewport, float scale) argument
183 processTransition(double currentTime, float scale, bool* doSwap, float* backPageTransparency, float* frontPageTransparency) argument
[all...]
H A DTiledTexture.h60 IntRect computeTilesArea(IntRect& visibleArea, float scale);
62 void prepare(GLWebViewState* state, float scale, bool repaint,
80 float scale() { return m_scale; } function in class:WebCore::TiledTexture
83 int nbTextures(IntRect& area, float scale);
113 void prepare(GLWebViewState* state, float scale, bool repaint,
125 int nbTextures(IntRect& area, float scale) argument
130 return m_frontTexture->nbTextures(area, scale);
134 // Delay before we schedule a new tile at the new scale factor
H A DPaintTileOperation.h48 float scale() { return m_tile->scale(); } function in class:WebCore::PaintTileOperation
57 ScaleFilter(TilePainter* painter, float scale) argument
59 , m_scale(scale) {}
64 if ((op->painter() == m_painter) && (op->scale() != m_scale))
H A DTiledPage.h45 * current scale factor, and another in the background that we use to paint the
46 * page at a different scale factor. For instance, when we zoom using one
49 * background TilePage at the new scale factor. When the background TilePage is
78 bool swapBuffersIfReady(const SkIRect& tileBounds, float scale);
91 float scale() const { return m_scale; } function in class:WebCore::TiledPage
94 void setScale(float scale) { m_scale = scale; m_invScale = 1 / scale; } argument
/external/skia/src/core/
H A DSkBitmapProcState_filter.h71 SkPMColor *dst, uint16_t scale) {
93 "vdup.16 d3, %[scale] \n\t" // duplicate scale into d3
95 "vmul.i16 d4, d4, d3 \n\t" // multiply result by scale
99 : [x] "r" (x), [y] "r" (y), [a00] "r" (a00), [a01] "r" (a01), [a10] "r" (a10), [a11] "r" (a11), [dst] "r" (dst), [scale] "r" (scale)
116 int scale = 256 - 16*y - 16*x + xy; local
117 uint32_t lo = (a00 & mask) * scale;
118 uint32_t hi = ((a00 >> 8) & mask) * scale;
120 scale
68 Filter_32_alpha_neon(unsigned x, unsigned y, SkPMColor a00, SkPMColor a01, SkPMColor a10, SkPMColor a11, SkPMColor *dst, uint16_t scale) argument
146 int scale = 256 - 16*y - 16*x + xy; local
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DTimeSystem.java66 float scale = 1.0f;
75 scale = Lerp.ease(1.0f, mTargetScale, EASE_DURATION, scaleTime);
79 scale = Lerp.ease(mTargetScale, 1.0f, EASE_DURATION, easeOutTime);
81 scale = mTargetScale;
84 scale = mTargetScale;
89 mGameTime += (timeDelta * scale);
90 mGameFrameDelta = (timeDelta * scale);
/external/srec/srec/clib/
H A Dlog_add.c41 #define DO_USE_LOGTAB__TABLE ( logtab->scale == 61 \
51 ASSERT(logtab->scale != 0);
54 logtab->add_log_limit = (prdata)(ADD_LOG_LIMIT * mul_scale * logtab->scale);
61 PRINT_SOME_CODE( "#define DO_USE_LOGTAB__TABLE (logtab->scale == %d \\\n", logtab->scale);
66 table[ii] = (prdata)(logtab->scale * mul_scale * log(1
67 + exp(-(float)ii / ((float)logtab->scale * mul_scale)))
74 PLogMessage("L: log table scale is %f\n", (float)logtab->scale);
/external/skia/samplecode/
H A DSampleFillType.cpp34 SkScalar scale, const SkPaint& paint) {
44 canvas->scale(scale, scale);
50 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument
52 scale, paint);
54 scale, paint);
56 scale, paint);
58 scale, paint);
65 const SkScalar scale local
33 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument
[all...]
/external/webkit/Source/WebCore/platform/qt/
H A DDragImageQt.cpp47 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) argument
52 int scaledWidth = image->width() * scale.width();
53 int scaledHeight = image->height() * scale.height();
/external/clang/test/PCH/
H A Dblocks.h12 __block int scale = s;
13 return call_block(^(int x, int y) { return x*scale + y; }, a, b);
/external/skia/include/core/
H A DSkUnPreMultiply.h45 SkUnPreMultiply::Scale scale = table[a];
47 red = SkUnPreMultiply::ApplyScale(scale, red);
52 static U8CPU ApplyScale(Scale scale, U8CPU component) { argument
54 return (scale * component + (1 << 23)) >> 24;
/external/webkit/Source/WebCore/platform/audio/
H A DVectorMath.cpp44 void vsmul(const float* sourceP, int sourceStride, const float* scale, float* destP, int destStride, size_t framesToProcess) argument
47 ::vsmul(sourceP, sourceStride, scale, destP, destStride, framesToProcess);
49 vDSP_vsmul(sourceP, sourceStride, scale, destP, destStride, framesToProcess);
64 void vsmul(const float* sourceP, int sourceStride, const float* scale, float* destP, int destStride, size_t framesToProcess)
68 float k = *scale;
/external/webkit/Source/WebCore/platform/gtk/
H A DDragImageGtk.cpp43 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) argument
48 int newWidth = scale.width() * cairo_image_surface_get_width(image);
49 int newHeight = scale.height() * cairo_image_surface_get_height(image);
53 cairo_scale(context.get(), scale.width(), scale.height());

Completed in 399 milliseconds

1234567891011>>