@class NSURL, OKPresentationPage, NSMutableDictionary, UISnapBehavior, OKPresentationWidget, OKWidgetContainerView, NSMutableArray, NSString, OFUIView, NSRecursiveLock, OKWidgetView, NSArray, OKPresentationViewController, OKDynamicItemProxy, UIImageView; @protocol OKWidgetViewDelegate; @interface OKWidgetViewProxy : OFUIView { struct UIEdgeInsets { double top; double left; double bottom; double right; } _eventsInset; BOOL _ignoreEventsOnTransparentPixels; NSURL *_borderImageURL; UIImageView *_borderView; OKWidgetContainerView *_contentContainerView; BOOL _needsApplySettings; BOOL _hasSettingsApplied; struct UIEdgeInsets { double top; double left; double bottom; double right; } _borderEdgeOutsets; struct UIEdgeInsets { double top; double left; double bottom; double right; } _borderImageCapEdgeInsets; BOOL _shadowOptimization; NSArray *_contentEffects; BOOL _antialiasing; struct CATransform3D { double m11; double m12; double m13; double m14; double m21; double m22; double m23; double m24; double m31; double m32; double m33; double m34; double m41; double m42; double m43; double m44; } _widgetTransform; struct CATransform3D { double m11; double m12; double m13; double m14; double m21; double m22; double m23; double m24; double m31; double m32; double m33; double m34; double m41; double m42; double m43; double m44; } _motionTransform; struct CATransform3D { double m11; double m12; double m13; double m14; double m21; double m22; double m23; double m24; double m31; double m32; double m33; double m34; double m41; double m42; double m43; double m44; } _parallaxTransform; struct CGAffineTransform { double a; double b; double c; double d; double tx; double ty; } _dynamicsTransform; double _zRotation; struct CGPoint { double x; double y; } _zRotationAnchorPoint; BOOL _xFlipped; BOOL _yFlipped; struct CGPoint { double x; double y; } _xyTranslation; struct CGSize { double width; double height; } _xyScale; BOOL _motionEnabled; BOOL _motionTiltXEnabled; BOOL _motionTiltYEnabled; BOOL _motionTiltZEnabled; struct CGSize { double width; double height; } _motionXMinMax; struct CGSize { double width; double height; } _motionYMinMax; struct CGSize { double width; double height; } _motionZMinMax; struct CGPoint { double x; double y; } _motionXTiltAnchorPoint; struct CGPoint { double x; double y; } _motionYTiltAnchorPoint; struct CGPoint { double x; double y; } _motionZTiltAnchorPoint; BOOL _motionXTiltReversed; BOOL _motionYTiltReversed; BOOL _motionZTiltReversed; NSString *_dynamicsCollisionActionScript; OFUIView *_dimmerView; struct { id x0; id x1; double x2; struct CGPoint { double x0; double x1; } x3; struct CGSize { double x0; double x1; } x4; float x5; struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } x6; struct CGPoint { double x0; double x1; } x7; struct CGSize { double x0; double x1; } x8; double x9; struct CGSize { double x0; double x1; } x10; struct CGPoint { double x0; double x1; } x11; BOOL x12; double x13; } *_focusGestureHelper; unsigned long long _focusGestureMode; struct UIEdgeInsets { double top; double left; double bottom; double right; } _focusGestureInsets; NSString *_prepareActionScript; NSString *_canPerformActionScript; NSArray *_layoutSteps; NSMutableDictionary *_actionBindings; BOOL _isReady; NSMutableArray *_readyNotificationBlocks; NSRecursiveLock *_readyRecursiveLock; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _originalFrame; struct CGSize { double width; double height; } _lastBoundsSize; NSMutableArray *_newSubWidgetViews; UISnapBehavior *_dynamicSnapBehavior; } @property (nonatomic) unsigned long long prepareMode; @property (retain, nonatomic) OKPresentationPage *page; @property (readonly, nonatomic) OKPresentationViewController *presentationViewController; @property (readonly, retain, nonatomic) OKDynamicItemProxy *dynamicProxy; @property (readonly, retain, nonatomic) NSMutableArray *subWidgetViews; @property (readonly, nonatomic) BOOL parallaxEnabled; @property (readonly, nonatomic) BOOL needsZoning; @property (nonatomic) unsigned long long presentationMode; @property (readonly, retain, nonatomic) OKPresentationWidget *widget; @property (readonly, retain, nonatomic) NSMutableArray *mediaURLs; @property (readonly, retain, nonatomic) OKWidgetContainerView *contentView; @property (nonatomic) OKWidgetView *parentWidgetView; @property (nonatomic) id delegate; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (nonatomic) struct CGPoint { double x0; double x1; } center; @property (nonatomic) struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } bounds; @property (nonatomic) struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } dynamicsTransform; @property (readonly) OFUIView *actionView; + (void)setupJavascriptContext:(id)a0; + (id)supportedSettings; - (id)valueForUndefinedKey:(id)a0; - (BOOL)isFocused; - (BOOL)prepareForDisplay:(BOOL)a0; - (void)play; - (void)commonInit; - (void)dealloc; - (void)setUserSettingObject:(id)a0 forKey:(id)a1; - (id)initWithWidget:(id)a0; - (void)sizeToFit; - (void)setFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (BOOL)_shouldAnimatePropertyWithKey:(id)a0; - (id)_borderView; - (float)contentAspectRatio; - (BOOL)isActivityIndicatorVisible; - (id)name; - (id)pageViewController; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })originalFrame; - (void)layoutSubviews; - (id)settingObjectForKey:(id)a0; - (void)setCenterX:(double)a0; - (void)setCenterY:(double)a0; - (void)updateBorder; - (void)updateShadowPath; - (void)instantPause; - (void)updateProgressIndicator:(double)a0; - (void)prepareForReload; - (void)setActivityIndicatorVisible:(BOOL)a0; - (BOOL)canPerformAction:(id)a0; - (id)_dimmerView; - (void)_prepareToFocus; - (void)setSettingSize:(struct CGSize { double x0; double x1; })a0; - (void)setSettingZRotationAnchorPoint:(struct CGPoint { double x0; double x1; })a0; - (struct CGPoint { double x0; double x1; })settingPosition; - (BOOL)settingYFlipped; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })calculateFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (BOOL)performActionScript:(id)a0 withAction:(id)a1; - (void)setNeedsPrepare; - (void)setSettingDynamicsBodyFriction:(double)a0; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })settingBorderImageCapEdgeInsets; - (BOOL)settingXFlipped; - (void)_animateToFocus:(double)a0 completion:(id /* block */)a1; - (void)_animateToUnfocus:(double)a0 completion:(id /* block */)a1; - (void)_animationToFocus; - (void)_animationToUnfocus; - (void)_cancelAllOperations; - (void)_cancelBorderOperations; - (void)_completionToFocus:(BOOL)a0; - (void)_completionToUnfocus:(BOOL)a0; - (id)_contentViewToFocus; - (struct { id x0; id x1; double x2; struct CGPoint { double x0; double x1; } x3; struct CGSize { double x0; double x1; } x4; float x5; struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } x6; struct CGPoint { double x0; double x1; } x7; struct CGSize { double x0; double x1; } x8; double x9; struct CGSize { double x0; double x1; } x10; struct CGPoint { double x0; double x1; } x11; BOOL x12; double x13; } *)_focusGestureHelper; - (struct CGSize { double x0; double x1; })_focusSize; - (struct CATransform3D { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; double x12; double x13; double x14; double x15; })_jsOriginalTransform; - (void)_jsSetTransform:(struct CATransform3D { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; double x12; double x13; double x14; double x15; })a0; - (struct CATransform3D { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; double x12; double x13; double x14; double x15; })_jsTransform; - (double)_localReadyProgress; - (void)_prepareToUnfocus; - (id)_preparseLayoutString:(id)a0 targetView:(out id *)a1 anchorView:(out id *)a2; - (void)_reloadBorderContent; - (void)_reloadBorderContentInHighQuality:(BOOL)a0; - (void)_startShowingProgressIndicator; - (void)_stopShowingProgressIndicator; - (void)_unloadBorderContent; - (id)actionBindingForAction:(id)a0 isTouchCountAgnostic:(BOOL)a1; - (void)addActionBinding:(id)a0 scope:(unsigned long long)a1; - (id)addSubWidgetViewWithTemplateName:(id)a0 name:(id)a1 andSettings:(id)a2; - (id)allActionBindings; - (id)allKeysForDictionaryProxy:(id)a0; - (void)applyLayoutSettings; - (void)applySettings; - (void)applySettingsIfNeeded; - (void)becomeReady; - (void)beganCollisionWithWidgetView:(id)a0 fromGroup:(id)a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })borderRect; - (struct CGPoint { double x0; double x1; })convertPointWithParallax:(struct CGPoint { double x0; double x1; })a0; - (unsigned long long)countOfDictionaryProxy:(id)a0; - (id)dictionaryProxy:(id)a0 objectAtIndexPath:(id)a1; - (id)dictionaryProxy:(id)a0 objectForKey:(id)a1; - (id)dynamicProxyForOffsetFromCenter:(struct UIOffset { double x0; double x1; })a0 realRemoteOffsetFromCenter:(struct UIOffset { double x0; double x1; } *)a1; - (void)dynamicsRemoveSnapping; - (void)dynamicsSnapToPoint:(struct CGPoint { double x0; double x1; })a0 withDamping:(double)a1; - (void)focus:(id)a0; - (void)focus:(unsigned long long)a0 duration:(double)a1 completion:(id /* block */)a2; - (void)instantResume; - (BOOL)interactivityEnabled; - (BOOL)isReady:(BOOL)a0; - (struct CGSize { double x0; double x1; })layoutFactor; - (id)layoutSettingsKeys; - (BOOL)needsAntialiasing; - (void)networkStatusDidChange:(long long)a0; - (void)notifyWhenBecomesReady:(id /* block */)a0; - (struct CGSize { double x0; double x1; })parentLayoutFactor; - (void)pauseContentEffects; - (void)prefetchMediaURL:(id)a0 identifier:(id)a1; - (void)prepareContentEffects; - (void)prepareForMode:(unsigned long long)a0 force:(BOOL)a1; - (void)prepareForRefresh; - (BOOL)prepareForUnload:(BOOL)a0; - (BOOL)prepareForWarmup:(BOOL)a0; - (void)prepareIfNeeded:(BOOL)a0; - (void)readinessDidChange:(BOOL)a0; - (double)readyProgress:(BOOL)a0; - (void)reloadMediaURL:(id)a0 size:(struct CGSize { double x0; double x1; })a1 mode:(long long)a2 lowQuality:(BOOL)a3 highQuality:(BOOL)a4 identifier:(id)a5 progressHandler:(id /* block */)a6 completionHandler:(id /* block */)a7; - (double)remainingPlayDuration; - (void)removeActionBinding:(id)a0; - (void)removeAllActionBindings; - (void)removeAllReadyNotifications; - (void)resignReady; - (void)restartContentEffects; - (void)resumeContentEffects:(BOOL)a0; - (BOOL)sendAction:(id)a0 toTarget:(id)a1; - (void)setAntialiasing:(BOOL)a0; - (void)setNeedsApplySettings; - (void)setSettingActionBindings:(id)a0; - (void)setSettingAlpha:(double)a0; - (void)setSettingAntialiasing:(BOOL)a0; - (void)setSettingAutoresizingMask:(unsigned long long)a0; - (void)setSettingBackgroundColor:(id)a0; - (void)setSettingBorderColor:(id)a0; - (void)setSettingBorderEdgeOutsets:(struct UIEdgeInsets { double x0; double x1; double x2; double x3; })a0; - (void)setSettingBorderImageCapEdgeInsets:(struct UIEdgeInsets { double x0; double x1; double x2; double x3; })a0; - (void)setSettingBorderImageURL:(id)a0; - (void)setSettingBorderWidth:(double)a0; - (void)setSettingCanPerformActionScript:(id)a0; - (void)setSettingCenter:(struct CGPoint { double x0; double x1; })a0; - (void)setSettingClipsToBounds:(BOOL)a0; - (void)setSettingContentEffects:(id)a0; - (void)setSettingContentFilters:(id)a0; - (void)setSettingCornerRadius:(double)a0; - (void)setSettingDynamicsAttachments:(id)a0; - (void)setSettingDynamicsBodyAllowsRotation:(BOOL)a0; - (void)setSettingDynamicsBodyAngularResistance:(double)a0; - (void)setSettingDynamicsBodyDensity:(double)a0; - (void)setSettingDynamicsBodyElasticity:(double)a0; - (void)setSettingDynamicsBodyResistance:(double)a0; - (void)setSettingDynamicsCollisionActionScript:(id)a0; - (void)setSettingDynamicsCollisionGroups:(id)a0; - (void)setSettingDynamicsEnabled:(BOOL)a0; - (void)setSettingDynamicsGravityDisabled:(BOOL)a0; - (void)setSettingDynamicsPushGroups:(id)a0; - (void)setSettingEventsInset:(struct UIEdgeInsets { double x0; double x1; double x2; double x3; })a0; - (void)setSettingFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)setSettingHidden:(BOOL)a0; - (void)setSettingIgnoreEventsOnTransparentPixels:(BOOL)a0; - (void)setSettingLayoutSteps:(id)a0; - (void)setSettingMotionEnabled:(BOOL)a0; - (void)setSettingMotionTiltXEnabled:(BOOL)a0; - (void)setSettingMotionTiltYEnabled:(BOOL)a0; - (void)setSettingMotionTiltZEnabled:(BOOL)a0; - (void)setSettingMotionXMinMax:(struct CGSize { double x0; double x1; })a0; - (void)setSettingMotionXTiltAnchorPoint:(struct CGPoint { double x0; double x1; })a0; - (void)setSettingMotionXTiltReversed:(BOOL)a0; - (void)setSettingMotionYMinMax:(struct CGSize { double x0; double x1; })a0; - (void)setSettingMotionYTiltAnchorPoint:(struct CGPoint { double x0; double x1; })a0; - (void)setSettingMotionYTiltReversed:(BOOL)a0; - (void)setSettingMotionZMinMax:(struct CGSize { double x0; double x1; })a0; - (void)setSettingMotionZTiltAnchorPoint:(struct CGPoint { double x0; double x1; })a0; - (void)setSettingMotionZTiltReversed:(BOOL)a0; - (void)setSettingNeedsZoning:(BOOL)a0; - (void)setSettingParallaxEnabled:(BOOL)a0; - (void)setSettingPosition:(struct CGPoint { double x0; double x1; })a0; - (void)setSettingPrepareActionScript:(id)a0; - (void)setSettingShadowColor:(id)a0; - (void)setSettingShadowOffset:(struct CGSize { double x0; double x1; })a0; - (void)setSettingShadowOpacity:(double)a0; - (void)setSettingShadowOptimization:(BOOL)a0; - (void)setSettingShadowRadius:(double)a0; - (void)setSettingUserInteractionEnabled:(BOOL)a0; - (void)setSettingXFlipped:(BOOL)a0; - (void)setSettingXyScale:(struct CGSize { double x0; double x1; })a0; - (void)setSettingXyTranslation:(struct CGPoint { double x0; double x1; })a0; - (void)setSettingYFlipped:(BOOL)a0; - (void)setSettingZPosition:(double)a0; - (void)setSettingZRotation:(double)a0; - (id)settingActionBindings; - (double)settingAlpha; - (BOOL)settingAntialiasing; - (unsigned long long)settingAutoresizingMask; - (id)settingBackgroundColor; - (id)settingBorderColor; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })settingBorderEdgeOutsets; - (id)settingBorderImageURL; - (double)settingBorderWidth; - (struct CGPoint { double x0; double x1; })settingCenter; - (BOOL)settingClipsToBounds; - (id)settingContentEffects; - (id)settingContentFilters; - (double)settingCornerRadius; - (id)settingDynamicsAttachments; - (BOOL)settingDynamicsBodyAllowsRotation; - (double)settingDynamicsBodyAngularResistance; - (double)settingDynamicsBodyDensity; - (double)settingDynamicsBodyElasticity; - (double)settingDynamicsBodyFriction; - (double)settingDynamicsBodyResistance; - (id)settingDynamicsCollisionGroups; - (BOOL)settingDynamicsEnabled; - (BOOL)settingDynamicsGravityDisabled; - (id)settingDynamicsPushGroups; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })settingEventsInset; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })settingFrame; - (BOOL)settingIgnoreEventsOnTransparentPixels; - (BOOL)settingMotionEnabled; - (BOOL)settingMotionTiltXEnabled; - (BOOL)settingMotionTiltYEnabled; - (BOOL)settingMotionTiltZEnabled; - (struct CGSize { double x0; double x1; })settingMotionXMinMax; - (struct CGPoint { double x0; double x1; })settingMotionXTiltAnchorPoint; - (BOOL)settingMotionXtiltReversed; - (struct CGSize { double x0; double x1; })settingMotionYMinMax; - (struct CGPoint { double x0; double x1; })settingMotionYTiltAnchorPoint; - (BOOL)settingMotionYTiltReversed; - (struct CGSize { double x0; double x1; })settingMotionZMinMax; - (struct CGPoint { double x0; double x1; })settingMotionZTiltAnchorPoint; - (BOOL)settingMotionZTiltReversed; - (BOOL)settingNeedsZoning; - (id)settingShadowColor; - (struct CGSize { double x0; double x1; })settingShadowOffset; - (double)settingShadowOpacity; - (BOOL)settingShadowOptimization; - (double)settingShadowRadius; - (struct CGSize { double x0; double x1; })settingSize; - (BOOL)settingUserInteractionEnabled; - (struct CGSize { double x0; double x1; })settingXyScale; - (struct CGPoint { double x0; double x1; })settingXyTranslation; - (double)settingZPosition; - (double)settingZRotation; - (struct CGPoint { double x0; double x1; })settingZRotationAnchorPoint; - (void)startContentEffects; - (void)startShowingProgressIndicator; - (void)stopContentEffects; - (void)stopShowingProgressIndicator; - (id)subDynamicProxies; - (id)subWidgetViewForName:(id)a0 recursively:(BOOL)a1; - (id)subWidgetViewNames; - (id)subWidgetViewsInRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (BOOL)supportsReadiness; - (void)unfocus:(double)a0 completion:(id /* block */)a1; - (void)updateAntialiasing; - (void)updateContentEffects; - (void)updateContentFilters; - (void)updateContentTransforms; - (void)updateDynamics; - (void)updateLayoutSteps; - (void)updateMotion; - (void)updateParallax; - (void)updateTransforms; - (void)updateWidgetTransforms; - (void)updateWithMotionTiltRotationX:(double)a0 tiltRotationY:(double)a1 tiltRotationZ:(double)a2; - (void)updateWithParallaxTranslationX:(double)a0 translationY:(double)a1; - (void)wobble; @end