Class: AndroidPhoneImageRois
Overview
The AndroidTabletRois class adds Android Tablet-specific functionality to Android Rois
Instance Method Summary
collapse
#DVRManager_delete_dash, #blocked, #favorites_heart_not_selected, #highlight
Methods inherited from ImageRois
#SAMPLE, #initialize, #new
Constructor Details
This class inherits a constructor from ImageRois
Instance Method Details
#favorites_heart_selected ⇒ Object
12
13
14
15
16
|
# File 'lib/rois/mobile/android/android_phone/android_phone_image_rois.rb', line 12
def favorites_heart_selected
new(:x => 903, :y => 240, :width => 117, :height => 90, :similarity => 80,
:ref_img => 'tsimages/reference/mobile/android/phone/heart_selected.JPG', :img_x => 2277, :img_y => 207,
:img_width => 123,:img_height => 100)
end
|
#onDemandFeaturedHighlit ⇒ Object
7
8
9
10
|
# File 'lib/rois/mobile/android/android_phone/android_phone_image_rois.rb', line 7
def onDemandFeaturedHighlit
new(:element => @dut.element({:text => "Featured"}), :similarity => 80, :rgb => [11,166,217],
:ref_img => 'tsimages/reference/mobile/android/phone/onDemandFeaturedHighlit.JPG')
end
|
#onDemandKidsHighlit ⇒ Object
31
32
33
34
35
|
# File 'lib/rois/mobile/android/android_phone/android_phone_image_rois.rb', line 31
def onDemandKidsHighlit
new(:x => 673, :y => 323, :width => 177, :height => 97, :similarity => 80,
:ref_img => 'tsimages/reference/mobile/android/phone/onDemandKidsHighlit.JPG', :img_x => 673,
:img_y => 323, :img_width => 177,:img_height => 97)
end
|
#onDemandMoviesHighlit ⇒ Object
25
26
27
28
29
|
# File 'lib/rois/mobile/android/android_phone/android_phone_image_rois.rb', line 25
def onDemandMoviesHighlit
new(:x => 443, :y => 317, :width => 187, :height => 110, :similarity => 80,
:ref_img => 'tsimages/reference/mobile/android/phone/onDemandMoviesHighlit.JPG', :img_x => 443,
:img_y => 317, :img_width => 187,:img_height => 110)
end
|
#onDemandNetworksHighlit ⇒ Object
37
38
39
40
41
|
# File 'lib/rois/mobile/android/android_phone/android_phone_image_rois.rb', line 37
def onDemandNetworksHighlit
new(:x => 876, :y => 327, :width => 187, :height => 97, :similarity => 80,
:ref_img => 'tsimages/reference/mobile/android/phone/onDemandNetworksHighlit.JPG', :img_x => 876,
:img_y => 327, :img_width => 187,:img_height => 97)
end
|
#onDemandTvShowsHighlit ⇒ Object
19
20
21
22
23
|
# File 'lib/rois/mobile/android/android_phone/android_phone_image_rois.rb', line 19
def onDemandTvShowsHighlit
new(:x => 250, :y => 330, :width => 143, :height => 90, :similarity => 80,
:ref_img => 'tsimages/reference/mobile/android/phone/onDemandTvShowsHighlit.JPG', :img_x => 250,
:img_y => 330, :img_width => 143,:img_height => 90)
end
|