コード例 #1
0
 // VideoView opens a separate Window above the current one.
 // This is because it is based on the SurfaceView.
 // And we cannot set alpha or perform animations with it because it is not synchronized with your other UI elements.
 // We may set 0 or 1 alpha only.
 view.Alpha = Math.Sign(Math.Abs(value));
コード例 #2
0
ファイル: Quaterniond.cs プロジェクト: lge-ros2/cloisim
 return(Math.Acos(Math.Min(Math.Abs(single), 1f)) * 2f * (180 / Math.PI));
コード例 #3
0
ファイル: NpgsqlDate.cs プロジェクト: russellfoster/npgsql
 //Format of yyyy-MM-dd with " BC" for BCE and optional " AD" for CE which we omit here.
 _ => new StringBuilder(Math.Abs(Year).ToString("D4"))
コード例 #4
0
ファイル: Size.cs プロジェクト: ibrahim-elsakka/ImGui-1
 return(new Size(Math.Abs(p.Item1), Math.Abs(p.Item2)));
コード例 #5
0
 return((float)((double)Math.Acos(Math.Min(Math.Abs(dot(in a, in b)), 1f)) * TwiceRadiansToDegrees));
コード例 #6
0
 new Int2(Math.Abs(a.X), Math.Abs(a.Y));