Home
last modified time | relevance | path

Searched refs:scaleFactor (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
DomxVCM4P2_EncodeMV.c91 OMX_U8 scaleFactor, index; in omxVCM4P2_EncodeMV() local
126 scaleFactor = 1 << (fcodeForward -1); in omxVCM4P2_EncodeMV()
153 mvHorResidual = ( armAbs(diffMV.dx) - 1) % scaleFactor; in omxVCM4P2_EncodeMV()
154 mvHorData = (armAbs(diffMV.dx) - mvHorResidual + (scaleFactor - 1)) in omxVCM4P2_EncodeMV()
155 / scaleFactor; in omxVCM4P2_EncodeMV()
170 mvVerResidual = ( armAbs(diffMV.dy) - 1) % scaleFactor; in omxVCM4P2_EncodeMV()
171 mvVerData = (armAbs(diffMV.dy) - mvVerResidual + (scaleFactor - 1)) in omxVCM4P2_EncodeMV()
172 / scaleFactor; in omxVCM4P2_EncodeMV()
DomxVCM4P2_DecodePadMV_PVOP.c95 OMX_S8 scaleFactor, index; in omxVCM4P2_DecodePadMV_PVOP() local
133 scaleFactor = 1 << (fcodeForward -1); in omxVCM4P2_DecodePadMV_PVOP()
134 high = ( 32 * scaleFactor) - 1; in omxVCM4P2_DecodePadMV_PVOP()
135 low = ( (-32) * scaleFactor); in omxVCM4P2_DecodePadMV_PVOP()
136 range = ( 64 * scaleFactor); in omxVCM4P2_DecodePadMV_PVOP()
168 if ( (scaleFactor == 1) || (mvHorData == 0) ) in omxVCM4P2_DecodePadMV_PVOP()
182 if ( (scaleFactor == 1) || (mvVerData == 0) ) in omxVCM4P2_DecodePadMV_PVOP()
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
DMandelbrot.java46 float scaleFactor = mScript.get_scaleFactor(); in onBar2Changed() local
48 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f); in onBar2Changed()
59 float scaleFactor = mScript.get_scaleFactor(); in onBar3Changed() local
61 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f); in onBar3Changed()
72 float scaleFactor = 4.f - (3.96f * (progress / 100.f)); in onBar4Changed() local
73 mScript.set_scaleFactor(scaleFactor); in onBar4Changed()
Dmandelbrot.rs23 float scaleFactor = 4.f;
27 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor;
28 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
DMandelbrot.java57 float scaleFactor = mScript.get_scaleFactor(); in onBar2Changed() local
59 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f); in onBar2Changed()
70 float scaleFactor = mScript.get_scaleFactor(); in onBar3Changed() local
72 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f); in onBar3Changed()
83 float scaleFactor = 4.f - (3.96f * (progress / 100.f)); in onBar4Changed() local
84 mScript.set_scaleFactor(scaleFactor); in onBar4Changed()
Dmandelbrot.rs23 float scaleFactor = 4.f;
27 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor;
28 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
59 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor;
60 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DMandelbrot.java57 float scaleFactor = mScript.get_scaleFactor(); in onBar2Changed() local
59 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f); in onBar2Changed()
70 float scaleFactor = mScript.get_scaleFactor(); in onBar3Changed() local
72 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f); in onBar3Changed()
83 float scaleFactor = 4.f - (3.96f * (progress / 100.f)); in onBar4Changed() local
84 mScript.set_scaleFactor(scaleFactor); in onBar4Changed()
Dmandelbrot.rs23 float scaleFactor = 4.f;
27 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor;
28 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
59 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor;
60 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dex_ctrl.cpp161 Word16 testEnergy, scaleFactor, avgEnergy, prevEnergy; in Ex_ctrl() local
201 scaleFactor = extract_l(t0); in Ex_ctrl()
204 if (carefulFlag != 0 && (scaleFactor > 3072)) in Ex_ctrl()
206 scaleFactor = 3072; in Ex_ctrl()
212 t0 = L_mult(scaleFactor, excitation[i], pOverflow); in Ex_ctrl()
/frameworks/native/libs/input/
DInput.cpp124 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { in scaleAxisValue() argument
127 c.setAxisValue(axis, value * scaleFactor); in scaleAxisValue()
131 void PointerCoords::scale(float scaleFactor) { in scale() argument
134 scaleAxisValue(*this, AMOTION_EVENT_AXIS_X, scaleFactor); in scale()
135 scaleAxisValue(*this, AMOTION_EVENT_AXIS_Y, scaleFactor); in scale()
136 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MAJOR, scaleFactor); in scale()
137 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MINOR, scaleFactor); in scale()
138 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MAJOR, scaleFactor); in scale()
139 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MINOR, scaleFactor); in scale()
341 void MotionEvent::scale(float scaleFactor) { in scale() argument
[all …]
/frameworks/native/cmds/flatland/
DMain.cpp395 float scaleFactor = float(mDesc.runHeights[mInstance]) / in setUp() local
397 uint32_t w = uint32_t(scaleFactor * float(mDesc.width)); in setUp()
416 ld.x = int32_t(scaleFactor * float(ld.x)); in setUp()
417 ld.y = int32_t(scaleFactor * float(ld.y)); in setUp()
418 ld.width = uint32_t(scaleFactor * float(ld.width)); in setUp()
419 ld.height = uint32_t(scaleFactor * float(ld.height)); in setUp()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputWindowHandle.cpp46 jfieldID scaleFactor; member
130 mInfo->scaleFactor = env->GetFloatField(obj, in updateInfo()
131 gInputWindowHandleClassInfo.scaleFactor); in updateInfo()
275 GET_FIELD_ID(gInputWindowHandleClassInfo.scaleFactor, clazz, in register_android_server_InputWindowHandle()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DomxVCM4P2_DecodePadMV_PVOP_s.s88 scaleFactor RN 1 label
196 LSL scaleFactor,one,temp ;// scaleFactor=1<<(fcodeForward-1)
198 LSL scaleFactor,scaleFactor,#5
199 M_STR scaleFactor,pHigh ;// [pHigh]=32*scaleFactor
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
DomxVCM4P2_DecodePadMV_PVOP_s.s88 scaleFactor RN 1 label
196 LSL scaleFactor,one,temp ;// scaleFactor=1<<(fcodeForward-1)
198 LSL scaleFactor,scaleFactor,#5
199 M_STR scaleFactor,pHigh ;// [pHigh]=32*scaleFactor
/frameworks/base/docs/html/training/animation/
Dscreen-slide.jd280 float scaleFactor = Math.max(MIN_SCALE, 1 - Math.abs(position));
281 float vertMargin = pageHeight * (1 - scaleFactor) / 2;
282 float horzMargin = pageWidth * (1 - scaleFactor) / 2;
290 view.setScaleX(scaleFactor);
291 view.setScaleY(scaleFactor);
295 (scaleFactor - MIN_SCALE) /
366 float scaleFactor = MIN_SCALE
368 view.setScaleX(scaleFactor);
369 view.setScaleY(scaleFactor);
/frameworks/base/services/core/java/com/android/server/input/
DInputWindowHandle.java61 public float scaleFactor; field in InputWindowHandle
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DRowsFragment.java493 final float scaleFactor = (mRowScaleEnabled && scale) ? mRowScaleFactor : 1f; in updateRowScaling() local
494 view.setScaleX(scaleFactor); in updateRowScaling()
495 view.setScaleY(scaleFactor); in updateRowScaling()
/frameworks/native/services/inputflinger/
DInputWindow.h129 float scaleFactor; member
DInputDispatcher.cpp1586 target.scaleFactor = windowInfo->scaleFactor; in addWindowTargetLocked()
1600 target.scaleFactor = 1.0f; in addMonitoringTargetsLocked()
1792 inputTarget->scaleFactor, inputTarget->pointerIds.value); in prepareDispatchCycleLocked()
1869 inputTarget->scaleFactor); in enqueueDispatchEntryLocked()
1979 float xOffset, yOffset, scaleFactor; in startDispatchCycleLocked() local
1982 scaleFactor = dispatchEntry->scaleFactor; in startDispatchCycleLocked()
1983 xOffset = dispatchEntry->xOffset * scaleFactor; in startDispatchCycleLocked()
1984 yOffset = dispatchEntry->yOffset * scaleFactor; in startDispatchCycleLocked()
1985 if (scaleFactor != 1.0f) { in startDispatchCycleLocked()
1988 scaledCoords[i].scale(scaleFactor); in startDispatchCycleLocked()
[all …]
DInputDispatcher.h156 float scaleFactor; member
541 float scaleFactor; member
549 int32_t targetFlags, float xOffset, float yOffset, float scaleFactor);
/frameworks/base/services/core/java/com/android/server/wm/
DFakeWindowImpl.java76 mWindowHandle.scaleFactor = 1.0f; in FakeWindowImpl()
DInputMonitor.java210 inputWindowHandle.scaleFactor = 1.0f/child.mGlobalScale; in addInputWindowHandleLw()
212 inputWindowHandle.scaleFactor = 1; in addInputWindowHandleLw()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java629 float scaleFactor = (float)(newWidth - totalGap) / totalWidth; in resize() local
632 key.width *= scaleFactor; in resize()
/frameworks/base/docs/html/training/camera/
Dphotobasics.jd285 int scaleFactor = Math.min(photoW/targetW, photoH/targetH);
289 bmOptions.inSampleSize = scaleFactor;
/frameworks/native/include/input/
DInput.h545 void scale(float scaleFactor);

12