Home
last modified time | relevance | path

Searched refs:is_vertical (Results 1 – 12 of 12) sorted by relevance

/external/autotest/client/site_tests/touch_TouchscreenScroll/
Dtouch_TouchscreenScroll.py32 is_vertical = expected == 'up' or expected == 'down'
35 self._events.set_default_scroll_position(is_vertical)
36 start_scroll = self._events.get_scroll_position(is_vertical)
42 end_scroll = self._events.get_scroll_position(is_vertical)
/external/harfbuzz_ng/src/
Dhb-ot-font.cc316 _glyf_get_side_bearing_var (hb_font_t *font, hb_codepoint_t glyph, bool is_vertical) in _glyf_get_side_bearing_var() argument
318 return font->face->table.glyf->get_side_bearing_var (font, glyph, is_vertical); in _glyf_get_side_bearing_var()
322 _glyf_get_advance_var (hb_font_t *font, hb_codepoint_t glyph, bool is_vertical) in _glyf_get_advance_var() argument
324 return font->face->table.glyf->get_advance_var (font, glyph, is_vertical); in _glyf_get_advance_var()
Dhb-ot-hmtx-table.hh46 _glyf_get_side_bearing_var (hb_font_t *font, hb_codepoint_t glyph, bool is_vertical);
49 _glyf_get_advance_var (hb_font_t *font, hb_codepoint_t glyph, bool is_vertical);
Dhb-ot-glyf-table.hh956 bool is_vertical) const in get_advance_var()
966 return is_vertical ? face->table.vmtx->get_advance (gid) : face->table.hmtx->get_advance (gid); in get_advance_var()
968 if (is_vertical) in get_advance_var()
974 int get_side_bearing_var (hb_font_t *font, hb_codepoint_t gid, bool is_vertical) const in get_side_bearing_var()
981 …return is_vertical ? face->table.vmtx->get_side_bearing (gid) : face->table.hmtx->get_side_bearing… in get_side_bearing_var()
983 …return is_vertical ? ceil (phantoms[PHANTOM_TOP].y) - extents.y_bearing : floor (phantoms[PHANTOM_… in get_side_bearing_var()
/external/skia/src/core/
DSkEdgeBuilder.cpp111 static bool is_vertical(const Edge* edge) { in is_vertical() function
122 Combine combine = is_vertical(edge) && !fList.empty() in addLine()
137 Combine combine = is_vertical(edge) && !fList.empty() in addLine()
182 return is_vertical(edge) && edgePtr > (SkEdge**)fEdgeList in addPolyLine()
194 return is_vertical(edge) && edgePtr > (SkAnalyticEdge**)fEdgeList in addPolyLine()
/external/autotest/client/site_tests/touch_ScrollDirection/
Dtouch_ScrollDirection.py31 is_vertical = expected == 'up' or expected == 'down'
37 delta = self._events.get_scroll_delta(is_vertical)
/external/skqp/src/core/
DSkEdgeBuilder.cpp111 static bool is_vertical(const Edge* edge) { in is_vertical() function
122 Combine combine = is_vertical(edge) && !fList.empty() in addLine()
137 Combine combine = is_vertical(edge) && !fList.empty() in addLine()
201 return is_vertical(edge) && edgePtr > (SkEdge**)fEdgeList in addPolyLine()
213 return is_vertical(edge) && edgePtr > (SkAnalyticEdge**)fEdgeList in addPolyLine()
/external/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp266 bool is_vertical) in LinearIntervalProcessor() argument
267 : fAdvX(is_vertical ? SK_ScalarInfinity : (i->fT1 - fx) / dx) in LinearIntervalProcessor()
272 , fIsVertical(is_vertical) in LinearIntervalProcessor()
277 if (tileMode != SkTileMode::kClamp && !is_vertical) { in LinearIntervalProcessor()
/external/skqp/src/shaders/gradients/
DSk4fLinearGradient.cpp266 bool is_vertical) in LinearIntervalProcessor() argument
267 : fAdvX(is_vertical ? SK_ScalarInfinity : (i->fT1 - fx) / dx) in LinearIntervalProcessor()
272 , fIsVertical(is_vertical) in LinearIntervalProcessor()
277 if (tileMode != kClamp_TileMode && !is_vertical) { in LinearIntervalProcessor()
/external/autotest/client/cros/
Dtouch_playback_test_base.py596 def get_scroll_delta(self, is_vertical): argument
602 axis = 'y' if is_vertical else 'x'
/external/autotest/client/site_tests/firmware_TouchMTB/
Dvalidators.py212 def is_vertical(self, variation): member in BaseValidator
227 elif self.is_vertical(variation):
492 if self.is_vertical(variation):
635 elif self.is_vertical(variation):
/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dvalidators_unittest.py450 else self.device.axis_y if validator.is_vertical(variation)