Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
6d29bafe
Kaydet (Commit)
6d29bafe
authored
Eyl 21, 2013
tarafından
Siqi LIU
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
iOS datepicker background issues
Change-Id: I532d3b854ff3b66048b40decd2d9232ab9720151
üst
b95acb2b
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
33 additions
and
28 deletions
+33
-28
SWRevealViewController.m
...iosremote/SWRevealViewController/SWRevealViewController.m
+4
-2
iPad_autosize.storyboard
ios/iosremote/en.lproj/iPad_autosize.storyboard
+0
-4
iPad_autosize_old.storyboard
ios/iosremote/en.lproj/iPad_autosize_old.storyboard
+0
-4
BasePresentationViewController.m
...remote/iosremote/Classes/BasePresentationViewController.m
+6
-2
ServerListViewController.m
ios/iosremote/iosremote/Classes/ServerListViewController.m
+0
-6
StopWatch.h
ios/iosremote/iosremote/Classes/StopWatch.h
+9
-0
Client.h
ios/iosremote/iosremote/Communication/Client.h
+7
-4
CommunicationManager.h
ios/iosremote/iosremote/Communication/CommunicationManager.h
+1
-0
iPhone_autoSize.storyboard
ios/iosremote/iosremote/en.lproj/iPhone_autoSize.storyboard
+1
-1
iPhone_autoSize_old.storyboard
...sremote/iosremote/en.lproj/iPhone_autoSize_old.storyboard
+1
-1
iPhone_autoSize.storyboard
ios/iosremote/iosremote/fr.lproj/iPhone_autoSize.storyboard
+1
-1
iPhone_autoSize_old.storyboard
...sremote/iosremote/fr.lproj/iPhone_autoSize_old.storyboard
+1
-1
iPhone_autoSize.storyboard
...remote/iosremote/zh-Hans.lproj/iPhone_autoSize.storyboard
+1
-1
iPhone_autoSize_old.storyboard
...te/iosremote/zh-Hans.lproj/iPhone_autoSize_old.storyboard
+1
-1
No files found.
ios/iosremote/SWRevealViewController/SWRevealViewController.m
Dosyayı görüntüle @
6d29bafe
...
...
@@ -404,7 +404,7 @@ const int FrontViewPositionNone = 0xff;
}
CGRect
toolbarTargetFrame
=
CGRectMake
(
0
,
self
.
view
.
bounds
.
size
.
height
-
216
-
44
,
320
,
44
);
CGRect
datePickerTargetFrame
=
CGRectMake
(
0
,
self
.
view
.
bounds
.
size
.
height
-
216
,
320
,
216
);
UIView
*
darkView
=
[[
UIView
alloc
]
initWithFrame
:
self
.
view
.
bounds
];
darkView
.
alpha
=
0
;
darkView
.
backgroundColor
=
[
UIColor
blackColor
];
...
...
@@ -412,9 +412,11 @@ const int FrontViewPositionNone = 0xff;
UITapGestureRecognizer
*
tapGesture
=
[[
UITapGestureRecognizer
alloc
]
initWithTarget
:
self
action
:
@selector
(
dismissDatePicker
:
)];
[
darkView
addGestureRecognizer
:
tapGesture
];
[
self
.
view
addSubview
:
darkView
];
darkView
.
alpha
=
0
.
5
;
UIDatePicker
*
datePicker
=
[[
UIDatePicker
alloc
]
initWithFrame
:
CGRectMake
(
0
,
self
.
view
.
bounds
.
size
.
height
+
44
,
320
,
216
)];
datePicker
.
tag
=
90
;
datePicker
.
backgroundColor
=
[
UIColor
whiteColor
];
[
datePicker
setDatePickerMode
:
UIDatePickerModeCountDownTimer
];
[
datePicker
addTarget
:
self
action
:
@selector
(
changeDate
:
)
forControlEvents
:
UIControlEventValueChanged
];
[
self
.
view
addSubview
:
datePicker
];
...
...
@@ -430,7 +432,7 @@ const int FrontViewPositionNone = 0xff;
[
UIView
beginAnimations
:
@"MoveIn"
context
:
nil
];
toolBar
.
frame
=
toolbarTargetFrame
;
datePicker
.
frame
=
datePickerTargetFrame
;
darkView
.
alpha
=
0
.
5
;
[
UIView
commitAnimations
];
}
...
...
ios/iosremote/en.lproj/iPad_autosize.storyboard
Dosyayı görüntüle @
6d29bafe
...
...
@@ -622,12 +622,10 @@
</scene>
</scenes>
<resources>
<image
name=
"Default.png"
width=
"320"
height=
"480"
/>
<image
name=
"Default.png"
width=
"320"
height=
"480"
/>
<image
name=
"WTPairingScreenshot.png"
width=
"474"
height=
"312"
/>
<image
name=
"add.png"
width=
"30"
height=
"30"
/>
<image
name=
"buttonBackground.png"
width=
"45"
height=
"45"
/>
<image
name=
"buttonBackground.png"
width=
"45"
height=
"45"
/>
<image
name=
"more_icon.png"
width=
"30"
height=
"30"
/>
<image
name=
"more_ipad.png"
width=
"60"
height=
"60"
/>
<image
name=
"nextButton_normal.png"
width=
"42"
height=
"230"
/>
...
...
@@ -635,10 +633,8 @@
<image
name=
"previousButton_normal.png"
width=
"42"
height=
"230"
/>
<image
name=
"previousButton_pressed.png"
width=
"42"
height=
"230"
/>
<image
name=
"timer_clear_btn_dark.png"
width=
"60"
height=
"60"
/>
<image
name=
"timer_clear_btn_dark.png"
width=
"60"
height=
"60"
/>
<image
name=
"timer_settime_btn.png"
width=
"60"
height=
"60"
/>
<image
name=
"timer_start_btn_dark.png"
width=
"60"
height=
"60"
/>
<image
name=
"timer_start_btn_dark.png"
width=
"60"
height=
"60"
/>
</resources>
<color
key=
"tintColor"
red=
"1"
green=
"0.50196078430000002"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<simulatedMetricsContainer
key=
"defaultSimulatedMetrics"
>
...
...
ios/iosremote/en.lproj/iPad_autosize_old.storyboard
Dosyayı görüntüle @
6d29bafe
...
...
@@ -622,12 +622,10 @@
</scene>
</scenes>
<resources>
<image
name=
"Default.png"
width=
"320"
height=
"480"
/>
<image
name=
"Default.png"
width=
"320"
height=
"480"
/>
<image
name=
"WTPairingScreenshot.png"
width=
"474"
height=
"312"
/>
<image
name=
"add.png"
width=
"30"
height=
"30"
/>
<image
name=
"buttonBackground.png"
width=
"45"
height=
"45"
/>
<image
name=
"buttonBackground.png"
width=
"45"
height=
"45"
/>
<image
name=
"more_icon.png"
width=
"30"
height=
"30"
/>
<image
name=
"more_ipad.png"
width=
"60"
height=
"60"
/>
<image
name=
"nextButton_normal.png"
width=
"42"
height=
"230"
/>
...
...
@@ -635,10 +633,8 @@
<image
name=
"previousButton_normal.png"
width=
"42"
height=
"230"
/>
<image
name=
"previousButton_pressed.png"
width=
"42"
height=
"230"
/>
<image
name=
"timer_clear_btn_dark.png"
width=
"60"
height=
"60"
/>
<image
name=
"timer_clear_btn_dark.png"
width=
"60"
height=
"60"
/>
<image
name=
"timer_settime_btn.png"
width=
"60"
height=
"60"
/>
<image
name=
"timer_start_btn_dark.png"
width=
"60"
height=
"60"
/>
<image
name=
"timer_start_btn_dark.png"
width=
"60"
height=
"60"
/>
</resources>
<color
key=
"tintColor"
red=
"1"
green=
"0.50196078430000002"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<simulatedMetricsContainer
key=
"defaultSimulatedMetrics"
>
...
...
ios/iosremote/iosremote/Classes/BasePresentationViewController.m
Dosyayı görüntüle @
6d29bafe
...
...
@@ -565,7 +565,6 @@ static BOOL isBlank = NO;
popoverView
.
backgroundColor
=
[
UIColor
blackColor
];
UIDatePicker
*
datePicker
=
[[
UIDatePicker
alloc
]
init
];
//Date picker
datePicker
.
frame
=
CGRectMake
(
0
,
44
,
320
,
216
);
datePicker
.
datePickerMode
=
UIDatePickerModeCountDownTimer
;
[
datePicker
setTag
:
10
];
[
datePicker
addTarget
:
self
action
:
@selector
(
changeDate
:
)
forControlEvents
:
UIControlEventValueChanged
];
...
...
@@ -575,7 +574,12 @@ static BOOL isBlank = NO;
self
.
popoverTimePickerController
=
[[
UIPopoverController
alloc
]
initWithContentViewController
:
popoverContent
];
self
.
popoverTimePickerController
.
delegate
=
self
;
[
self
.
popoverTimePickerController
setPopoverContentSize
:
CGSizeMake
(
320
,
264
)
animated
:
NO
];
// iOS7's time picker has default clearcolor background
if
([[[
UIDevice
currentDevice
]
systemVersion
]
floatValue
]
>=
7
.
0
)
{
datePicker
.
backgroundColor
=
[
UIColor
whiteColor
];
}
datePicker
.
frame
=
CGRectMake
(
0
,
0
,
320
,
216
);
[
self
.
popoverTimePickerController
setPopoverContentSize
:
CGSizeMake
(
320
,
216
)
animated
:
NO
];
[
self
.
popoverTimePickerController
presentPopoverFromRect
:
self
.
timerSetTimeButton
.
frame
inView
:
self
.
timerView
permittedArrowDirections
:
UIPopoverArrowDirectionDown
animated
:
YES
];
}
...
...
ios/iosremote/iosremote/Classes/ServerListViewController.m
Dosyayı görüntüle @
6d29bafe
...
...
@@ -236,12 +236,6 @@
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
// Uncomment the following line to preserve selection between presentations.
// self.clearsSelectionOnViewWillAppear = NO;
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
self
.
center
=
[
NSNotificationCenter
defaultCenter
];
self
.
comManager
=
[
CommunicationManager
sharedComManager
];
...
...
ios/iosremote/iosremote/Classes/StopWatch.h
Dosyayı görüntüle @
6d29bafe
...
...
@@ -18,6 +18,10 @@
@end
/**
This class controls the behavior of stopwatch timing widget.
**/
@interface
StopWatch
:
NSObject
// StopWatch
...
...
@@ -26,13 +30,18 @@
@property
BOOL
set
;
@property
(
weak
,
nonatomic
)
id
<
StopWatchDelegate
>
delegate
;
// initialzie Stopwatch with relative UIButton/UILabel elements
-
(
StopWatch
*
)
initWithStartButton
:(
UIButton
*
)
startButton
ClearButton
:(
UIButton
*
)
clearButton
TimeLabel
:(
UILabel
*
)
timeLabel
;
// initialzie Stopwatch with a tableviewCell which contains relative UIButton/UILabel elements
-
(
void
)
setupWithTableViewCell
:(
UITableViewCell
*
)
cell
;
// Start/Pause/Resume the stopwatch
-
(
void
)
start
;
// Stop the stopwatch and update seconds left to its original value
-
(
void
)
clear
;
// Keep start button icon up-to-date with respect to its current state
-
(
void
)
updateStartButtonIcon
;
@end
ios/iosremote/iosremote/Communication/Client.h
Dosyayı görüntüle @
6d29bafe
...
...
@@ -19,18 +19,20 @@
@property
(
nonatomic
,
strong
)
NSString
*
name
;
@property
(
nonatomic
,
strong
)
Server
*
server
;
// Connect to the server stored in [server]
-
(
void
)
connect
;
// Disconnect from server
-
(
void
)
disconnect
;
-
(
id
)
initWithServer
:(
Server
*
)
server
managedBy
:(
CommunicationManager
*
)
manager
interpretedBy
:(
CommandInterpreter
*
)
receiver
;
// Send a command (command by transmitter) to the server, base64 encoded
-
(
void
)
sendCommand
:(
NSString
*
)
aCommand
;
// Attempt to connect with a time out.
-
(
void
)
startConnectionTimeoutTimerwithInterval
:(
double
)
interval
;
// Stop connection timeout timer
-
(
void
)
stopConnectionTimeoutTimer
;
// Delegate method, handle stream events and transfer events to CommandInterpreter
-
(
void
)
stream
:(
NSStream
*
)
stream
handleEvent
:(
NSStreamEvent
)
eventCode
;
@end
\ No newline at end of file
ios/iosremote/iosremote/Communication/CommunicationManager.h
Dosyayı görüntüle @
6d29bafe
...
...
@@ -62,6 +62,7 @@ enum ConnectionState : NSInteger {
CONNECTED
};
//
enum
SearchState
:
NSInteger
{
WAITING
,
SEARCHING
...
...
ios/iosremote/iosremote/en.lproj/iPhone_autoSize.storyboard
Dosyayı görüntüle @
6d29bafe
...
...
@@ -607,7 +607,7 @@
<image
name=
"add.png"
width=
"30"
height=
"30"
/>
<image
name=
"buttonBackground.png"
width=
"45"
height=
"45"
/>
<image
name=
"ic_launcher.png"
width=
"16"
height=
"16"
/>
<image
name=
"more_icon.png"
width=
"
60"
height=
"6
0"
/>
<image
name=
"more_icon.png"
width=
"
30"
height=
"3
0"
/>
<image
name=
"pointer.png"
width=
"143"
height=
"147"
/>
<image
name=
"pointer_pushed.png"
width=
"143"
height=
"147"
/>
<image
name=
"pushed_next_button.png"
width=
"315"
height=
"220"
/>
...
...
ios/iosremote/iosremote/en.lproj/iPhone_autoSize_old.storyboard
Dosyayı görüntüle @
6d29bafe
...
...
@@ -607,7 +607,7 @@
<image
name=
"add.png"
width=
"30"
height=
"30"
/>
<image
name=
"buttonBackground.png"
width=
"45"
height=
"45"
/>
<image
name=
"ic_launcher.png"
width=
"16"
height=
"16"
/>
<image
name=
"more_icon.png"
width=
"
60"
height=
"6
0"
/>
<image
name=
"more_icon.png"
width=
"
30"
height=
"3
0"
/>
<image
name=
"pointer.png"
width=
"143"
height=
"147"
/>
<image
name=
"pointer_pushed.png"
width=
"143"
height=
"147"
/>
<image
name=
"pushed_next_button.png"
width=
"315"
height=
"220"
/>
...
...
ios/iosremote/iosremote/fr.lproj/iPhone_autoSize.storyboard
Dosyayı görüntüle @
6d29bafe
...
...
@@ -609,7 +609,7 @@ Contrôle Distant</string>
<image
name=
"add.png"
width=
"30"
height=
"30"
/>
<image
name=
"buttonBackground.png"
width=
"45"
height=
"45"
/>
<image
name=
"ic_launcher.png"
width=
"16"
height=
"16"
/>
<image
name=
"more_icon.png"
width=
"
60"
height=
"6
0"
/>
<image
name=
"more_icon.png"
width=
"
30"
height=
"3
0"
/>
<image
name=
"pointer.png"
width=
"143"
height=
"147"
/>
<image
name=
"pointer_pushed.png"
width=
"143"
height=
"147"
/>
<image
name=
"pushed_next_button.png"
width=
"315"
height=
"220"
/>
...
...
ios/iosremote/iosremote/fr.lproj/iPhone_autoSize_old.storyboard
Dosyayı görüntüle @
6d29bafe
...
...
@@ -609,7 +609,7 @@ Contrôle Distant</string>
<image
name=
"add.png"
width=
"30"
height=
"30"
/>
<image
name=
"buttonBackground.png"
width=
"45"
height=
"45"
/>
<image
name=
"ic_launcher.png"
width=
"16"
height=
"16"
/>
<image
name=
"more_icon.png"
width=
"
60"
height=
"6
0"
/>
<image
name=
"more_icon.png"
width=
"
30"
height=
"3
0"
/>
<image
name=
"pointer.png"
width=
"143"
height=
"147"
/>
<image
name=
"pointer_pushed.png"
width=
"143"
height=
"147"
/>
<image
name=
"pushed_next_button.png"
width=
"315"
height=
"220"
/>
...
...
ios/iosremote/iosremote/zh-Hans.lproj/iPhone_autoSize.storyboard
Dosyayı görüntüle @
6d29bafe
...
...
@@ -607,7 +607,7 @@
<image
name=
"add.png"
width=
"30"
height=
"30"
/>
<image
name=
"buttonBackground.png"
width=
"45"
height=
"45"
/>
<image
name=
"ic_launcher.png"
width=
"16"
height=
"16"
/>
<image
name=
"more_icon.png"
width=
"
60"
height=
"6
0"
/>
<image
name=
"more_icon.png"
width=
"
30"
height=
"3
0"
/>
<image
name=
"pointer.png"
width=
"143"
height=
"147"
/>
<image
name=
"pointer_pushed.png"
width=
"143"
height=
"147"
/>
<image
name=
"pushed_next_button.png"
width=
"315"
height=
"220"
/>
...
...
ios/iosremote/iosremote/zh-Hans.lproj/iPhone_autoSize_old.storyboard
Dosyayı görüntüle @
6d29bafe
...
...
@@ -607,7 +607,7 @@
<image
name=
"add.png"
width=
"30"
height=
"30"
/>
<image
name=
"buttonBackground.png"
width=
"45"
height=
"45"
/>
<image
name=
"ic_launcher.png"
width=
"16"
height=
"16"
/>
<image
name=
"more_icon.png"
width=
"
60"
height=
"6
0"
/>
<image
name=
"more_icon.png"
width=
"
30"
height=
"3
0"
/>
<image
name=
"pointer.png"
width=
"143"
height=
"147"
/>
<image
name=
"pointer_pushed.png"
width=
"143"
height=
"147"
/>
<image
name=
"pushed_next_button.png"
width=
"315"
height=
"220"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment