ToggleSlider::ToggleSlider( /* [in] */ IContext* context) : RelativeLayout(context) , mTracking(FALSE) { InitImpl(context, NULL, 0); }
ECode ResourceCursorAdapter::Init( /* [in] */ IContext* context, /* [in] */ Int32 layout, /* [in] */ ICursor* c) { CursorAdapter::Init(context, c); return InitImpl(context, layout); }
ECode NotificationRowLayout::Init( /* [in] */ IContext* ctx, /* [in] */ IAttributeSet* attrs, /* [in] */ Int32 defStyle) { LinearLayout::Init(ctx, attrs, defStyle); return InitImpl(ctx, attrs, defStyle); }
ECode ToggleSlider::Init( /* [in] */ IContext* context, /* [in] */ IAttributeSet* attrs, /* [in] */ Int32 defStyle) { RelativeLayout::Init(context, attrs, defStyle); return InitImpl(context, attrs, defStyle); }
ToggleSlider::ToggleSlider( /* [in] */ IContext* context, /* [in] */ IAttributeSet* attrs) : RelativeLayout(context, attrs) , mTracking(FALSE) { InitImpl(context, attrs, 0); }
ECode ResourceCursorAdapter::Init( /* [in] */ IContext* context, /* [in] */ Int32 layout, /* [in] */ ICursor* c, /* [in] */ Boolean autoRequery) { CursorAdapter::Init(context, c, autoRequery); return InitImpl(context, layout); }
NotificationRowLayout::NotificationRowLayout( /* [in] */ IContext* context, /* [in] */ IAttributeSet* attrs) : LinearLayout(context, attrs) , mAnimateBounds(TRUE) , mRemoveViews(TRUE) { InitImpl(context, attrs, 0); }
ResourceCursorAdapter::ResourceCursorAdapter( /* [in] */ IContext* context, /* [in] */ Int32 layout, /* [in] */ ICursor* c) : CursorAdapter(context, c) , mLayout(0) , mDropDownLayout(0) { InitImpl(context, layout); }
ECode SimpleCursorAdapter::Init( /* [in] */ IContext* context, /* [in] */ Int32 layout, /* [in] */ ICursor* c, /* [in] */ ArrayOf<String>* from, /* [in] */ ArrayOf<Int32>* to) { ResourceCursorAdapter::Init(context, layout, c); return InitImpl(c, from, to); }
ResourceCursorAdapter::ResourceCursorAdapter( /* [in] */ IContext* context, /* [in] */ Int32 layout, /* [in] */ ICursor* c, /* [in] */ Boolean autoRequery) : CursorAdapter(context, c, autoRequery) , mLayout(0) , mDropDownLayout(0) { InitImpl(context, layout); }
SimpleCursorAdapter::SimpleCursorAdapter( /* [in] */ IContext* context, /* [in] */ Int32 layout, /* [in] */ ICursor* c, /* [in] */ ArrayOf<String>* from, /* [in] */ ArrayOf<Int32>* to) : ResourceCursorAdapter(context, layout, c) , mStringConversionColumn(-1) { InitImpl(c, from, to); }
XnStatus XnDeviceBase::Init(const XnDeviceConfig* pDeviceConfig) { XnStatus nRetVal = XN_STATUS_OK; // first init the device nRetVal = InitImpl(pDeviceConfig); XN_IS_STATUS_OK(nRetVal); // and now create streams if (pDeviceConfig->pInitialValues != NULL) { nRetVal = CreateStreams(pDeviceConfig->pInitialValues); XN_IS_STATUS_OK(nRetVal); } return (XN_STATUS_OK); }
void initializeGL() { m_timerObj.reset(new QObject()); m_timerObj->installEventFilter(this); m_timerID = m_timerObj->startTimer(1000 / 60); base_t::initializeGL(); m_controller.reset(new gui::Controller()); gui::Controller::RenderParams rp; graphics::Screen::Params cp; cp.m_threadSlot = 0; cp.m_storageType = graphics::ETinyStorage; cp.m_textureType = graphics::ESmallTexture; cp.m_resourceManager = base_t::m_resourceManager; cp.m_renderContext = base_t::m_primaryContext; m_cacheScreen.reset(new graphics::Screen(cp)); rp.m_CacheScreen = m_cacheScreen.get(); rp.m_GlyphCache = base_t::m_resourceManager->glyphCache(0); rp.m_InvalidateFn = bind(&GUITestWidget<TTest>::invalidate, this); rp.m_Density = graphics::EDensityMDPI; m_stringBundle.reset(new StringsBundle()); m_stringBundle->SetDefaultString("country_status_download", "Download^"); m_controller->SetStringsBundle(m_stringBundle.get()); InitImpl(m_controller, bool_tag<has_init_with_controller<TTest, TTest>::value >()); m_controller->SetRenderParams(rp); }