Searched refs:orientation (Results 1 - 25 of 44) sorted by relevance

12

/external/glide/library/src/main/java/com/bumptech/glide/signature/
H A DMediaStoreSignature.java16 private final int orientation; field in class:MediaStoreSignature
27 * @param orientation The orientation of the media store media. Ok to default to 0. See
30 public MediaStoreSignature(String mimeType, long dateModified, int orientation) { argument
33 this.orientation = orientation;
50 if (orientation != that.orientation) {
64 result = 31 * result + orientation;
72 .putInt(orientation)
[all...]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
H A DTextLabelWidget.java30 private TextOrientationType orientation; field in class:TextLabelWidget
45 public TextLabelWidget(LayoutManager layoutManager, String title, SizeMetrics sizeMetrics, TextOrientationType orientation) { argument
46 this(layoutManager, sizeMetrics, orientation);
50 public TextLabelWidget(LayoutManager layoutManager, SizeMetrics sizeMetrics, TextOrientationType orientation) { argument
56 this.orientation = orientation;
85 switch(orientation) {
120 switch (orientation) {
131 throw new UnsupportedOperationException("Orientation " + orientation + " not yet implemented for TextLabelWidget.");
157 return orientation;
160 setOrientation(TextOrientationType orientation) argument
[all...]
/external/skia/src/core/
H A DSkFontHost.cpp17 void SkFontLCDConfig::SetSubpixelOrientation(LCDOrientation orientation) { argument
18 gLCDOrientation = orientation;
38 void SkFontHost::SetSubpixelOrientation(LCDOrientation orientation) { argument
39 SkFontLCDConfig::SetSubpixelOrientation((SkFontLCDConfig::LCDOrientation)orientation);
/external/skia/include/core/
H A DSkFontHost.h67 static void SetSubpixelOrientation(LCDOrientation orientation);
H A DSkFontLCDConfig.h30 static void SetSubpixelOrientation(LCDOrientation orientation);
/external/eigen/demos/opengl/
H A Dcamera.h24 : orientation(o), position(pos)
29 orientation.slerp(alpha,other.orientation));
32 Eigen::Quaternionf orientation; member in class:Frame
64 inline const Eigen::Quaternionf& orientation(void) const { return mFrame.orientation; } function in class:Camera
H A Dquaternion_demo.cpp132 Quaternionf(lerp(alpha,OrientationType(a.orientation),OrientationType(b.orientation))));
222 aux.orientation = mCamera.viewMatrix().linear();
302 currentFrame.orientation.coeffs().normalize();
305 currentFrame.orientation = currentFrame.orientation.inverse();
306 currentFrame.position = - (currentFrame.orientation * currentFrame.position);
486 mInitFrame.orientation = mCamera.orientation().inverse();
516 aux0.orientation
[all...]
H A Dcamera.cpp91 return - (orientation() * Vector3f::UnitZ());
95 return orientation() * Vector3f::UnitY();
99 return orientation() * Vector3f::UnitX();
135 mFrame.orientation = q;
169 setOrientation(orientation() * q);
186 Vector3f trans = orientation() * t;
197 Quaternionf q = orientation().conjugate();
/external/deqp/framework/platform/android/
H A DtcuAndroidUtil.cpp67 static void setRequestedOrientation (JNIEnv* env, jobject activity, ScreenOrientation orientation) argument
72 env->CallVoidMethod(activity, setOrientationId, (int)orientation);
75 void setRequestedOrientation (ANativeActivity* activity, ScreenOrientation orientation) argument
77 setRequestedOrientation(activity->env, activity->clazz, orientation);
H A DtcuAndroidUtil.hpp48 void setRequestedOrientation (ANativeActivity* activity, ScreenOrientation orientation);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowConfiguration.java19 public int orientation; field in class:ShadowConfiguration
H A DShadowCamera.java106 cameraInfo.orientation = foundCam.orientation;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
H A DSelfOrientingSashForm.java21 * automatically reset its orientation based on the relationship between the width and height of the
95 public void setOrientation(int orientation) { argument
100 super.setOrientation(orientation);
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
H A Deventhistory.h27 QVariant headerData(int section, Qt::Orientation orientation,
H A Deventhistory.cpp47 QVariant EventListModel::headerData(int section, Qt::Orientation orientation, argument
53 if (orientation == Qt::Horizontal) {
/external/replicaisland/src/com/replica/replicaisland/
H A DInputGameInterface.java80 final InputXY orientation = input.getOrientationSensor();
83 mTilt.clone(orientation);
111 mDirectionalPad.clone(orientation);
113 filterOrientationForMovement(orientation.getX()),
114 filterOrientationForMovement(orientation.getY()));
304 public void setUseOrientationForMovement(boolean orientation) { argument
305 mUseOrientationForMovement = orientation;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DCameraTest.java189 assertThat(cameraQuery.orientation, equalTo(0));
201 assertThat( cameraQuery.orientation, equalTo(0) );
204 assertThat( cameraQuery.orientation, equalTo(90) );
210 frontCamera.orientation = 0;
217 backCamera.orientation = 90;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DDownsampler.java114 int orientation = 0;
116 orientation = new ImageHeaderParser(stream).getOrientation();
119 Log.w(TAG, "Cannot determine the image orientation from header", e);
137 final int degreesToRotate = TransformationUtils.getExifOrientationDegrees(orientation);
154 rotated = TransformationUtils.rotateImageExif(downsampled, pool, orientation);
H A DTransformationUtils.java150 * Returns a matrix with rotation set based on Exif orientation tag.
151 * If the orientation is undefined or 0 null is returned.
155 * @return A rotation in degrees based on exif orientation
163 int orientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_UNDEFINED);
164 return getExifOrientationDegrees(orientation);
167 Log.e(TAG, "Unable to get orientation for image with path=" + pathToOriginal, e);
221 * Get the # of degrees an image must be rotated to match the given exif orientation.
223 * @param exifOrientation The exif orientation [1-8]
249 * Rotate and/or flip the image to match the given exif orientation.
253 * @param exifOrientation the exif orientation [
[all...]
/external/opencv/cv/src/
H A Dcvrotcalipers.cpp65 // points - convex hull vertices ( any orientation )
108 float orientation = 0; local
148 /* find convex hull orientation */
162 orientation = (convexity > 0) ? 1.f : (-1.f);
168 assert( orientation != 0 );
170 base_a = orientation;
H A Dcvconvhull.cpp229 int orientation, int return_points )
398 if( orientation == CV_COUNTER_CLOCKWISE )
437 if( orientation != CV_COUNTER_CLOCKWISE )
530 /* is orientation of hull different from contour one */
607 /* recognize co-orientation of ptseq and its hull */
739 int orientation = 0; local
787 /* find orientation */
789 orientation |= (orient > 0) ? 1 : 2;
791 orientation |= (dydx0 > dxdy0) ? 1 : ((dydx0 < dxdy0) ? 2 : 3);
793 if( orientation
228 cvConvexHull2( const CvArr* array, void* hull_storage, int orientation, int return_points ) argument
[all...]
H A Dcvmotempl.cpp160 CvArr* orientation,
173 CvMat orientstub, *orient = (CvMat*)orientation;
196 "MHI and orientation must be single-channel floating-point images" );
202 CV_ERROR( CV_StsInplaceNotSupported, "orientation image must be different from MHI" );
233 /* make orientation zero where the gradient is very small */
283 cvCalcGlobalOrientation( const void* orientation, const void* maskimg, const void* mhiimg, argument
296 CvMat orientstub, *orient = (CvMat*)orientation;
316 "MHI and orientation must be single-channel floating-point images" );
325 CV_ERROR( CV_StsInplaceNotSupported, "orientation image must be different from MHI" );
327 // calculate histogram of different orientation value
159 cvCalcMotionGradient( const CvArr* mhiimg, CvArr* maskimg, CvArr* orientation, double delta1, double delta2, int aperture_size ) argument
[all...]
/external/opencv/cv/include/
H A Dcvcompat.h384 int orientation, int* hull, int* hullsize )
389 cvConvexHull2( &points1, &hull1, orientation, 0 );
394 #define cvContourConvexHull( contour, orientation, storage ) \
395 cvConvexHull2( contour, storage, orientation )
399 orientation, hull, hullsize ) \
400 cvConvexHull( points, num_points, bound_rect, orientation, hull, hullsize )
403 #define cvContourConvexHullApprox( contour, bandwidth, orientation, storage ) \
404 cvConvexHull2( contour, storage, orientation )
949 #define CV_INIT_PIXEL_POS(pos, origin, _step, roi, _x, _y, orientation) \
951 (pos).step = (_step)/sizeof((pos).currline[0]) * (orientation
382 cvConvexHull( CvPoint* points, int num_points, CvRect* CV_UNREFERENCED(bound_rect), int orientation, int* hull, int* hullsize ) argument
[all...]
/external/skia/debugger/QT/
H A DSkCanvasWidget.cpp90 if (Qt::Horizontal == event->orientation()) {
/external/freetype/src/base/
H A Dftoutln.c823 /* outline is checked for orientation. This is */
863 /* check the orientation of the contour */
912 FT_Int orientation; local
923 orientation = FT_Outline_Get_Orientation( outline );
924 if ( orientation == FT_ORIENTATION_NONE )
981 /* and directed according to the outline orientation. */
985 if ( orientation == FT_ORIENTATION_TRUETYPE )
992 if ( orientation == FT_ORIENTATION_TRUETYPE )
1043 /* We use the nonzero winding rule to find the orientation. */

Completed in 1836 milliseconds

12