Home
last modified time | relevance | path

Searched refs:cosTheta (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
DRendererUtils.java157 float cosTheta = FloatMath.cos(radian); in setRenderToRotate() local
159 float cosWidth = cosTheta * srcWidth; in setRenderToRotate()
161 float cosHeight = cosTheta * srcHeight; in setRenderToRotate()
209 float cosTheta = FloatMath.cos(radian); in setRenderToFlip() local
213 vertices[0] = cosTheta * base[0] * scale; in setRenderToFlip()
219 vertices[2] = cosTheta * base[2] * scale; in setRenderToFlip()
227 float cosTheta = FloatMath.cos(radian); in setRenderToFlip() local
232 vertices[1] = cosTheta * base[1] * scale; in setRenderToFlip()
238 vertices[5] = cosTheta * base[5] * scale; in setRenderToFlip()
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DBlend.cpp1086 double cosTheta = sqrt(1.0 - sinTheta * sinTheta) * m_wb.direction; in MosaicToFrame() local
1088 Y = length * cosTheta + m_wb.y; in MosaicToFrame()
1096 double cosTheta = sqrt(1.0 - sinTheta * sinTheta) * m_wb.direction; in MosaicToFrame() local
1098 X = length * cosTheta + m_wb.x; in MosaicToFrame()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DBlend.cpp1066 double cosTheta = sqrt(1.0 - sinTheta * sinTheta) * m_wb.direction; in MosaicToFrame() local
1068 Y = length * cosTheta + m_wb.y; in MosaicToFrame()
1076 double cosTheta = sqrt(1.0 - sinTheta * sinTheta) * m_wb.direction; in MosaicToFrame() local
1078 X = length * cosTheta + m_wb.x; in MosaicToFrame()