Class ShadowHardwareBuffer


  • @Implements(android.hardware.HardwareBuffer.class)
    public class ShadowHardwareBuffer
    extends java.lang.Object
    Shadow of android.hardware.HardwareBuffer.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static long nCreateHardwareBuffer​(int width, int height, int format, int layers, long usage)  
      protected static int nGetFormat​(long nativeObject)  
      protected static int nGetHeight​(long nativeObject)  
      protected static int nGetLayers​(long nativeObject)  
      protected static long nGetUsage​(long nativeObject)  
      protected static int nGetWidth​(long nativeObject)  
      protected static long nReadHardwareBufferFromParcel​(android.os.Parcel in)  
      protected static void nWriteHardwareBufferToParcel​(long nativeObject, android.os.Parcel dest)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowHardwareBuffer

        public ShadowHardwareBuffer()
    • Method Detail

      • nCreateHardwareBuffer

        @Implementation(minSdk=26)
        protected static long nCreateHardwareBuffer​(int width,
                                                    int height,
                                                    int format,
                                                    int layers,
                                                    long usage)
      • nWriteHardwareBufferToParcel

        @Implementation(minSdk=26)
        protected static void nWriteHardwareBufferToParcel​(long nativeObject,
                                                           android.os.Parcel dest)
      • nReadHardwareBufferFromParcel

        @Implementation(minSdk=26)
        protected static long nReadHardwareBufferFromParcel​(android.os.Parcel in)
      • nGetWidth

        @Implementation(minSdk=26)
        protected static int nGetWidth​(long nativeObject)
      • nGetHeight

        @Implementation(minSdk=26)
        protected static int nGetHeight​(long nativeObject)
      • nGetFormat

        @Implementation(minSdk=26)
        protected static int nGetFormat​(long nativeObject)
      • nGetLayers

        @Implementation(minSdk=26)
        protected static int nGetLayers​(long nativeObject)
      • nGetUsage

        @Implementation(minSdk=26)
        protected static long nGetUsage​(long nativeObject)