sun.java2d.StateTrackableDelegate Java Examples
The following examples show how to use
sun.java2d.StateTrackableDelegate.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DataBuffer.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a DataBuffer containing one bank of the specified * data type and size with the indicated initial {@link State State}. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @since 1.7 */ DataBuffer(State initialState, int dataType, int size) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = 1; this.size = size; this.offset = 0; this.offsets = new int[1]; // init to 0 by new }
Example #2
Source File: DataBuffer.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a DataBuffer containing one bank of the specified * data type and size with the indicated initial {@link State State}. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this {@code DataBuffer} * @param size the size of the banks * @since 1.7 */ DataBuffer(State initialState, int dataType, int size) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = 1; this.size = size; this.offset = 0; this.offsets = new int[1]; // init to 0 by new }
Example #3
Source File: DataBuffer.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * Constructs a DataBuffer that contains the specified number * of banks with the indicated initial {@link State State}. * Each bank has the specified datatype, size and offset. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @param numBanks the number of banks in this * <code>DataBuffer</code> * @param offset the offset for each bank * @since 1.7 */ DataBuffer(State initialState, int dataType, int size, int numBanks, int offset) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = numBanks; this.size = size; this.offset = offset; this.offsets = new int[numBanks]; for (int i = 0; i < numBanks; i++) { this.offsets[i] = offset; } }
Example #4
Source File: DataBuffer.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
/** * Constructs a DataBuffer that contains the specified number * of banks with the indicated initial {@link State State}. * Each bank has the specified datatype, size and offset. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @param numBanks the number of banks in this * <code>DataBuffer</code> * @param offset the offset for each bank * @since 1.7 */ DataBuffer(State initialState, int dataType, int size, int numBanks, int offset) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = numBanks; this.size = size; this.offset = offset; this.offsets = new int[numBanks]; for (int i = 0; i < numBanks; i++) { this.offsets[i] = offset; } }
Example #5
Source File: DataBuffer.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
/** * Constructs a DataBuffer containing one bank of the specified * data type and size with the indicated initial {@link State State}. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @since 1.7 */ DataBuffer(State initialState, int dataType, int size) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = 1; this.size = size; this.offset = 0; this.offsets = new int[1]; // init to 0 by new }
Example #6
Source File: DataBuffer.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a DataBuffer containing one bank of the specified * data type and size with the indicated initial {@link State State}. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @since 1.7 */ DataBuffer(State initialState, int dataType, int size) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = 1; this.size = size; this.offset = 0; this.offsets = new int[1]; // init to 0 by new }
Example #7
Source File: DataBuffer.java From Bytecoder with Apache License 2.0 | 5 votes |
/** * Constructs a DataBuffer that contains the specified number * of banks with the indicated initial {@link State State}. * Each bank has the specified datatype, size and offset. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this {@code DataBuffer} * @param size the size of the banks * @param numBanks the number of banks in this * {@code DataBuffer} * @param offset the offset for each bank * @since 1.7 */ DataBuffer(State initialState, int dataType, int size, int numBanks, int offset) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = numBanks; this.size = size; this.offset = offset; this.offsets = new int[numBanks]; for (int i = 0; i < numBanks; i++) { this.offsets[i] = offset; } }
Example #8
Source File: DataBuffer.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Constructs a DataBuffer that contains the specified number * of banks with the indicated initial {@link State State}. * Each bank has the specified datatype, size and offset. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @param numBanks the number of banks in this * <code>DataBuffer</code> * @param offset the offset for each bank * @since 1.7 */ DataBuffer(State initialState, int dataType, int size, int numBanks, int offset) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = numBanks; this.size = size; this.offset = offset; this.offsets = new int[numBanks]; for (int i = 0; i < numBanks; i++) { this.offsets[i] = offset; } }
Example #9
Source File: DataBuffer.java From Bytecoder with Apache License 2.0 | 5 votes |
/** * Constructs a DataBuffer containing one bank of the specified * data type and size with the indicated initial {@link State State}. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this {@code DataBuffer} * @param size the size of the banks * @since 1.7 */ DataBuffer(State initialState, int dataType, int size) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = 1; this.size = size; this.offset = 0; this.offsets = new int[1]; // init to 0 by new }
Example #10
Source File: DataBuffer.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Constructs a DataBuffer containing one bank of the specified * data type and size with the indicated initial {@link State State}. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @since 1.7 */ DataBuffer(State initialState, int dataType, int size) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = 1; this.size = size; this.offset = 0; this.offsets = new int[1]; // init to 0 by new }
Example #11
Source File: DataBuffer.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * Constructs a DataBuffer containing one bank of the specified * data type and size with the indicated initial {@link State State}. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @since 1.7 */ DataBuffer(State initialState, int dataType, int size) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = 1; this.size = size; this.offset = 0; this.offsets = new int[1]; // init to 0 by new }
Example #12
Source File: DataBuffer.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Constructs a DataBuffer that contains the specified number * of banks with the indicated initial {@link State State}. * Each bank has the specified datatype, size and offset. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @param numBanks the number of banks in this * <code>DataBuffer</code> * @param offset the offset for each bank * @since 1.7 */ DataBuffer(State initialState, int dataType, int size, int numBanks, int offset) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = numBanks; this.size = size; this.offset = offset; this.offsets = new int[numBanks]; for (int i = 0; i < numBanks; i++) { this.offsets[i] = offset; } }
Example #13
Source File: DataBuffer.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Constructs a DataBuffer containing one bank of the specified * data type and size with the indicated initial {@link State State}. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @since 1.7 */ DataBuffer(State initialState, int dataType, int size) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = 1; this.size = size; this.offset = 0; this.offsets = new int[1]; // init to 0 by new }
Example #14
Source File: DataBuffer.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Constructs a DataBuffer that contains the specified number * of banks with the indicated initial {@link State State}. * Each bank has the specified datatype, size and offset. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @param numBanks the number of banks in this * <code>DataBuffer</code> * @param offset the offset for each bank * @since 1.7 */ DataBuffer(State initialState, int dataType, int size, int numBanks, int offset) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = numBanks; this.size = size; this.offset = offset; this.offsets = new int[numBanks]; for (int i = 0; i < numBanks; i++) { this.offsets[i] = offset; } }
Example #15
Source File: DataBuffer.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Constructs a DataBuffer containing one bank of the specified * data type and size with the indicated initial {@link State State}. * * @param initialState the initial {@link State State} state of the data * @param dataType the data type of this <code>DataBuffer</code> * @param size the size of the banks * @since 1.7 */ DataBuffer(State initialState, int dataType, int size) { this.theTrackable = StateTrackableDelegate.createInstance(initialState); this.dataType = dataType; this.banks = 1; this.size = size; this.offset = 0; this.offsets = new int[1]; // init to 0 by new }
Example #16
Source File: SunWritableRaster.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public static StateTrackableDelegate stealTrackable(DataBuffer db) { return stealer.getTrackable(db); }
Example #17
Source File: SunWritableRaster.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
public static StateTrackableDelegate stealTrackable(DataBuffer db) { return stealer.getTrackable(db); }
Example #18
Source File: SunWritableRaster.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
public static void makeTrackable(DataBuffer db) { stealer.setTrackable(db, StateTrackableDelegate.createInstance(State.STABLE)); }
Example #19
Source File: SunWritableRaster.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public static void setTrackable(DataBuffer db, StateTrackableDelegate trackable) { stealer.setTrackable(db, trackable); }
Example #20
Source File: SunWritableRaster.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public static void makeTrackable(DataBuffer db) { stealer.setTrackable(db, StateTrackableDelegate.createInstance(State.STABLE)); }
Example #21
Source File: DataBuffer.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public void setTrackable(DataBuffer db, StateTrackableDelegate trackable) { db.theTrackable = trackable; }
Example #22
Source File: DataBuffer.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
public StateTrackableDelegate getTrackable(DataBuffer db) { return db.theTrackable; }
Example #23
Source File: SunWritableRaster.java From Bytecoder with Apache License 2.0 | 4 votes |
public static void makeTrackable(DataBuffer db) { stealer.setTrackable(db, StateTrackableDelegate.createInstance(State.STABLE)); }
Example #24
Source File: SunWritableRaster.java From Bytecoder with Apache License 2.0 | 4 votes |
public static void setTrackable(DataBuffer db, StateTrackableDelegate trackable) { stealer.setTrackable(db, trackable); }
Example #25
Source File: SunWritableRaster.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public static void makeTrackable(DataBuffer db) { stealer.setTrackable(db, StateTrackableDelegate.createInstance(State.STABLE)); }
Example #26
Source File: SunWritableRaster.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public static void setTrackable(DataBuffer db, StateTrackableDelegate trackable) { stealer.setTrackable(db, trackable); }
Example #27
Source File: SunWritableRaster.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
public static void setTrackable(DataBuffer db, StateTrackableDelegate trackable) { stealer.setTrackable(db, trackable); }
Example #28
Source File: DataBuffer.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
public void setTrackable(DataBuffer db, StateTrackableDelegate trackable) { db.theTrackable = trackable; }
Example #29
Source File: DataBuffer.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
public void setTrackable(DataBuffer db, StateTrackableDelegate trackable) { db.theTrackable = trackable; }
Example #30
Source File: SunWritableRaster.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public static void setTrackable(DataBuffer db, StateTrackableDelegate trackable) { stealer.setTrackable(db, trackable); }