/external/webkit/Source/WebCore/platform/qt/ |
ScreenQt.cpp | 92 float scaleFactor(const Page*)
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebPopupMenuProxy.h | 62 virtual void showPopupMenu(const WebCore::IntRect& rect, WebCore::TextDirection, double scaleFactor, const Vector<WebPopupItem>& items, const PlatformPopupMenuData&, int32_t selectedIndex) = 0;
|
/sdk/assetstudio/src/com/android/assetstudiolib/ |
LauncherIconGenerator.java | 52 float scaleFactor = GraphicGenerator.getMdpiScaleFactor(launcherOptions.density); 55 scaleFactor = 512 / (float) IMAGE_SIZE_MDPI.height; 57 Rectangle imageRect = Util.scaleRectangle(IMAGE_SIZE_MDPI, scaleFactor); 58 Rectangle targetRect = Util.scaleRectangle(TARGET_RECT_MDPI, scaleFactor);
|
NotificationIconGenerator.java | 54 final float scaleFactor = GraphicGenerator.getMdpiScaleFactor(options.density); 55 Rectangle imageRect = Util.scaleRectangle(iconSizeMdpi, scaleFactor); 56 Rectangle targetRect = Util.scaleRectangle(targetRectMdpi, scaleFactor);
|
Util.java | 45 * @param scaleFactor The factor to scale by. 48 public static Rectangle scaleRectangle(Rectangle rect, float scaleFactor) { 50 (int) Math.round(rect.x * scaleFactor), 51 (int) Math.round(rect.y * scaleFactor), 52 (int) Math.round(rect.width * scaleFactor), 53 (int) Math.round(rect.height * scaleFactor));
|
/external/aac/libFDK/include/ |
qmf.h | 181 QMF_SCALE_FACTOR *scaleFactor, /*!< Scale factors of QMF data */ 191 const QMF_SCALE_FACTOR *scaleFactor, /*!< Scale factors of QMF data */
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
SimpleFontDataHaiku.cpp | 69 SimpleFontData* SimpleFontData::scaledFontData(const FontDescription& fontDescription, float scaleFactor) const 72 desc.setSpecifiedSize(scaleFactor * fontDescription.computedSize());
|
/frameworks/base/libs/androidfw/ |
Input.cpp | 196 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { 199 c.setAxisValue(axis, value * scaleFactor); 203 void PointerCoords::scale(float scaleFactor) { 206 scaleAxisValue(*this, AMOTION_EVENT_AXIS_X, scaleFactor); 207 scaleAxisValue(*this, AMOTION_EVENT_AXIS_Y, scaleFactor); 208 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MAJOR, scaleFactor); 209 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MINOR, scaleFactor); 210 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MAJOR, scaleFactor); 211 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MINOR, scaleFactor); 408 void MotionEvent::scale(float scaleFactor) { [all...] |
/external/webkit/Source/WebCore/platform/audio/fftw/ |
FFTFrameFFTW.cpp | 163 float scaleFactor = 2; 169 realData[i] = realData[i] * scaleFactor; 170 imagData[i] = imagData[i] * scaleFactor; 196 float scaleFactor = 1.0 / (2.0 * fftSize()); 199 data[i] *= scaleFactor;
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
ImageWinCE.cpp | 123 double scaleFactor = static_cast<double>(bmp->width()) / m_source.size().width(); 125 intSrcRect.setX(stableRound(srcRectIn.x() * scaleFactor)); 126 intSrcRect.setWidth(stableRound(srcRectIn.width() * scaleFactor)); 127 intSrcRect.setY(stableRound(srcRectIn.y() * scaleFactor)); 128 intSrcRect.setHeight(stableRound(srcRectIn.height() * scaleFactor));
|
/external/webkit/Source/WebCore/platform/graphics/freetype/ |
SimpleFontDataFreeType.cpp | 89 SimpleFontData* SimpleFontData::scaledFontData(const FontDescription& fontDescription, float scaleFactor) const 92 scaleFactor * fontDescription.computedSize(), m_platformData.syntheticBold(), m_platformData.syntheticOblique()),
|
/external/webkit/Source/WebCore/platform/graphics/pango/ |
SimpleFontDataPango.cpp | 87 SimpleFontData* SimpleFontData::scaledFontData(const FontDescription& fontDescription, float scaleFactor) const 90 desc.setSpecifiedSize(scaleFactor * fontDescription.computedSize());
|
/external/webkit/Source/WebCore/svg/ |
SVGMatrix.idl | 39 [Immutable, StrictTypeChecking, RequiresAllArguments=Raise] SVGMatrix scale(in float scaleFactor);
|
/external/webkit/Source/WebKit2/UIProcess/mac/ |
WebPopupMenuProxyMac.mm | 93 void WebPopupMenuProxyMac::showPopupMenu(const IntRect& rect, TextDirection textDirection, double scaleFactor, const Vector<WebPopupItem>& items, const PlatformPopupMenuData& data, int32_t selectedIndex) 98 font = [NSFont fontWithDescriptor:fontDescriptor size:((scaleFactor != 1) ? [fontDescriptor pointSize] * scaleFactor : 0)];
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
SimpleFontDataChromiumWin.cpp | 115 SimpleFontData* SimpleFontData::scaledFontData(const FontDescription& fontDescription, float scaleFactor) const 119 float scaledSize = scaleFactor * fontDescription.computedSize();
|
SimpleFontDataLinux.cpp | 158 SimpleFontData* SimpleFontData::scaledFontData(const FontDescription& fontDescription, float scaleFactor) const 160 const float scaledSize = lroundf(fontDescription.computedSize() * scaleFactor);
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
SimpleFontDataWx.cpp | 93 SimpleFontData* SimpleFontData::scaledFontData(const FontDescription& fontDescription, float scaleFactor) const 96 desc.setSpecifiedSize(scaleFactor * fontDescription.computedSize());
|
/frameworks/base/services/jni/ |
com_android_server_input_InputWindowHandle.cpp | 44 jfieldID scaleFactor; 123 mInfo->scaleFactor = env->GetFloatField(obj, 124 gInputWindowHandleClassInfo.scaleFactor); 262 GET_FIELD_ID(gInputWindowHandleClassInfo.scaleFactor, clazz, 263 "scaleFactor", "F");
|
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
AudioTrackView.java | 199 double scaleFactor = 1.0; 201 scaleFactor = 255 / maxGain; 208 int smoothedGain = (int)(smoothedGains[i] * scaleFactor); 248 double value = (smoothedGains[i] * scaleFactor - minGain) / range;
|
/external/aac/libAACdec/src/ |
aacdec_pns.cpp | 292 static void ScaleBand (FIXP_DBL *RESTRICT spec, int size, int scaleFactor, int specScale, int noise_e, int out_of_phase) 297 /* Get gain from scale factor value = 2^(scaleFactor * 0.25) */ 298 sfMatissa = MantissaTable[scaleFactor & 0x03][0]; 299 /* sfExponent = (scaleFactor >> 2) + ExponentTable[scaleFactor & 0x03][0]; */ 300 /* Note: ExponentTable[scaleFactor & 0x03][0] is always 1. */ 301 sfExponent = (scaleFactor >> 2) + 1;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
omxVCM4P2_DecodePadMV_PVOP_s.s | 88 scaleFactor RN 1 196 LSL scaleFactor,one,temp ;// scaleFactor=1<<(fcodeForward-1) 198 LSL scaleFactor,scaleFactor,#5 199 M_STR scaleFactor,pHigh ;// [pHigh]=32*scaleFactor 220 MOVEQ diffMVdx,mvHorData ;// if scaleFactor=1(fcodeForward=1) or mvHorData=0 diffMVdx=mvHorData 250 MOVEQ diffMVdy,mvVerData ;// diffMVdy = mvVerData if scaleFactor=1(fcodeForward=1) or mvVerData=0 286 M_LDR High,pHigh ;// High=32*scaleFactor [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
omxVCM4P2_DecodePadMV_PVOP_s.s | 88 scaleFactor RN 1 196 LSL scaleFactor,one,temp ;// scaleFactor=1<<(fcodeForward-1) 198 LSL scaleFactor,scaleFactor,#5 199 M_STR scaleFactor,pHigh ;// [pHigh]=32*scaleFactor 220 MOVEQ diffMVdx,mvHorData ;// if scaleFactor=1(fcodeForward=1) or mvHorData=0 diffMVdx=mvHorData 250 MOVEQ diffMVdy,mvVerData ;// diffMVdy = mvVerData if scaleFactor=1(fcodeForward=1) or mvVerData=0 286 M_LDR High,pHigh ;// High=32*scaleFactor [all...] |
/external/webkit/Source/WebKit2/UIProcess/API/mac/ |
PDFViewController.mm | 168 CGFloat scaleFactor = preferences->pdfScaleFactor(); 169 if (!scaleFactor) 173 [_pdfView setScaleFactor:scaleFactor]; 187 CGFloat scaleFactor = [_pdfView autoScales] ? 0 : [_pdfView scaleFactor]; 188 preferences->setPDFScaleFactor(scaleFactor); 444 return [m_pdfView scaleFactor];
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebPDFView.mm | 790 [state addObject:[NSNumber numberWithFloat:[PDFSubview scaleFactor]]]; 841 return [PDFSubview scaleFactor] != 1.0; [all...] |