Пример #1
0
 private CompatibilityInfo(android.os.Parcel source)
 {
     mCompatibilityFlags      = source.readInt();
     applicationDensity       = source.readInt();
     applicationScale         = source.readFloat();
     applicationInvertedScale = source.readFloat();
 }
Пример #2
0
 /// <summary>
 /// Set the rectangle's coordinates from the data stored in the specified
 /// parcel.
 /// </summary>
 /// <remarks>
 /// Set the rectangle's coordinates from the data stored in the specified
 /// parcel. To write a rectangle to a parcel, call writeToParcel().
 /// </remarks>
 /// <param name="in">The parcel to read the rectangle's coordinates from</param>
 public virtual void readFromParcel(android.os.Parcel @in)
 {
     left   = @in.readFloat();
     top    = @in.readFloat();
     right  = @in.readFloat();
     bottom = @in.readFloat();
 }
Пример #3
0
 public android.view.DragEvent createFromParcel(android.os.Parcel @in)
 {
     android.view.DragEvent @event = android.view.DragEvent.obtain();
     @event.mAction     = @in.readInt();
     @event.mX          = @in.readFloat();
     @event.mY          = @in.readFloat();
     @event.mDragResult = (@in.readInt() != 0);
     if (@in.readInt() != 0)
     {
         @event.mClipData = android.content.ClipData.CREATOR.createFromParcel(@in);
     }
     if (@in.readInt() != 0)
     {
         @event.mClipDescription = android.content.ClipDescription.CREATOR.createFromParcel
                                       (@in);
     }
     return(@event);
 }
Пример #4
0
 /// <summary>
 /// Set the point's coordinates from the data stored in the specified
 /// parcel.
 /// </summary>
 /// <remarks>
 /// Set the point's coordinates from the data stored in the specified
 /// parcel. To write a point to a parcel, call writeToParcel().
 /// </remarks>
 /// <param name="in">The parcel to read the point's coordinates from</param>
 public virtual void readFromParcel(android.os.Parcel @in)
 {
     x = @in.readFloat();
     y = @in.readFloat();
 }