/external/sonivox/jet_tools/JetCreator/ |
JetHelp.py | 23 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)
|
JetStatusEvent.py | 23 import wx
25 EVT_JET_STATUS_ID = wx.NewId()
30 class JetStatusEvent(wx.PyEvent):
33 wx.PyEvent.__init__(self)
|
JetSystemInfo.py | 26 import wx
30 print(wx.__version__)
|
JetCtrls.py | 23 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,style=wx.SP_ARROW_KEYS,min=0,max=100,initial=0):
33 wx.SpinCtrl.__init__(self, parent, id=id,value=value,pos=(pos[0]-MacOffset(),pos[1]),size=size,style=style,min=min,max=max,initial=initial)
38 wx.SpinCtrl.SetValue(self, int(val))
40 wx.SpinCtrl.SetValue(self, val) [all...] |
JetAudition.py | 25 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...] |
JetSegGraph.py | 24 import wx
89 class SegmentGraph(wx.Panel):
91 def __init__(self, parent, pos=wx.DefaultPosition, size=wx.DefaultSize, ClickCallbackFct=None, showLabels=True, showClips=True, showAppEvts=True):
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, 'Courier') [all...] |
JetCreator.py | 25 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):
52 wx.Frame.__init__(self, parent, id, size=(1050, 720), style=wx.DEFAULT_FRAME_STYLE | wx.MINIMIZE_BOX | wx.MAXIMIZE_BOX) [all...] |
img_Paste.py | 2 # This file was generated by C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\tools\img2py.py
4 from wx import ImageFromStream, BitmapFromImage, EmptyIcon
|
JetDialogs.py | 23 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), min=Min, max=Max) [all...] |
JetPreview.py | 25 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))
|
JetDefs.py | 23 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", True, ""), [all...] |
img_favicon.py | 2 # This file was generated by C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\tools\img2py.py
4 from wx import ImageFromStream, BitmapFromImage, EmptyIcon
|
/external/tensorflow/tensorflow/core/kernels/ |
loss.h | 31 const double example_weight, const double current_dual, const double wx, 40 // Compute the primal loss based on current estimate of log-odds(wx), 42 virtual double ComputePrimalLoss(const double wx, const double example_label, 46 virtual double PrimalLossDerivative(const double wx,
|
hinge-loss.h | 44 const double current_dual, const double wx, 53 current_dual + (label - wx) / (num_loss_partitions * example_weight * 87 // equals max(0, 1 - y * wx) (see https://en.wikipedia.org/wiki/Hinge_loss). 89 double ComputePrimalLoss(const double wx, const double example_label, 91 const double y_wx = example_label * wx; 95 double PrimalLossDerivative(const double wx, const double label, 97 if (label * wx < 1) {
|
squared-loss.h | 34 const double current_dual, const double wx, 36 const double delta_numerator = label - current_dual - wx; 52 double ComputePrimalLoss(const double wx, const double example_label, 54 const double error = wx - example_label; 58 inline double PrimalLossDerivative(const double wx, const double label, 60 return (wx - label) * example_weight;
|
logistic-loss.h | 33 const double current_dual, const double wx, 40 x = NewtonStep(x, num_loss_partitions, label, wx, example_weight, 61 double ComputePrimalLoss(const double wx, const double example_label, 68 const double y_wx = example_label * wx; 81 double PrimalLossDerivative(const double wx, const double label, 84 if (label * wx > 0) { 85 inverse_exp_term = exp(-label * wx) / (1 + exp(-label * wx)); 87 inverse_exp_term = 1 / (1 + exp(label * wx)); 116 const double label, const double wx, [all...] |
smooth-hinge-loss.h | 35 const double current_dual, const double wx, 45 (label - wx - gamma * current_dual) / 68 double ComputePrimalLoss(const double wx, const double example_label, 70 const double y_wx = example_label * wx; 92 double PrimalLossDerivative(const double wx, const double label, 94 if (label * wx >= 1) { 97 if (label * wx <= 1 - gamma) { 100 return (wx - label) / gamma;
|
/system/iot/attestation/at-factory-tool/ |
atft.py | 38 import wx 246 class Event(wx.PyCommandEvent): 258 wx.PyCommandEvent.__init__(self, etype, eid) 269 class Atft(wx.Frame): 595 style = long(wx.DEFAULT_FRAME_STYLE ^ wx.RESIZE_BORDER) 596 wx.Frame.__init__(self, None, style=style) 622 self.menubar = wx.MenuBar() 623 self.app_menu = wx.Menu() 625 self.provision_menu = wx.Menu( [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
logging_ops_test.py | 72 wx = math_ops.matmul(w, inp, name="wx") 73 wx_print = logging_ops.Print(wx, [w, w, w]) 74 wx_grad = gradients_impl.gradients(wx, w)[0]
|
/external/libpng/contrib/tools/ |
genpng.c | 326 double wx = bicubic[abs(dx)][0]; local 328 if (wx != 0 && arg->inside_fn(arg, x+dx/16, y+dy/16)) 329 alphay += wx; 387 double wx = fabs(arg->x1-arg->x2)/2; local 391 if (square_check(x, y, cx-wx-w, cy-wy-w, cx+wx+w, cy+wy+w)) 396 wx -= w; 398 if (wx > 0 && wy > 0 && square_check(x, y, cx-wx, cy-wy, cx+wx, cy+wy) 496 double wx = fabs(arg->x1-arg->x2)\/2; local [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.h | 101 void FrameToMosaic(double trs[3][3], double x, double y, double &wx, double &wy); 102 void MosaicToFrame(double trs[3][3], double x, double y, double &wx, double &wy);
|
/external/deqp/framework/opengl/ |
gluTextureTestUtil.cpp | 296 static inline float triDerivateX (const tcu::Vec3& s, const tcu::Vec3& w, float wx, float width, float ny) 298 float d = w[1]*w[2]*(width*(ny - 1.0f) + wx) - w[0]*(w[2]*width*ny + w[1]*wx); 309 static float computeProjectedTriLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& projection, float wx, float wy, float width, float height) 312 float dudx = triDerivateX(u, projection, wx, width, wy/height); 313 float dudy = triDerivateY(u, projection, wy, height, wx/width); 319 static float computeProjectedTriLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& v, const tcu::Vec3& projection, float wx, float wy, float width, float height) 322 float dudx = triDerivateX(u, projection, wx, width, wy/height); 323 float dvdx = triDerivateX(v, projection, wx, width, wy/height); 324 float dudy = triDerivateY(u, projection, wy, height, wx/width) 484 float wx = (float)px + 0.5f; local 527 float wx = (float)px + 0.5f; local 633 const float wx = (float)px + 0.5f; local 829 float wx = (float)px + 0.5f; local 886 const float wx = (float)px + 0.5f; local 1280 const float wx = (float)px + 0.5f; local 1387 const float wx = (float)px + 0.5f; local 1594 const float wx = (float)px + 0.5f; local 1768 const float wx = (float)px + 0.5f; local 1935 const float wx = (float)px + 0.5f; local 2044 const float wx = (float)px + 0.5f; local 2241 const float wx = (float)px + 0.5f; local 2416 const float wx = (float)px + 0.5f; local 2530 const float wx = (float)px + 0.5f; local 2652 const float wx = (float)px + 0.5f; local [all...] |
/external/ltp/testcases/network/nfs/nfs_stress/ |
nfs02 | 58 ROD chmod a-wx ascii.sm
|
/external/zlib/src/watcom/ |
watcom_l.mak | 19 CFLAGS = -zq -ml -s -bt=dos -oilrtfm -fr=nul -wx
|
/toolchain/binutils/binutils-2.27/zlib/watcom/ |
watcom_l.mak | 19 CFLAGS = -zq -ml -s -bt=dos -oilrtfm -fr=nul -wx
|