TextureViewMeteringPointFactory
public
class
TextureViewMeteringPointFactory
extends MeteringPointFactory
A MeteringPointFactory
for creating a MeteringPoint
by TextureView
and
(x,y).
SurfaceTexture in TextureView could be cropped, scaled or rotated by
TextureView.getTransform(Matrix)
. This factory translates the (x, y) into the sensor
crop region normalized (x,y) by this transform. SurfaceTexture.getTransformMatrix(float[])
is
also used during the translation. No lens facing information is required because
SurfaceTexture.getTransformMatrix(float[])
contains the necessary transformation corresponding
to the lens face of current camera ouput.
Summary
Inherited methods |
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
TextureViewMeteringPointFactory
public TextureViewMeteringPointFactory (TextureView textureView)
Parameters |
textureView |
TextureView |