|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: This file contains the resources for the aknconf. |
|
15 * |
|
16 */ |
|
17 |
|
18 // INCLUDES |
|
19 #include <eikon.rh> |
|
20 #include <avkon.rsg> |
|
21 #include <avkon.rh> |
|
22 #include <appinfo.rh> |
|
23 #include "aknconf.hrh" |
|
24 #include "aknconf.rls" |
|
25 |
|
26 NAME ACGE // AknConfGesture |
|
27 |
|
28 |
|
29 // -------------------------------------------------------------------------- |
|
30 // RSS_SIGNATURE |
|
31 // Standard resource signature |
|
32 // -------------------------------------------------------------------------- |
|
33 // |
|
34 RESOURCE RSS_SIGNATURE { } |
|
35 |
|
36 |
|
37 // ---------------------------------------------------------------------------- |
|
38 // |
|
39 // Gesture setting item list |
|
40 // |
|
41 // ---------------------------------------------------------------------------- |
|
42 // |
|
43 RESOURCE AVKON_SETTING_ITEM_LIST r_aknconf_gesture_settingitemlist |
|
44 { |
|
45 flags = EAknSettingItemNumberedStyle; |
|
46 title = "Settings"; |
|
47 initial_number = 1; |
|
48 items = |
|
49 { |
|
50 AVKON_SETTING_ITEM |
|
51 { |
|
52 identifier = EAknConfGestureSettingTapThreshold; |
|
53 setting_page_resource = r_aknconf_tap_threshold_setting_page; |
|
54 name = qtn_setting_tap_threshold; |
|
55 }, |
|
56 AVKON_SETTING_ITEM |
|
57 { |
|
58 identifier = EAknConfGestureSettingLongTapThreshold; |
|
59 setting_page_resource = r_aknconf_long_tap_threshold_setting_page; |
|
60 name = qtn_setting_long_tap_threshold; |
|
61 }, |
|
62 AVKON_SETTING_ITEM |
|
63 { |
|
64 identifier = EAknConfGestureSettingDoubleTapThreshold; |
|
65 setting_page_resource = r_aknconf_double_tap_threshold_setting_page; |
|
66 name = qtn_setting_double_tap_threshold; |
|
67 }, |
|
68 AVKON_SETTING_ITEM |
|
69 { |
|
70 identifier = EAknConfGestureSettingDragThreshold; |
|
71 setting_page_resource = r_aknconf_drag_threshold_setting_page; |
|
72 name = qtn_setting_gesture_drag_threshold; |
|
73 }, |
|
74 AVKON_SETTING_ITEM |
|
75 { |
|
76 identifier = EAknConfGestureSettingFlickBuffer; |
|
77 setting_page_resource = r_aknconf_flick_buffer_setting_page; |
|
78 name = qtn_setting_flick_buffer; |
|
79 }, |
|
80 AVKON_SETTING_ITEM |
|
81 { |
|
82 identifier = EAknConfGestureSettingFlickSpeedThreshold; |
|
83 setting_page_resource = r_aknconf_flick_speed_threshold_setting_page; |
|
84 name = qtn_setting_flick_speed_threshold; |
|
85 }, |
|
86 AVKON_SETTING_ITEM |
|
87 { |
|
88 identifier = EAknConfGestureSettingFlickDetectionTime; |
|
89 setting_page_resource = r_aknconf_flick_detection_time_setting_page; |
|
90 name = qtn_setting_flick_detection_time; |
|
91 }, |
|
92 AVKON_SETTING_ITEM |
|
93 { |
|
94 identifier = EAknConfGestureSettingFlickDirectionChange; |
|
95 setting_page_resource = r_aknconf_flick_direction_change_setting_page; |
|
96 name = qtn_setting_direction_change_sensitivity; |
|
97 }, |
|
98 AVKON_SETTING_ITEM |
|
99 { |
|
100 identifier = EAknConfGestureSettingPinchInitialThreshold; |
|
101 setting_page_resource = r_aknconf_pinch_initial_threshold_setting_page; |
|
102 name = qtn_setting_pinch_initial_threshold; |
|
103 }, |
|
104 AVKON_SETTING_ITEM |
|
105 { |
|
106 identifier = EAknConfGestureSettingPinchMovementThreshold; |
|
107 setting_page_resource = r_aknconf_pinch_movement_threshold_setting_page; |
|
108 name = qtn_setting_pinch_movement_threshold; |
|
109 }, |
|
110 AVKON_SETTING_ITEM |
|
111 { |
|
112 identifier = EAknConfGestureSettingPinchDirectionChangeSensitivity; |
|
113 setting_page_resource = |
|
114 r_aknconf_pinch_direction_change_sensitivity_setting_page; |
|
115 name = qtn_setting_pinch_direction_change_sensitivity; |
|
116 }, |
|
117 AVKON_SETTING_ITEM |
|
118 { |
|
119 identifier = EAknConfGestureSettingPinchDirectionResetSensitivity; |
|
120 setting_page_resource = |
|
121 r_aknconf_pinch_direction_reset_sensitivity_setting_page; |
|
122 name = qtn_setting_pinch_direction_reset_sensitivity; |
|
123 }, |
|
124 AVKON_SETTING_ITEM |
|
125 { |
|
126 identifier = EAknConfGestureSettingPinchDimensionThreshold; |
|
127 setting_page_resource = |
|
128 r_aknconf_pinch_dimension_threshold_setting_page; |
|
129 name = qtn_setting_pinch_dimension_threshold; |
|
130 }, |
|
131 AVKON_SETTING_ITEM |
|
132 { |
|
133 identifier = EAknConfGestureSettingPinchMaximumConfirmationDuration; |
|
134 setting_page_resource = |
|
135 r_aknconf_pinch_maximum_confirmation_duration_setting_page; |
|
136 name = qtn_setting_pinch_maximum_confirmation_duration; |
|
137 } |
|
138 |
|
139 }; |
|
140 } |
|
141 |
|
142 |
|
143 // ---------------------------------------------------------------------------- |
|
144 // |
|
145 // Gesture setting: tap threshold |
|
146 // |
|
147 // ---------------------------------------------------------------------------- |
|
148 // |
|
149 RESOURCE AVKON_SETTING_PAGE r_aknconf_tap_threshold_setting_page |
|
150 { |
|
151 label = qtn_setting_tap_threshold; |
|
152 type = EAknCtIntegerEdwin; |
|
153 editor_resource_id = r_aknconf_numericeditor; |
|
154 } |
|
155 |
|
156 |
|
157 // ---------------------------------------------------------------------------- |
|
158 // |
|
159 // Gesture setting: long tap threshold |
|
160 // |
|
161 // ---------------------------------------------------------------------------- |
|
162 // |
|
163 RESOURCE AVKON_SETTING_PAGE r_aknconf_long_tap_threshold_setting_page |
|
164 { |
|
165 label = qtn_setting_long_tap_threshold; |
|
166 type = EAknCtIntegerEdwin; |
|
167 editor_resource_id = r_aknconf_numericeditor; |
|
168 } |
|
169 |
|
170 |
|
171 // ---------------------------------------------------------------------------- |
|
172 // |
|
173 // Gesture setting: double tap threshold |
|
174 // |
|
175 // ---------------------------------------------------------------------------- |
|
176 // |
|
177 RESOURCE AVKON_SETTING_PAGE r_aknconf_double_tap_threshold_setting_page |
|
178 { |
|
179 label = qtn_setting_double_tap_threshold; |
|
180 type = EAknCtIntegerEdwin; |
|
181 editor_resource_id = r_aknconf_numericeditor; |
|
182 } |
|
183 |
|
184 |
|
185 // ---------------------------------------------------------------------------- |
|
186 // |
|
187 // Gesture setting: drag threshold. |
|
188 // |
|
189 // ---------------------------------------------------------------------------- |
|
190 // |
|
191 RESOURCE AVKON_SETTING_PAGE r_aknconf_drag_threshold_setting_page |
|
192 { |
|
193 label = qtn_setting_gesture_drag_threshold; |
|
194 type = EAknCtIntegerEdwin; |
|
195 editor_resource_id = r_aknconf_numericeditor; |
|
196 } |
|
197 |
|
198 |
|
199 // ---------------------------------------------------------------------------- |
|
200 // |
|
201 // Gesture setting: flick buffer |
|
202 // |
|
203 // ---------------------------------------------------------------------------- |
|
204 // |
|
205 RESOURCE AVKON_SETTING_PAGE r_aknconf_flick_buffer_setting_page |
|
206 { |
|
207 label = qtn_setting_flick_buffer; |
|
208 type = EAknCtIntegerEdwin; |
|
209 editor_resource_id = r_aknconf_numericeditor; |
|
210 } |
|
211 |
|
212 |
|
213 // ---------------------------------------------------------------------------- |
|
214 // |
|
215 // Gesture setting: flick speed threshold |
|
216 // |
|
217 // ---------------------------------------------------------------------------- |
|
218 // |
|
219 RESOURCE AVKON_SETTING_PAGE r_aknconf_flick_speed_threshold_setting_page |
|
220 { |
|
221 label = qtn_setting_flick_speed_threshold; |
|
222 type = EAknCtIntegerEdwin; |
|
223 editor_resource_id = r_aknconf_numericeditor; |
|
224 } |
|
225 |
|
226 |
|
227 // ---------------------------------------------------------------------------- |
|
228 // |
|
229 // Gesture setting: flick detection time |
|
230 // |
|
231 // ---------------------------------------------------------------------------- |
|
232 // |
|
233 RESOURCE AVKON_SETTING_PAGE r_aknconf_flick_detection_time_setting_page |
|
234 { |
|
235 label = qtn_setting_flick_detection_time; |
|
236 type = EAknCtIntegerEdwin; |
|
237 editor_resource_id = r_aknconf_numericeditor; |
|
238 } |
|
239 |
|
240 |
|
241 // ---------------------------------------------------------------------------- |
|
242 // |
|
243 // Gesture setting: flick direction change. |
|
244 // |
|
245 // ---------------------------------------------------------------------------- |
|
246 // |
|
247 RESOURCE AVKON_SETTING_PAGE r_aknconf_flick_direction_change_setting_page |
|
248 { |
|
249 label = qtn_setting_direction_change_sensitivity; |
|
250 type = EAknCtIntegerEdwin; |
|
251 editor_resource_id = r_aknconf_numericeditor; |
|
252 } |
|
253 |
|
254 |
|
255 // ---------------------------------------------------------------------------- |
|
256 // |
|
257 // Gesture setting: pinch initial threshold. |
|
258 // |
|
259 // ---------------------------------------------------------------------------- |
|
260 // |
|
261 RESOURCE AVKON_SETTING_PAGE r_aknconf_pinch_initial_threshold_setting_page |
|
262 { |
|
263 label = qtn_setting_pinch_initial_threshold; |
|
264 type = EAknCtIntegerEdwin; |
|
265 editor_resource_id = r_aknconf_numericeditor; |
|
266 } |
|
267 |
|
268 |
|
269 // ---------------------------------------------------------------------------- |
|
270 // |
|
271 // Gesture setting: pinch movement threshold. |
|
272 // |
|
273 // ---------------------------------------------------------------------------- |
|
274 // |
|
275 RESOURCE AVKON_SETTING_PAGE r_aknconf_pinch_movement_threshold_setting_page |
|
276 { |
|
277 label = qtn_setting_pinch_movement_threshold; |
|
278 type = EAknCtIntegerEdwin; |
|
279 editor_resource_id = r_aknconf_numericeditor; |
|
280 } |
|
281 |
|
282 |
|
283 // ---------------------------------------------------------------------------- |
|
284 // |
|
285 // Gesture setting: pinch direction change sensitivity. |
|
286 // |
|
287 // ---------------------------------------------------------------------------- |
|
288 // |
|
289 RESOURCE AVKON_SETTING_PAGE r_aknconf_pinch_direction_change_sensitivity_setting_page |
|
290 { |
|
291 label = qtn_setting_pinch_direction_change_sensitivity; |
|
292 type = EAknCtIntegerEdwin; |
|
293 editor_resource_id = r_aknconf_numericeditor; |
|
294 } |
|
295 |
|
296 |
|
297 // ---------------------------------------------------------------------------- |
|
298 // |
|
299 // Gesture setting: pinch direction reset sensitivity. |
|
300 // |
|
301 // ---------------------------------------------------------------------------- |
|
302 // |
|
303 RESOURCE AVKON_SETTING_PAGE r_aknconf_pinch_direction_reset_sensitivity_setting_page |
|
304 { |
|
305 label = qtn_setting_pinch_direction_reset_sensitivity; |
|
306 type = EAknCtIntegerEdwin; |
|
307 editor_resource_id = r_aknconf_numericeditor; |
|
308 } |
|
309 |
|
310 |
|
311 // ---------------------------------------------------------------------------- |
|
312 // |
|
313 // Gesture setting: pinch dimension threshold. |
|
314 // |
|
315 // ---------------------------------------------------------------------------- |
|
316 // |
|
317 RESOURCE AVKON_SETTING_PAGE r_aknconf_pinch_dimension_threshold_setting_page |
|
318 { |
|
319 label = qtn_setting_pinch_dimension_threshold; |
|
320 type = EAknCtIntegerEdwin; |
|
321 editor_resource_id = r_aknconf_numericeditor; |
|
322 } |
|
323 |
|
324 |
|
325 // ---------------------------------------------------------------------------- |
|
326 // |
|
327 // Gesture setting: pinch maximum confirmation duration. |
|
328 // |
|
329 // ---------------------------------------------------------------------------- |
|
330 // |
|
331 RESOURCE AVKON_SETTING_PAGE r_aknconf_pinch_maximum_confirmation_duration_setting_page |
|
332 { |
|
333 label = qtn_setting_pinch_maximum_confirmation_duration; |
|
334 type = EAknCtIntegerEdwin; |
|
335 editor_resource_id = r_aknconf_numericeditor; |
|
336 } |
|
337 |
|
338 |
|
339 // ---------------------------------------------------------------------------- |
|
340 // |
|
341 // Numeric editor |
|
342 // |
|
343 // ---------------------------------------------------------------------------- |
|
344 // |
|
345 RESOURCE AVKON_INTEGER_EDWIN r_aknconf_numericeditor |
|
346 { |
|
347 maxlength = 100; |
|
348 } |
|
349 |
|
350 |
|
351 // End of File |