Home
last modified time | relevance | path

Searched refs:wx (Results 1 – 25 of 381) sorted by relevance

12345678910>>...16

/external/sonivox/jet_tools/JetCreator/
DJetCtrls.py23 import wx
26 from wx.lib.mixins.listctrl import CheckListCtrlMixin, ListCtrlAutoWidthMixin, ColumnSorterMixin
30 class JetSpin(wx.SpinCtrl):
32 …def __init__(self, parent, id=-1,value=wx.EmptyString,pos=wx.DefaultPosition,size=wx.DefaultSize,s…
33wx.SpinCtrl.__init__(self, parent, id=id,value=value,pos=(pos[0]-MacOffset(),pos[1]),size=size,sty…
38 wx.SpinCtrl.SetValue(self, int(val))
40 wx.SpinCtrl.SetValue(self, val)
42 wx.SpinCtrl.SetValue(self, 0)
46 …def __init__(self, parent, id=-1,value=wx.EmptyString,pos=wx.DefaultPosition,size=wx.DefaultSize,s…
47wx.SpinCtrl.__init__(self, parent, id=id,value=value,pos=(pos[0]-MacOffset(),pos[1]),size=size,sty…
[all …]
DJetAudition.py25 import wx
57 class Audition(wx.Dialog):
60 wx.Dialog.__init__(self, None, -1, title=JetDefs.DLG_AUDITION)
73 panel = wx.Panel(self, -1)
79 self.segList.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnQueueSegment)
80 self.segList.Bind(wx.EVT_LIST_ITEM_SELECTED, self.OnSegListClick)
92 self.btnMuteAll = wx.Button(panel, -1, JetDefs.BUT_MUTEALL)
93 self.btnUnMuteAll = wx.Button(panel, -1, JetDefs.BUT_MUTENONE)
94 self.btnMuteOrg = wx.Button(panel, -1, JetDefs.BUT_ORGMUTES)
95 hMuteButs = wx.BoxSizer(wx.HORIZONTAL)
[all …]
DJetSegGraph.py24 import wx
89 class SegmentGraph(wx.Panel):
91 …def __init__(self, parent, pos=wx.DefaultPosition, size=wx.DefaultSize, ClickCallbackFct=None, sho…
92 wx.Panel.__init__(self, parent, -1, pos=pos, size=size, style=wx.BORDER_STATIC)
107 …self.font = wx.Font(8, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, False, 'C…
110 self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM)
111 self.Bind(wx.EVT_PAINT, self.OnPaint)
112 self.Bind(wx.EVT_SIZE, self.OnSize)
113 self.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown)
201 self._Buffer = wx.EmptyBitmap(*Size)
[all …]
DJetCreator.py25 import wx
29 import wx.html
32 from wx.lib.mixins.listctrl import CheckListCtrlMixin, ListCtrlAutoWidthMixin
45 provider = wx.SimpleHelpProvider()
46 wx.HelpProvider_Set(provider)
49 class JetCreator(wx.Frame):
52wx.Frame.__init__(self, parent, id, size=(1050, 720), style=wx.DEFAULT_FRAME_STYLE | wx.MINIMIZE_B…
97 wx.EVT_CLOSE(self, self.OnClose)
110 panel = wx.Panel(self, -1)
112 hboxMain = wx.BoxSizer(wx.HORIZONTAL)
[all …]
DJetDialogs.py23 import wx
25 import wx.lib.newevent
50 self.ctrls[Text] = wx.Button(panel, Id, Lbl, wx.Point(Col, Row), size=Len)
52 … self.ctrls[Text].Bind(wx.EVT_BUTTON, getattr(callbackClass, Fct), self.ctrls[Text], id=Id)
53 if Id == wx.ID_OK:
58 … self.ctrls[Text] = wx.TextCtrl(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET +3), wx.Size(Len,-1))
60 …self.ctrls[Text] = JetSpinOneBased(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1)…
62 …self.ctrls[Text] = JetSpin(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1), min=Mi…
64 …self.ctrls[Text] = wx.ComboBox(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1), Ls…
67 … self.ctrls[Text].Bind(wx.EVT_COMBOBOX, getattr(callbackClass, Fct), self.ctrls[Text])
[all …]
DJetHelp.py23 import wx
24 import wx.html
27 app = wx.PySimpleApp()
28 frame = wx.Frame(None, -1, JetDefs.MAIN_HELPTITLE, size=(800,600))
29 html1 = wx.html.HtmlWindow(frame, -1)
DJetDefs.py23 import wx
344 BUTSIZE = wx.DefaultSize
395 … ('Cancel', F_CANCEL, BUTROW1+BUTOFF*3, COL3+200, BUTSIZE, 0, 0, wx.ID_CANCEL, [], "", True, ""),
404 ('Ok', F_OK, BUTROW1, COL3+100, BUTSIZE, 0, 0, wx.ID_OK, [], "OnOk", True, ""),
405 … ('Cancel', F_CANCEL, BUTROW1+BUTOFF*1, COL3+100, BUTSIZE, 0, 0, wx.ID_CANCEL, [], "", True, ""),
416 ('Ok', F_OK, BUTROW1, COL3+100, BUTSIZE, 0, 0, wx.ID_OK, [], "OnOk", True, ""),
417 … ('Cancel', F_CANCEL, BUTROW1+BUTOFF*1, COL3+100, BUTSIZE, 0, 0, wx.ID_CANCEL, [], "", True, ""),
428 ('Ok', F_OK, BUTROW1, 500, BUTSIZE, 0, 0, wx.ID_OK, [], "OnOk", True, ""),
454 … ('Ok', F_ADDCLIP, BUTROW1, COL3+EVT_OFFSET, BUTSIZE, 0, 0, wx.ID_OK, [], "OnOk", True, ""),
455 …('Cancel', F_CANCEL, BUTROW1+BUTOFF*1, COL3+EVT_OFFSET, BUTSIZE, 0, 0, wx.ID_CANCEL, [], "OnClose"…
[all …]
DJetStatusEvent.py23 import wx
25 EVT_JET_STATUS_ID = wx.NewId()
30 class JetStatusEvent(wx.PyEvent):
33 wx.PyEvent.__init__(self)
DJetPreview.py25 import wx
35 class PreviewPlayer(wx.Frame):
100 wx.PostEvent(self.parentWin, JetStatusEvent(JetDefs.PST_PLAY, None))
164 wx.PostEvent(self.parentWin, JetStatusEvent(JetDefs.PST_UPD_LOCATION, status.location))
174 wx.PostEvent(self.parentWin, JetStatusEvent(JetDefs.PST_DONE, None))
176 wx.PostEvent(self.parentWin, JetStatusEvent(JetDefs.PST_UPD_LOCATION, 0))
195 wx.PostEvent(self.parentWin, JetStatusEvent(JetDefs.PST_PAUSE, None))
199 wx.PostEvent(self.parentWin, JetStatusEvent(JetDefs.PST_RESUME, None))
/external/tensorflow/tensorflow/core/kernels/
Dlogistic-loss.h33 const double current_dual, const double wx, in ComputeUpdatedDual() argument
40 x = NewtonStep(x, num_loss_partitions, label, wx, example_weight, in ComputeUpdatedDual()
61 double ComputePrimalLoss(const double wx, const double example_label, in ComputePrimalLoss() argument
68 const double y_wx = example_label * wx; in ComputePrimalLoss()
81 double PrimalLossDerivative(const double wx, const double label, in PrimalLossDerivative() argument
84 if (label * wx > 0) { in PrimalLossDerivative()
85 inverse_exp_term = exp(-label * wx) / (1 + exp(-label * wx)); in PrimalLossDerivative()
87 inverse_exp_term = 1 / (1 + exp(label * wx)); in PrimalLossDerivative()
116 const double label, const double wx, in NewtonStep() argument
121 const double numerator = -2 * label * x - wx - in NewtonStep()
Dpoisson-loss.h31 const double current_dual, const double wx, in ComputeUpdatedDual() argument
41 x = NewtonStep(x, num_loss_partitions, label, wx, example_weight, in ComputeUpdatedDual()
65 double ComputePrimalLoss(const double wx, const double example_label, in ComputePrimalLoss() argument
67 return (exp(wx) - wx * example_label) * example_weight; in ComputePrimalLoss()
70 double PrimalLossDerivative(const double wx, const double label, in PrimalLossDerivative() argument
72 return (exp(wx) - label) * example_weight; in PrimalLossDerivative()
93 const double label, const double wx, in NewtonStep() argument
99 x - wx - num_loss_partitions * weighted_example_norm * in NewtonStep()
Dsmooth-hinge-loss.h35 const double current_dual, const double wx, in ComputeUpdatedDual() argument
45 (label - wx - gamma * current_dual) / in ComputeUpdatedDual()
68 double ComputePrimalLoss(const double wx, const double example_label, in ComputePrimalLoss() argument
70 const double y_wx = example_label * wx; in ComputePrimalLoss()
92 double PrimalLossDerivative(const double wx, const double label, in PrimalLossDerivative() argument
94 if (label * wx >= 1) { in PrimalLossDerivative()
97 if (label * wx <= 1 - gamma) { in PrimalLossDerivative()
100 return (wx - label) / gamma; in PrimalLossDerivative()
Dsquared-loss.h34 const double current_dual, const double wx, in ComputeUpdatedDual() argument
36 const double delta_numerator = label - current_dual - wx; in ComputeUpdatedDual()
52 double ComputePrimalLoss(const double wx, const double example_label, in ComputePrimalLoss() argument
54 const double error = wx - example_label; in ComputePrimalLoss()
58 inline double PrimalLossDerivative(const double wx, const double label, in PrimalLossDerivative() argument
60 return (wx - label) * example_weight; in PrimalLossDerivative()
Dhinge-loss.h44 const double current_dual, const double wx, in ComputeUpdatedDual() argument
53 current_dual + (label - wx) / (num_loss_partitions * example_weight * in ComputeUpdatedDual()
89 double ComputePrimalLoss(const double wx, const double example_label, in ComputePrimalLoss() argument
91 const double y_wx = example_label * wx; in ComputePrimalLoss()
95 double PrimalLossDerivative(const double wx, const double label, in PrimalLossDerivative() argument
97 if (label * wx < 1) { in PrimalLossDerivative()
Dloss.h31 const double example_weight, const double current_dual, const double wx,
42 virtual double ComputePrimalLoss(const double wx, const double example_label,
46 virtual double PrimalLossDerivative(const double wx,
/external/libpng/contrib/tools/
Dgenpng.c326 double wx = bicubic[abs(dx)][0]; in alpha_calc() local
328 if (wx != 0 && arg->inside_fn(arg, x+dx/16, y+dy/16)) in alpha_calc()
329 alphay += wx; in alpha_calc()
387 double wx = fabs(arg->x1-arg->x2)/2; in square_check_line() local
391 if (square_check(x, y, cx-wx-w, cy-wy-w, cx+wx+w, cy+wy+w)) in square_check_line()
396 wx -= w; in square_check_line()
398 if (wx > 0 && wy > 0 && square_check(x, y, cx-wx, cy-wy, cx+wx, cy+wy)) in square_check_line()
496 double wx = fabs(arg->x1-arg->x2)/2; in circle_check_line() local
500 if (circle_check(x, y, cx-wx-w, cy-wy-w, cx+wx+w, cy+wy+w)) in circle_check_line()
505 wx -= w; in circle_check_line()
[all …]
/external/skqp/src/opts/
DSkBitmapProcState_opts.h127 __m128i wx; in S32_alpha_D32_filter_DX() local
128 decode_packed_coordinates_and_weight(xx, x0, x1, &wx); in S32_alpha_D32_filter_DX()
132 __m128i wx1 = _mm_shuffle_epi8(wx, _mm_setr_epi8(0,0,0,0,4,4,4,4,8,8,8,8,12,12,12,12)), in S32_alpha_D32_filter_DX()
164 int x0, x1, wx; in S32_alpha_D32_filter_DX() local
165 decode_packed_coordinates_and_weight(*xy++, &x0, &x1, &wx); in S32_alpha_D32_filter_DX()
168 __m128i wx1 = _mm_set1_epi8(wx), // This splats it out 16 times, but that's fine. in S32_alpha_D32_filter_DX()
208 int x0, x1, wx; in S32_alpha_D32_filter_DX() local
209 decode_packed_coordinates_and_weight(*xy++, &x0, &x1, &wx); in S32_alpha_D32_filter_DX()
223 a00a10 = _mm_mullo_epi16(a00a10, _mm_set1_epi16(16-wx)); in S32_alpha_D32_filter_DX()
232 a01a11 = _mm_mullo_epi16(a01a11, _mm_set1_epi16(wx)); in S32_alpha_D32_filter_DX()
[all …]
/external/skia/src/opts/
DSkBitmapProcState_opts.h127 __m128i wx; in S32_alpha_D32_filter_DX() local
128 decode_packed_coordinates_and_weight(xx, x0, x1, &wx); in S32_alpha_D32_filter_DX()
132 __m128i wx1 = _mm_shuffle_epi8(wx, _mm_setr_epi8(0,0,0,0,4,4,4,4,8,8,8,8,12,12,12,12)), in S32_alpha_D32_filter_DX()
164 int x0, x1, wx; in S32_alpha_D32_filter_DX() local
165 decode_packed_coordinates_and_weight(*xy++, &x0, &x1, &wx); in S32_alpha_D32_filter_DX()
168 __m128i wx1 = _mm_set1_epi8(wx), // This splats it out 16 times, but that's fine. in S32_alpha_D32_filter_DX()
208 int x0, x1, wx; in S32_alpha_D32_filter_DX() local
209 decode_packed_coordinates_and_weight(*xy++, &x0, &x1, &wx); in S32_alpha_D32_filter_DX()
223 a00a10 = _mm_mullo_epi16(a00a10, _mm_set1_epi16(16-wx)); in S32_alpha_D32_filter_DX()
232 a01a11 = _mm_mullo_epi16(a01a11, _mm_set1_epi16(wx)); in S32_alpha_D32_filter_DX()
[all …]
/external/deqp/framework/opengl/
DgluTextureTestUtil.cpp296 static inline float triDerivateX (const tcu::Vec3& s, const tcu::Vec3& w, float wx, float width, fl… in triDerivateX() argument
298 float d = w[1]*w[2]*(width*(ny - 1.0f) + wx) - w[0]*(w[2]*width*ny + w[1]*wx); in triDerivateX()
309 …iLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& projection, float wx, float wy, float wid… in computeProjectedTriLod() argument
312 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod()
313 float dudy = triDerivateY(u, projection, wy, height, wx/width); in computeProjectedTriLod()
319 …const tcu::Vec3& u, const tcu::Vec3& v, const tcu::Vec3& projection, float wx, float wy, float wid… in computeProjectedTriLod() argument
322 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod()
323 float dvdx = triDerivateX(v, projection, wx, width, wy/height); in computeProjectedTriLod()
324 float dudy = triDerivateY(u, projection, wy, height, wx/width); in computeProjectedTriLod()
325 float dvdy = triDerivateY(v, projection, wy, height, wx/width); in computeProjectedTriLod()
[all …]
/external/boringssl/src/third_party/wycheproof_testvectors/
Decdsa_secp256r1_sha256_test.txt11 [key.wx = 2927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838]
1815 [key.wx = 0ad99500288d466940031d72a9f5445a4d43784640855bf0a69874d2de5fe103]
1836 [key.wx = 0ab05fd9d0de26b9ce6f4819652d9fc69193d0aa398f0fba8013e09c582204554]
1851 [key.wx = 080984f39a1ff38a86a68aa4201b6be5dfbfecf876219710b07badf6fdd4c6c56]
1866 [key.wx = 4201b4272944201c3294f5baa9a3232b6dd687495fcc19a70a95bc602b4f7c05]
1881 [key.wx = 0a71af64de5126a4a4e02b7922d66ce9415ce88a4c9d25514d91082c8725ac957]
1896 [key.wx = 6627cec4f0731ea23fc2931f90ebe5b7572f597d20df08fc2b31ee8ef16b1572]
1911 [key.wx = 5a7c8825e85691cce1f5e7544c54e73f14afc010cb731343262ca7ec5a77f5bf]
1926 [key.wx = 0cbe0c29132cd738364fedd603152990c048e5e2fff996d883fa6caca7978c737]
1947 [key.wx = 4be4178097002f0deab68f0d9a130e0ed33a6795d02a20796db83444b037e139]
[all …]
Decdsa_secp224r1_sha224_test.txt11 [key.wx = 0eada93be10b2449e1e8bb58305d52008013c57107c1a20a317a6cba7]
1647 [key.wx = 08bf7e792f7c86877f1fd0552e42d80653b59e3a29e762a22810daac7]
1668 [key.wx = 2646ff36d9697aaaed0d641117f94f60e138bab8e9912b558ae0a818]
1683 [key.wx = 0ea3ea2873b6fc099bfd779b0a2c23c2c4354e2fec4536f3b8e420988]
1698 [key.wx = 092ae54e38b4e9c6ae9943193747c4c8acc6c96f422515288e9698a13]
1713 [key.wx = 0b157315cc1aaeae64eb5b38452884195fdfe8a15fb5618284f48afe5]
1728 [key.wx = 087d9d964044b5b16801f32de9f3f9066194e8bf80affa3cb0d4ddb1d]
1743 [key.wx = 461b435af09ede35e74dac21f9af7b1b9998213039f8785d4a4905f5]
1764 [key.wx = 08093af8db04b3dd2e7c3c59bb64a832c2fb8e8e141bae7ba1534950a]
1779 [key.wx = 0c6d71f4ba0933f1269f7d6df83fd0c9c67254f101dcc126dc15faa3e]
[all …]
Decdsa_secp256r1_sha512_test.txt11 [key.wx = 2927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838]
2229 [key.wx = 0b6e08b1bcc89e7fb0b84d7497e310553495be4877eccc4b3d6d79f7c68a05734]
2250 [key.wx = 3590c6a10353d669bc94d8e2ff9e14bbeed4a7f45b887255ab7e37b676387bb6]
2265 [key.wx = 369e96402f2cfd1a37b3acbdecfc562862dbca944a0f12d7aaacb8d325d7650a]
2280 [key.wx = 27a0a80ea2e1aa798ea9bcc3aedbf01ab78e49c9ec2ad0e08a0429a0e1db4d0d]
2295 [key.wx = 09cff61712d4bc5b3638341e6e0a576a8098c9c6d3f198d389c4669f398dc0867]
2310 [key.wx = 0d9117cae81295e82682fa387991e668e1570e0e90100bf4e63964822460561bc]
2325 [key.wx = 08cfcbad3524c22b992529f943e3ce0b2d126085501d6e3edd4f1dbf74bdca21e]
2340 [key.wx = 0fbb51127e1f1b6a38e9fe9a2544614edb8e43ad7cd8c56f14b3235dda3bc1117]
2361 [key.wx = 0dc80905500d7d74ed47de5224d8734545f22b776ae086cabfffe6ce58d5ef994]
[all …]
Decdsa_secp224r1_sha256_test.txt11 [key.wx = 0eada93be10b2449e1e8bb58305d52008013c57107c1a20a317a6cba7]
1805 [key.wx = 093b4c28f032d00f80e77491edc158359909ee9e30a7327b74219e5e2]
1826 [key.wx = 0da927f4ba88b639bf5334221d2f54d8ef9ccc1a1125fad18c7bfb789]
1841 [key.wx = 20888e1c0f5694c4c0363b36482beb6e1e6649b3d3b26f127febb6fc]
1856 [key.wx = 09545c86f032c5df255a4490bb0b83eca201181792ad74246874db229]
1871 [key.wx = 579d53f39d5109bd440e3e3e7efd603740963348ff9c72c03b0fe6b8]
1886 [key.wx = 0d2a14c8106d89f3536faebdafcd4680f65ab4bf2243164ca1464b628]
1901 [key.wx = 0e892479153ad13ea5ca45d4c323ebf1fc3cd0cdf787c34306a3f79a4]
1922 [key.wx = 2b0eac35c0b294f6d435dcaffa8633b0123005465c30080adbcc103a]
1937 [key.wx = 0d156e01e33becede8f4fb4ae9521d751e7f8eb795ca00857db2fd7af]
[all …]
Decdsa_secp384r1_sha384_test.txt11 [key.wx = 2da57dda1089276a543f9ffdac0bff0d976cad71eb7280e7d9bfd9fee4bdb2f20f47ff888274389772d98cc57…
2007 [key.wx = 4bf4e52f958427ebb5915fb8c9595551b4d3a3fdab67badd9d6c3093f425ba43630df71f42f0eb7ceaa94d9f6…
2028 [key.wx = 3623bb296b88f626d0f92656bf016f115b721277ccb4930739bfbd81f9c1e734630e0685d32e154e0b4a5c62e…
2043 [key.wx = 0d516cb8ac8e4457b693d5192beeb6ce7d9a46bef48eecf3ea823286f101f98d130f5a26dc6fec23662eff07f…
2058 [key.wx = 0a8380cd35026e13bf87be693cdb6e75a82d765b4019b529e8d277c4af6c9db27ebb5d3f86e88add9d5b61186…
2073 [key.wx = 554f2fd0b700a9f4568752b673d9c0d29dc96c10fe67e38c6d6d339bfafe05f970da8c3d2164e82031307a44b…
2088 [key.wx = 44ee3335fa77d2fb02e4bd7074f45e598a879c0fa822ec718c21dc13b83440edc4e3c10a1858423e03044c9ef…
2103 [key.wx = 0e2f87f72e3c66c73037fe77607d42ad2d9c4cc159893b4b9b8b0365d3a7766dbe8678b02e2b68f58e5a4f768…
2124 [key.wx = 5e67c44fc0cbc9a8eb343b4d6f596c7d00cac5da8594caf45b7209397496214c42d856a015ce589bc9ba865a4…
2139 [key.wx = 0bb03fce3c01ebcf0873abd134a8682f5fb8dbffa22da674047e5c3e71e43de582ed6abb908c2e4faa5d96186…
[all …]
Decdsa_secp521r1_sha512_test.txt11 [key.wx = 5c6457ec088d532f482093965ae53ccd07e556ed59e2af945cd8c7a95c1c644f8a56a8a8a3cd77392ddd861e8…
2222 [key.wx = 491cd6c5f93b7414d6d45cfe3d264bd077fc4427a4b0afede76cac537a7ca5ee2c44564258260f7691b81fdfe…
2243 [key.wx = 15f281dcdc976641ce024dca1eac8ddd7f949e3290d3b2de11c4873f3676a06ff9f704c24813bd8d63528b2e8…
2258 [key.wx = 336d5d08fe75c50946e6dddd36c550bb054d9925c8f254cfe1c3388f720b1d6500a90412b020b3db592b92ab9…
2273 [key.wx = 6f8fadedbae63701072c287c633f9c0052ea1e6cd00a84342cc0f626210071576abfd0875664b0746cdaf2745…
2288 [key.wx = 5e7eb6c4f481830abaad8a60ddb09891164ee418ea4cd2995062e227d33c229fb737bf330703097d6b3b69a3f…
2303 [key.wx = 0b420fb1fecdd9cc5ea7d7c7617e70538db32e6d7a0ad722c63580f1f6a1f5537eb50930b90fd6fdd9abd4001…
2318 [key.wx = 32b9a17c201aec34d29b8c2764e7c7f6aeef10fb61bf9837117fad879f8c6a22a300006d2018cf42b25898ffc…
2339 [key.wx = 67dd456b52f82a5d4c4a71b3ea9302f62a852ddc04ad25b62fef1ddf657374fb4e80679ddf42d212f0711db32…
2354 [key.wx = 68d7b518214766ac734a7461d499352444377d50af42a1bbdb7f0032065ee6dc341ccf231af65250e7d13a807…
[all …]

12345678910>>...16