Home
last modified time | relevance | path

Searched refs:click (Results 1 – 25 of 402) sorted by relevance

12345678910>>...17

/external/skia/samplecode/
DSample.cpp148 void Sample::DoClickDown(Click* click, int x, int y, unsigned modi) { in DoClickDown() argument
149 SkASSERT(click); in DoClickDown()
151 Sample* target = click->fTarget.get(); in DoClickDown()
156 click->fIOrig.set(x, y); in DoClickDown()
157 click->fICurr = click->fIPrev = click->fIOrig; in DoClickDown()
159 click->fOrig.iset(x, y); in DoClickDown()
160 click->fPrev = click->fCurr = click->fOrig; in DoClickDown()
162 click->fState = Click::kDown_State; in DoClickDown()
163 click->fModifierKeys = modi; in DoClickDown()
164 target->onClick(click); in DoClickDown()
[all …]
DSampleSG.cpp83 Click* click = new Click(this); in onFindClickHandler() local
84 click->fMeta.setPtr("node", (void*)node); in onFindClickHandler()
85 return click; in onFindClickHandler()
90 bool onClick(Click* click) override { in onClick() argument
92 if (click->fMeta.findPtr("node", (void**)&node)) { in onClick()
96 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
97 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
DSampleXfer.cpp175 Click* click = new Click(this); in onFindClickHandler() local
176 click->fMeta.setS32("mode", i); in onFindClickHandler()
177 return click; in onFindClickHandler()
190 bool onClick(Click* click) override { in onClick() argument
192 if (click->fMeta.findS32("mode", &mode)) { in onClick()
193 if (fSelected && Click::kUp_State == click->fState) { in onClick()
197 fSelected->fLoc.fX += click->fCurr.fX - click->fPrev.fX; in onClick()
198 fSelected->fLoc.fY += click->fCurr.fY - click->fPrev.fY; in onClick()
DSamplePath.cpp293 bool onClick(Click* click) override { in onClick() argument
295 if (click->fMeta.findS32("index", &index)) { in onClick()
297 fPts[index] = click->fCurr; in onClick()
308 Click* click = new Click(this); in onFindClickHandler() local
309 click->fMeta.setS32("index", i); in onFindClickHandler()
310 return click; in onFindClickHandler()
426 bool onClick(Click* click) override { in onClick() argument
428 if (click->fMeta.findS32("index", &index)) { in onClick()
430 fPts[index] = click->fCurr; in onClick()
441 Click* click = new Click(this); in onFindClickHandler() local
[all …]
DPerlinPatch.cpp195 bool onClick(Click* click) override { in onClick() argument
196 PtClick* ptClick = (PtClick*)click; in onClick()
198 fPts[ptClick->fIndex].set(click->fCurr.fX , click->fCurr.fY ); in onClick()
200 SkScalar xDiff = click->fPrev.fX - click->fCurr.fX; in onClick()
201 SkScalar yDiff = click->fPrev.fY - click->fCurr.fY; in onClick()
205 SkScalar yDiff = click->fCurr.fY - click->fPrev.fY; in onClick()
DSampleMixer.cpp85 bool onClick(Click* click) override { in onClick() argument
86 fRect.offset(click->fICurr.fX - click->fIPrev.fX, in onClick()
87 click->fICurr.fY - click->fIPrev.fY); in onClick()
DSampleLua.cpp135 bool onClick(Click* click) override { in onClick() argument
137 switch (click->fState) { in onClick()
150 fLua->pushScalar(click->fCurr.x()); in onClick()
151 fLua->pushScalar(click->fCurr.y()); in onClick()
DSampleAAGeometry.cpp1655 bool onClick(Click* click) override { in onClick() argument
1656 MyClick* myClick = (MyClick*) click; in onClick()
1659 savePath(click->fState); in onClick()
1662 pt.offset(SkIntToScalar(click->fICurr.fX - click->fIPrev.fX), in onClick()
1663 SkIntToScalar(click->fICurr.fY - click->fIPrev.fY)); in onClick()
1669 savePath(click->fState); in onClick()
1670 fPath.offset(SkIntToScalar(click->fICurr.fX - click->fIPrev.fX), in onClick()
1671 SkIntToScalar(click->fICurr.fY - click->fIPrev.fY)); in onClick()
1687 if (click->fState != Click::kDown_State && myClick->isButton()) { in onClick()
1692 SkScalar val = MapScreenYtoValue(click->fICurr.fY, fFilterControl); in onClick()
[all …]
DSampleFatBits.cpp369 static int GetIndex(Sample::Click* click) { in GetIndex() argument
370 return ((IndexClick*)click)->fIndex; in GetIndex()
491 bool onClick(Click* click) override { in onClick() argument
492 int index = IndexClick::GetIndex(click); in onClick()
494 fPts[index] = click->fCurr; in onClick()
496 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
497 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
/external/skqp/samplecode/
DSample.cpp148 void Sample::DoClickDown(Click* click, int x, int y, unsigned modi) { in DoClickDown() argument
149 SkASSERT(click); in DoClickDown()
151 Sample* target = click->fTarget.get(); in DoClickDown()
156 click->fIOrig.set(x, y); in DoClickDown()
157 click->fICurr = click->fIPrev = click->fIOrig; in DoClickDown()
159 click->fOrig.iset(x, y); in DoClickDown()
160 click->fPrev = click->fCurr = click->fOrig; in DoClickDown()
162 click->fState = Click::kDown_State; in DoClickDown()
163 click->fModifierKeys = modi; in DoClickDown()
164 target->onClick(click); in DoClickDown()
[all …]
DSampleXfer.cpp175 Click* click = new Click(this); in onFindClickHandler() local
176 click->fMeta.setS32("mode", i); in onFindClickHandler()
177 return click; in onFindClickHandler()
190 bool onClick(Click* click) override { in onClick() argument
192 if (click->fMeta.findS32("mode", &mode)) { in onClick()
193 if (fSelected && Click::kUp_State == click->fState) { in onClick()
197 fSelected->fLoc.fX += click->fCurr.fX - click->fPrev.fX; in onClick()
198 fSelected->fLoc.fY += click->fCurr.fY - click->fPrev.fY; in onClick()
DSamplePath.cpp293 bool onClick(Click* click) override { in onClick() argument
295 if (click->fMeta.findS32("index", &index)) { in onClick()
297 fPts[index] = click->fCurr; in onClick()
308 Click* click = new Click(this); in onFindClickHandler() local
309 click->fMeta.setS32("index", i); in onFindClickHandler()
310 return click; in onFindClickHandler()
426 bool onClick(Click* click) override { in onClick() argument
428 if (click->fMeta.findS32("index", &index)) { in onClick()
430 fPts[index] = click->fCurr; in onClick()
441 Click* click = new Click(this); in onFindClickHandler() local
[all …]
DPerlinPatch.cpp195 bool onClick(Click* click) override { in onClick() argument
196 PtClick* ptClick = (PtClick*)click; in onClick()
198 fPts[ptClick->fIndex].set(click->fCurr.fX , click->fCurr.fY ); in onClick()
200 SkScalar xDiff = click->fPrev.fX - click->fCurr.fX; in onClick()
201 SkScalar yDiff = click->fPrev.fY - click->fCurr.fY; in onClick()
205 SkScalar yDiff = click->fCurr.fY - click->fPrev.fY; in onClick()
DSampleLua.cpp135 bool onClick(Click* click) override { in onClick() argument
137 switch (click->fState) { in onClick()
150 fLua->pushScalar(click->fCurr.x()); in onClick()
151 fLua->pushScalar(click->fCurr.y()); in onClick()
DSampleAAGeometry.cpp1655 bool onClick(Click* click) override { in onClick() argument
1656 MyClick* myClick = (MyClick*) click; in onClick()
1659 savePath(click->fState); in onClick()
1662 pt.offset(SkIntToScalar(click->fICurr.fX - click->fIPrev.fX), in onClick()
1663 SkIntToScalar(click->fICurr.fY - click->fIPrev.fY)); in onClick()
1669 savePath(click->fState); in onClick()
1670 fPath.offset(SkIntToScalar(click->fICurr.fX - click->fIPrev.fX), in onClick()
1671 SkIntToScalar(click->fICurr.fY - click->fIPrev.fY)); in onClick()
1687 if (click->fState != Click::kDown_State && myClick->isButton()) { in onClick()
1692 SkScalar val = MapScreenYtoValue(click->fICurr.fY, fFilterControl); in onClick()
[all …]
DSampleFatBits.cpp369 static int GetIndex(Sample::Click* click) { in GetIndex() argument
370 return ((IndexClick*)click)->fIndex; in GetIndex()
491 bool onClick(Click* click) override { in onClick() argument
492 int index = IndexClick::GetIndex(click); in onClick()
494 fPts[index] = click->fCurr; in onClick()
496 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
497 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
/external/testng/src/main/resources/
Dtestng-reports.js2 $('a.navigator-link').click(function() {
17 $('a.method').click(function() {
25 $('.navigator-link').first().click();
28 $('a.collapse-all-link').click(function() {
59 $('a.hide-methods.' + name).click(function() {
67 $('a.show-methods.' + name).click(function() {
77 $('a.hide-methods.' + name).click();
79 $('a.show-methods.' + name).click();
/external/python/dateutil/
Drelease.py11 import click
13 @click.group()
21 if click.confirm('{} is not empty - delete contents?'.format(DIST_PATH)):
25 click.echo('Aborting')
48 @click.option('--passfile', default=None)
49 @click.option('--release/--no-release', default=False)
/external/autotest/client/site_tests/touch_TapSettings/
Dcontrol7 PURPOSE = "Test that tap-to-click and tap dragging can be enabled/disabled."
9 This test will fail if, after playback of touch events, tap-to-click or tap
20 Uses javascript page to listen for mouse clicks and drags. If tap-to-click is
21 working, the click count will increase. If tap dragging is working, movement
22 will be detected during a click. Enables and disables tap-to-click and tap
/external/autotest/client/site_tests/files_CopyFileToGoogleDriveUI/
Dfiles_CopyFileToGoogleDriveUI.py153 element.click()
178 driver.find_element_by_id(SEARCH_BUTTON_ID).click()
203 item.click()
208 .click(item).key_down(Keys.CONTROL) \
218 drive_files[0].click()
222 driver.find_element_by_id(DELETE_BUTTON_ID).click()
223 driver.find_element_by_class_name(CR_DIALOG_CLASS).click()
279 'div.button-frame').find_element_by_class_name('open').click()
/external/autotest/client/cros/
Dwebstore_test.py238 self.driver.find_element_by_xpath(button_xpath).click()
243 self.driver.find_element_by_xpath('//input[@id="signIn"]').click()
246 self.driver.find_element_by_xpath(install_type_click_xpath).click()
253 self.driver.find_element_by_id('purchaseButton').click()
255 self.driver.find_element_by_id('finishButton').click()
274 launch_button.click();
/external/autotest/client/site_tests/firmware_TouchMTB/tests/logs/lumpy/20130506_032458-fw_11.23-robot_sim/
Dtouch_firmware_report-lumpy-fw_11.23-complete-20130614_0657174 Use one finger to physically click the center of the touch surface.
33 Use one finger to physically click the center of the touch surface.
62 Use one finger to physically click the bottom left corner of the touch surface.
91 Use one finger to physically click the bottom left corner of the touch surface.
120 Use one finger to physically click the bottom side of the touch surface.
149 Use one finger to physically click the bottom side of the touch surface.
178 Use one finger to physically click the bottom right corner of the touch surface.
207 Use one finger to physically click the bottom right corner of the touch surface.
236 Use two fingers physically click the center of the touch surface.
271 Use two fingers physically click the center of the touch surface.
/external/autotest/client/site_tests/firmware_TouchMTB/tests/logs/lumpy/20130506_032659-fw_11.23-robot_sim/
Dtouch_firmware_report-lumpy-fw_11.23-complete-20130614_0658174 Use one finger to physically click the center of the touch surface.
33 Use one finger to physically click the center of the touch surface.
62 Use one finger to physically click the bottom left corner of the touch surface.
91 Use one finger to physically click the bottom left corner of the touch surface.
120 Use one finger to physically click the bottom side of the touch surface.
149 Use one finger to physically click the bottom side of the touch surface.
178 Use one finger to physically click the bottom right corner of the touch surface.
207 Use one finger to physically click the bottom right corner of the touch surface.
236 Use two fingers physically click the center of the touch surface.
271 Use two fingers physically click the center of the touch surface.
/external/autotest/client/site_tests/firmware_TouchMTB/tests/logs/lumpy/20130506_030025-fw_11.27-robot_sim/
Dtouch_firmware_report-lumpy-fw_11.27-complete-20130614_0654484 Use one finger to physically click the center of the touch surface.
33 Use one finger to physically click the center of the touch surface.
62 Use one finger to physically click the bottom left corner of the touch surface.
91 Use one finger to physically click the bottom left corner of the touch surface.
120 Use one finger to physically click the bottom side of the touch surface.
149 Use one finger to physically click the bottom side of the touch surface.
178 Use one finger to physically click the bottom right corner of the touch surface.
207 Use one finger to physically click the bottom right corner of the touch surface.
236 Use two fingers physically click the center of the touch surface.
271 Use two fingers physically click the center of the touch surface.
/external/toybox/lib/
Ddeflate.c83 int click = bb->bitpos >> 3, blow, blen; in bitbuf_get() local
86 if (click == bb->len) bitbuf_skip(bb, click = 0); in bitbuf_get()
92 result |= ((bb->buf[click] >> blow) & ((1<<blen)-1)) << offset; in bitbuf_get()
113 int click = bb->bitpos >> 3, blow, blen; in bitbuf_put() local
116 if (click == bb->max) { in bitbuf_put()
118 click = 0; in bitbuf_put()
123 bb->buf[click] |= data << blow; in bitbuf_put()

12345678910>>...17