/*
 *     Generated by class-dump 3.1.2.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
 */

struct CGColor;

struct CGImage;

struct CGPoint {
    float x;
    float y;
};

struct CGRect {
    struct CGPoint origin;
    struct CGSize size;
};

struct CGSize {
    float width;
    float height;
};

struct __CFDictionary;

struct __CFSet;

struct __GSEvent;

struct __GSFont;

typedef struct {
    struct CGRect _field1;
    struct CGRect _field2;
    struct CGRect _field3;
} CDAnonymousStruct1;

/*
 * File: System/Library/Frameworks/TelephonyUI.framework/TelephonyUI
 *       Current version: 1.0.0, Compatibility version: 1.0.0
 */

@interface TPLCDTextViewScrollingView : UIView
{
    TPLCDTextView *_owner;
}

- (id)initWithFrame:(struct CGRect)fp8 owner:(id)fp24;
- (void)setOwner:(id)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface TPLCDTextView : UIView
{
    NSString *_text;
    struct __GSFont *_font;
    struct CGColor *_shadowColor;
    struct CGColor *_textColor;
    TPLCDTextViewScrollingView *_scrollingView;
    float _fontSize;
    struct CGRect _textRect;
    UIFrameAnimation *_animation;
    id _delegate;
    float _minFontSize;
    unsigned int _textRectIsValid:1;
    unsigned int _centerText:1;
    unsigned int _animates:1;
    unsigned int _isAnimating:1;
    unsigned int _leftTruncates:1;
}

+ (float)defaultMinimumFontSize;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (struct CGRect)textRect;
- (void)setFrame:(struct CGRect)fp8;
- (void)setCenterText:(BOOL)fp8;
- (void)setLeftTruncatesText:(BOOL)fp8;
- (void)setFont:(struct __GSFont *)fp8;
- (void)setMinimumFontSize:(float)fp8;
- (void)setText:(id)fp8;
- (id)text;
- (struct CGSize)sizeToFit;
- (void)_drawTextInRect:(struct CGRect)fp8 verticallyOffset:(BOOL)fp24;
- (void)setTextColor:(struct CGColor *)fp8;
- (void)setShadowColor:(struct CGColor *)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (void)_tearDownAnimation;
- (void)_scheduleStartScrolling;
- (void)_setupForAnimationIfNecessary;
- (void)setAnimatesIfTruncated:(BOOL)fp8;
- (void)_startScrolling;
- (void)startAnimating;
- (void)_finishedScrolling;
- (void)stopAnimating;
- (BOOL)animates;
- (void)resetAnimation;
- (void)setDelegate:(id)fp8;

@end

@interface TPLCDSubImageView : UIView
{
    UIImage *_image;
}

- (id)initWithDefaultSize;
- (void)dealloc;
- (void)setImage:(id)fp8;
- (id)image;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface TPLCDView : UIImageView
{
    TPLCDTextView *_textView;
    TPLCDTextView *_secondLineTextView;
    TPLCDTextView *_labelView;
    TPLCDSubImageView *_imageView;
    unsigned int _layoutAsLabelled:1;
}

+ (void)preloadImages;
+ (float)defaultHeight;
+ (id)backgroundImage;
+ (float)textFontSize;
+ (float)labelFontSize;
- (id)initWithDefaultSize;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setContentsAlpha:(float)fp8;
- (struct CGRect)_text1Frame;
- (void)setText:(id)fp8;
- (id)text;
- (struct CGRect)textFrame;
- (struct CGRect)_text2Frame;
- (void)setSecondLineText:(id)fp8;
- (id)secondLineText;
- (struct CGRect)_labelFrame;
- (void)didFinishAnimatingLCDLabelFadeOut:(id)fp8 finished:(id)fp12 context:(id)fp16;
- (void)setLabel:(id)fp8 animate:(BOOL)fp12;
- (void)setLabel:(id)fp8;
- (id)label;
- (void)blinkLabel;
- (void)setSubImage:(id)fp8;
- (id)subImage;
- (void)setShadowColor:(struct CGColor *)fp8;
- (void)setLayoutAsLabelled:(BOOL)fp8;
- (void)layoutSubviews;

@end

@interface TPLCDTextView (SyntheticEvents)
- (id)_automationID;
@end

@interface TPBottomButtonBar : TPBottomBar
{
    id _delegate;
    TPPushButton *_button;
}

- (id)initForIncomingCallWaitingWithFrame:(struct CGRect)fp8;
- (id)initForEndCallWithFrame:(struct CGRect)fp8;
- (id)initForTTYWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)setButton:(id)fp8;
- (id)button;

@end

@interface TPPushButton : UIThreePartButton
{
    NSString *_plusSeparatedTitle;
    int _tpcolor;
    float _titleImagePadding;
    float _titleImageRightMargin;
    float _titleVerticalOffset;
    float _iconVerticalOffset;
    float _iconAlpha;
    float _minimumFontSize;
}

+ (float)defaultHeight;
+ (float)defaultHeightForColor:(int)fp8;
+ (void)preloadImagesForColor:(int)fp8;
+ (id)answerButtonImage;
+ (id)declineButtonImage;
- (float)minTitleMargin;
- (CDAnonymousStruct1)_buttonSlices;
- (id)initWithTitle:(id)fp8 icon:(id)fp12 color:(int)fp16 frame:(struct CGRect)fp20;
- (void)dealloc;
- (void)setPlusSeparatedTitle:(id)fp8;
- (void)setPushButtonColor:(int)fp8;
- (int)pushButtonColor;
- (float)titleImagePadding;
- (void)setTitleImagePadding:(float)fp8;
- (void)setTitleImageRightMargin:(float)fp8;
- (void)setTitleVerticalOffset:(float)fp8;
- (void)setIconVerticalOffset:(float)fp8;
- (void)setIconAlpha:(float)fp8;
- (void)drawImageAtPoint:(struct CGPoint)fp8 fraction:(float)fp16;
- (void)drawTitleAtPoint:(struct CGPoint)fp8 width:(float)fp16;
- (struct CGPoint)_titleOriginForTitleSize:(struct CGSize)fp8;
- (void)drawButtonPart:(int)fp8 inRect:(struct CGRect)fp12;
- (void)setMinimumTitleFontSize:(float)fp8;

@end

@interface TPBottomBar : UIView
{
}

+ (id)_backgroundImage;
+ (void)preloadImages;
+ (float)defaultHeight;
- (id)initWithDefaultSize;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface TPBottomDualButtonBar : TPBottomButtonBar
{
    TPPushButton *_button2;
    unsigned int _drawSeparator:1;
}

- (id)initWithFrame:(struct CGRect)fp8;
- (id)initForIncomingCallWithFrame:(struct CGRect)fp8;
- (id)initForCallFailureWithFrame:(struct CGRect)fp8;
- (id)initForEmergencyCallWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (float)_buttonWidth;
- (void)_updateButtonSettings:(id)fp8;
- (void)setButton:(id)fp8;
- (void)setButton2:(id)fp8;
- (id)button2;
- (void)setDrawsSeparateWells:(BOOL)fp8;
- (void)drawRect:(struct CGRect)fp8;

@end

@interface TPBottomLockBar : TPBottomBar
{
    NSArray *_labels;
    int _currentLabelIndex;
    NSTimer *_cycleLabelTimer;
    id _delegate;
    id _representedObject;
    TPLockKnobView *_knobView;
    UIView *_trackArrow;
    TPLockTextView *_labelView;
    float _knobTrackInsetLeft;
    float _fontSize;
}

+ (struct CGSize)defaultSize;
+ (id)_backgroundImage;
- (id)initWithFrame:(struct CGRect)fp8 knobImage:(id)fp24;
- (id)initWithFrame:(struct CGRect)fp8 knobColor:(int)fp24;
- (id)initForIncomingCallWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (id)knob;
- (void)startAnimating;
- (void)stopAnimating;
- (BOOL)isAnimating;
- (void)downInKnob;
- (void)upInKnob;
- (void)setLabel:(id)fp8;
- (void)startCyclingLabels;
- (void)stopCyclingLabels;
- (void)cycleToNextLabel;
- (int)currentLabelIndex;
- (void)finishedCyclingLabelOut;
- (void)cycleToLabelAtIndex:(int)fp8;
- (void)setLabels:(id)fp8;
- (id)labels;
- (void)setFontSize:(float)fp8;
- (float)fontSize;
- (void)knobDragged:(float)fp8;
- (void)slideBack:(BOOL)fp8;
- (void)relock;
- (void)freezeKnobInUnlockedPosition;
- (void)unlock;
- (void)setDelegate:(id)fp8;
- (void)setRepresentedObject:(id)fp8;
- (id)representedObject;
- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (float)knobTrackInsetLeft;

@end

@interface TPLockKnobView : UIView
{
    TPBottomLockBar *_track;
    UIAlphaAnimation *_animation;
    float _centerDelta;
    BOOL _tracking;
}

- (BOOL)pointInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setLockView:(id)fp8;
- (void)dealloc;
- (void)mouseDown:(struct __GSEvent *)fp8;
- (void)mouseDragged:(struct __GSEvent *)fp8;
- (void)mouseUp:(struct __GSEvent *)fp8;

@end

@interface TPLockTextView : UIView
{
    NSString *_label;
    struct CGImage *_textCache;
    char *_textData;
    NSTimer *_maskTimer;
    double _maskStartTime;
    struct __GSFont *_labelFont;
    float _fps;
}

- (void)dealloc;
- (void)_cacheLabel:(id)fp8 size:(struct CGSize)fp12;
- (id)initWithLabel:(id)fp8 fontSize:(float)fp12;
- (id)label;
- (void)startAnimation;
- (void)stopAnimation;
- (void)setFPS:(float)fp8;
- (BOOL)isAnimating;
- (void)drawRect:(struct CGRect)fp8;
- (void)movedFromWindow:(id)fp8;

@end

@interface TPPhonePad : UIControl
{
    int _downKey;
    id _delegate;
    BOOL _playsSounds;
    float _topHeight;
    float _midHeight;
    float _bottomHeight;
    float _leftWidth;
    float _midWidth;
    float _rightWidth;
    struct __CFSet *_inflightSounds;
    struct __CFDictionary *_keyToButtonMap;
    unsigned int _incompleteSounds;
    unsigned int _delegateSoundCallbacks:1;
    unsigned int _soundsActivated:1;
}

+ (BOOL)shouldStringAutoDial:(id)fp8 givenLastChar:(BOOL)fp12;
+ (BOOL)launchFieldTestIfNeeded:(id)fp8;
+ (void)_delayedDeactivate;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)_activateSounds:(BOOL)fp8;
- (void)removeFromSuperview;
- (void)_appSuspended;
- (void)_appResumed;
- (void)movedFromWindow:(id)fp8;
- (void)movedToWindow:(id)fp8;
- (void)setDelegate:(id)fp8;
- (void)setPlaysSounds:(BOOL)fp8;
- (void)setButton:(id)fp8 forKeyAtIndex:(int)fp12;
- (void)setNeedsDisplayForKey:(int)fp8;
- (id)_pressedImage;
- (id)_keypadImage;
- (float)_yFudge;
- (void)drawRect:(struct CGRect)fp8;
- (BOOL)pointMostlyInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (id)hitTest:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
- (void)setHighlighted:(BOOL)fp8;
- (BOOL)cancelMouseTracking;
- (void)_handleKey:(id)fp8 forEvent:(struct __GSEvent *)fp12;
- (void)_handleKeyPressAndHold:(id)fp8;
- (int)_keyForPoint:(struct CGPoint)fp8;
- (struct CGRect)_rectForKey:(int)fp8;
- (void)_notifySoundCompletionIfNecessary:(unsigned long)fp8;
- (void)_playSoundForKey:(int)fp8;
- (void)_stopSoundForKey:(int)fp8;
- (void)_stopAllSoundsForcingCallbacks:(BOOL)fp8;

@end

@interface TPPhonePad (SyntheticEvents)
- (id)plistWithChildren:(struct CGPoint)fp8;
@end

@interface TPCallWaitingButton : UIThreePartButton
{
    TPPushButton *_innerButton;
    unsigned int _type:1;
}

+ (struct CGSize)defaultSizeForType:(int)fp8;
+ (float)defaultVerticalCenteringOffset;
- (id)initWithFrame:(struct CGRect)fp8 type:(int)fp24;
- (id)initTopForIncomingCallWaiting;
- (id)initTopForTTY;
- (id)initBottomForIncomingCallWaiting;
- (id)initBottomForSecondIncomingCallWaiting;
- (id)initBottomForTTYWithTitle:(id)fp8;
- (void)dealloc;
- (void)addTarget:(id)fp8 action:(SEL)fp12 forEvents:(int)fp16;
- (void)removeTarget:(id)fp8 forEvents:(int)fp12;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)isEnabled;

@end

@interface TPTopLockBar : TPBottomLockBar
{
}

+ (id)_backgroundImage;
- (id)initWithFrame:(struct CGRect)fp8 knobImage:(id)fp24;
- (float)knobTrackInsetLeft;

@end

