Searched defs:scale (Results 1 - 25 of 123) sorted by path

12345

/frameworks/av/cmds/screenrecord/
H A DTextRenderer.h58 void setScale(float scale) { mScale = scale; } argument
106 // current scale factor.
124 // Value will be adjusted by the current scale factor.
/frameworks/av/include/media/
H A DVolumeShaper.h240 * the valid range for log or linear scale.
275 static const T scale = 1.f / (MAX_CURVE_TIME - MIN_CURVE_TIME); // nominally 1.f local
277 it->second = it->second + offset * (MAX_CURVE_TIME - it->first) * scale;
280 const T scale = (volume - endVolume) / (startVolume - endVolume); local
282 it->second = scale * (it->second - endVolume) + endVolume;
532 void setScale(R scale) { argument
533 mScale = scale;
686 double scale = (mConfiguration->last().first - mConfiguration->first().first) local
689 scale = std::max(scale, minScal
[all...]
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerFirProcess.h422 static const TC scale = 1. / (65536. * 65536.); // scale phase bits to [0.0, 1.0) local
423 TC lerpP = TC(phase << (sizeof(phase)*8 - coefShift)) * scale;
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp614 uint32_t scale = U32LE_AT(&data[24]); local
656 track->mScale = scale;
H A DMediaCodecList.cpp950 || !strcmp(attrs[i], "scale")
968 // quality: range + default + [scale]
997 AString range, scale = "linear", def, in_; local
1006 if (name != "quality" && msg->findString("scale", &scale)) {
1007 return limitFoundMissingAttr(name, "scale");
1023 mCurrentInfo->addDetail("quality-scale", scale);
1049 } else if (msg->contains("scale")) {
1050 return limitFoundMissingAttr(name, "scale");
[all...]
H A DVBRISeeker.cpp79 size_t scale = U16_AT(&vbriHeader[20]); local
81 ALOGV("%zu entries, scale=%zu, size_per_entry=%zu",
83 scale,
135 numBytes *= scale;
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
H A DAAC_E_SAMPLES.c115 int scale = 441; local
117 scale = 480;
118 param->bitRate = 640*param->nChannels*param->sampleRate/scale;
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c249 Word32 scale; local
255 scale = norm_l(value);
256 if(scale & 1) scale--;
258 value <<= scale; local
265 scale >>= 1;
269 root >>= scale; local
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dvad1.cpp446 scale -- Word16 -- scaling for the level calculation
515 Word16 scale, /* i : scaling for the level calculation */
531 l_temp2 = L_add(l_temp1, L_shl(*sub_level, sub(16, scale, pOverflow), pOverflow), pOverflow);
532 *sub_level = extract_h(L_shl(l_temp1, scale, pOverflow));
538 level = extract_h(L_shl(l_temp2, scale, pOverflow));
505 level_calculation( Word16 data[], Word16 *sub_level, Word16 count1, Word16 count2, Word16 ind_m, Word16 ind_a, Word16 scale, Flag *pOverflow ) argument
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Da_refl.cpp146 Word16 scale;
171 scale = sub(15, normShift);
185 L_temp = L_shr_r(L_temp, scale);
246 Word16 scale; local
275 scale = sub(15, normShift, pOverflow);
289 L_temp = L_shr_r(L_temp, scale, pOverflow);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dpitch_f4.c173 Word32 corr, exp_corr, norm, exp, scale; local
201 scale = -(exp >> 1); /* (1<<scale) < 1/sqrt(energy rounded) */
241 L_tmp2 = L_add(exp_corr, exp_norm + scale);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dscaling_tab.cpp50 const int32 scale[63] = {0, 262145, 131073, 87382, 65537, 52430, 43692, 37450, 32769, 29128, variable
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.h31 const Int *scale; member in struct:struct_approxDCT
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp297 sp<WebmElement> WebmElement::SegmentInfo(uint64_t scale, double dur) { argument
301 segmentInfo.push_back(new WebmUnsigned(kMkvTimecodeScale, scale));
/frameworks/av/media/vndk/xmlparser/1.0/
H A DMediaCodecsXmlParser.cpp652 || !strcmp(attrs[i], "scale")
671 // quality: range + default + [scale]
704 AString range, scale = "linear", def, in_; local
713 if (name != "quality" && msg->findString("scale", &scale)) {
714 return limitFoundMissingAttr(name, "scale");
730 mCurrentType->mDetails["quality-scale"] = scale;
756 } else if (msg->contains("scale")) {
757 return limitFoundMissingAttr(name, "scale");
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java827 * Default scale of 1.0f (original size) and 90% quality is used
845 * @param scale scale the screenshot down if needed; 1.0f for original size
850 public boolean takeScreenshot(File storePath, float scale, int quality) { argument
851 Tracer.trace(storePath, scale, quality);
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java378 float scale, float centerX, float centerY);
718 private void onMagnificationChanged(@NonNull Region region, float scale, argument
722 region, scale, centerX, centerY);
855 void dispatchMagnificationChanged(final @NonNull Region region, final float scale, argument
879 region, scale, centerX, centerY);
884 listener.onMagnificationChanged(this, region, scale, centerX, centerY);
890 * Returns the current magnification scale.
897 * @return the current magnification scale
907 Log.w(LOG_TAG, "Failed to obtain scale", re);
974 * magnification scale an
377 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument
1048 setScale(float scale, boolean animate) argument
1111 onMagnificationChanged(@onNull MagnificationController controller, @NonNull Region region, float scale, float centerX, float centerY) argument
1657 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManager.java2047 float scale;
2050 scale = (float) size.x / (float) th;
2051 dx = (size.y - tw * scale) * 0.5f;
2053 scale = (float) size.y / (float) tw;
2054 dy = (size.x - th * scale) * 0.5f;
2057 matrix.setScale(scale, scale);
2307 boolean reducedResolution, float scale) {
2312 mScale = scale;
2353 * @return The scale thi
2306 TaskSnapshot(GraphicBuffer snapshot, int orientation, Rect contentInsets, boolean reducedResolution, float scale) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java93 * Application's scale.
98 * Application's inverted scale.
255 int dens, float scale, float invertedScale) {
258 applicationScale = scale;
325 rect.scale(applicationInvertedScale);
332 transparentRegion.scale(applicationScale);
340 /* When we scale for compatibility, we can put our stretched
358 canvas.scale(applicationScale, applicationScale);
365 event.scale(applicationInvertedScale);
373 params.scale(applicationScal
254 CompatibilityInfo(int compFlags, int dens, float scale, float invertedScale) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java103 float scale = sx < sy ? sx : sy;
104 sx = scale;
105 sy = scale;
113 float scale = sx < sy ? sx : sy;
114 sx = scale;
115 sy = scale;
118 float scale = sy * NONUNIFORM_SCALE;
119 if (scale < sx) {
120 sx = scale;
123 float scale
585 static float[] scale(float[] points, float sx, float sy) { method in class:GestureUtils
[all...]
/frameworks/base/core/java/android/view/
H A DMagnificationSpec.java34 public float scale = 1.0f; field in class:MagnificationSpec
52 public void initialize(float scale, float offsetX, float offsetY) { argument
53 if (scale < 1) {
56 this.scale = scale;
62 return scale == 1.0f && offsetX == 0 && offsetY == 0;
67 info.scale = other.scale;
84 scale = 1.0f;
90 scale
[all...]
H A DMotionEvent.java589 * although it is not a linear scale. This value is of limited use.
1562 private static native void nativeScale(long nativePtr, float scale); argument
1853 * Applies a scale factor to all points within this event.
1858 * are also affected by the scale factor.
1860 * @param scale The scale factor to apply.
1863 public final void scale(float scale) { argument
1864 if (scale != 1.0f) {
1865 nativeScale(mNativePtr, scale);
[all...]
H A DWindowManager.java2502 public void scale(float scale) { argument
2503 x = (int) (x * scale + 0.5f);
2504 y = (int) (y * scale + 0.5f);
2506 width = (int) (width * scale + 0.5f);
2509 height = (int) (height * scale + 0.5f);
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java486 * How much to scale the duration by.
488 * @param scale The amount to scale the duration.
490 public void scaleCurrentDuration(float scale) { argument
491 mDuration = (long) (mDuration * scale);
492 mStartOffset = (long) (mStartOffset * scale);
638 * The scale factor is set by the call to <code>getTransformation</code>. Overrides of
643 * @return float The scale factor that should be applied to pre-scaled values in
780 * a scale animation will.</p>
792 * whereas a 200% scale animatio
950 getTransformation(long currentTime, Transformation outTransformation, float scale) argument
[all...]
H A DAnimationSet.java412 public void scaleCurrentDuration(float scale) { argument
416 animations.get(i).scaleCurrentDuration(scale);

Completed in 3603 milliseconds

12345