Searched defs:input (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/base/core/java/android/view/animation/
H A DInterpolator.java30 * @param input A value between 0 and 1.0 indicating our current point
37 float getInterpolation(float input); argument
H A DAccelerateDecelerateInterpolator.java35 public float getInterpolation(float input) { argument
36 return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f;
H A DCycleInterpolator.java42 public float getInterpolation(float input) { argument
43 return (float)(Math.sin(2 * mCycles * Math.PI * input));
H A DDecelerateInterpolator.java52 public float getInterpolation(float input) { argument
54 return (float)(1.0f - (1.0f - input) * (1.0f - input));
56 return (float)(1.0f - Math.pow((1.0f - input), 2 * mFactor));
H A DLinearInterpolator.java34 public float getInterpolation(float input) { argument
35 return input;
H A DAccelerateInterpolator.java60 public float getInterpolation(float input) { argument
62 return input * input;
64 return (float)Math.pow(input, mDoubleFactor);
/frameworks/base/libs/ui/
H A DLayerState.cpp38 status_t layer_state_t::read(const Parcel& input) argument
42 //surface = interface_cast<ISurface>(input.readStrongBinder());
45 transparentRegion.read(input);
48 input.read(this, size);
/frameworks/base/core/java/android/security/
H A DMd5MessageDigest.java32 public byte[] digest(byte[] input) argument
34 update(input);
39 public native void update(byte[] input); argument
H A DMessageDigest.java54 public abstract void update(byte[] input); argument
58 * Produces a message digest for the given input.
60 * @param input The message to encrypt.
63 public abstract byte[] digest(byte[] input); argument
H A DSha1MessageDigest.java32 public byte[] digest(byte[] input) argument
34 update(input);
39 public native void update(byte[] input); argument
/frameworks/base/awt/javax/imageio/spi/
H A DImageInputStreamSpi.java37 * The input class.
56 * the input class.
64 * Gets an input Class object that represents class or interface that must
65 * be implemented by an input source.
67 * @return the input class.
99 * input object should be an instance of the class returned by the
103 * @param input
104 * the input Object.
113 public abstract ImageInputStream createInputStreamInstance(Object input, boolean useCache, argument
118 * input objec
128 createInputStreamInstance(Object input) argument
[all...]
/frameworks/base/awt/org/apache/harmony/x/imageio/spi/
H A DFileIISSpi.java41 public ImageInputStream createInputStreamInstance(Object input, boolean useCache, argument
43 if (File.class.isInstance(input)) {
44 return new FileImageInputStream((File) input);
46 throw new IllegalArgumentException("input is not an instance of java.io.File");
H A DInputStreamIISSpi.java49 public ImageInputStream createInputStreamInstance(Object input, boolean useCache, File cacheDir) throws IOException { argument
50 if (input instanceof InputStream) {
52 return new FileCacheImageInputStream((InputStream) input, cacheDir);
54 return new MemoryCacheImageInputStream((InputStream) input);
H A DRAFIISSpi.java41 public ImageInputStream createInputStreamInstance(Object input, boolean useCache, argument
43 if (RandomAccessFile.class.isInstance(input)) {
44 return new FileImageInputStream((RandomAccessFile) input);
47 "input is not an instance of java.io.RandomAccessFile");
/frameworks/base/core/java/android/util/
H A DEventLogTags.java61 public EventLogTags(BufferedReader input) throws IOException { argument
63 while ((line = input.readLine()) != null) {
/frameworks/base/tests/CoreTests/android/core/
H A DSha1Test.java28 private String input; field in class:Sha1Test.TestData
32 input = i;
49 digest.update(mTestData[i].input.getBytes());
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java17 package com.android.commands.input;
70 * @param text is a string of characters you want to input to the device.
140 System.err.println("usage: input [text|keyevent]");
141 System.err.println(" input text <string>");
142 System.err.println(" input keyevent <event_code>");
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/jpeg/
H A DIISDecodingImageSource.java56 private ImageInputStream input; field in class:IISDecodingImageSource.IISToInputStreamWrapper
58 public IISToInputStreamWrapper(ImageInputStream input) { argument
59 this.input=input;
64 return input.read();
69 return input.read(b);
74 return input.read(b, off, len);
79 return input.skipBytes(n);
87 // This is an error in Harmony. Not all input streams
89 // There should be an input
[all...]
H A DJPEGImageReader.java95 throw new IllegalArgumentException("input stream == null");
117 public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata) { argument
118 super.setInput(input, seekForwardOnly, ignoreMetadata);
119 iis = (ImageInputStream) input;
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/png/
H A DPNGImageReader.java78 throw new IllegalArgumentException("input stream == null");
97 public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata) { argument
98 super.setInput(input, seekForwardOnly, ignoreMetadata);
99 iis = (ImageInputStream) input;
/frameworks/base/core/java/android/backup/
H A DBackupHelperDispatcher.java107 public void performRestore(BackupDataInput input, int appVersionCode, argument
112 BackupDataInputStream stream = new BackupDataInputStream(input);
113 while (input.readNextHeader()) {
115 String rawKey = input.getKey();
121 stream.dataSize = input.getDataSize();
136 input.skipEntityData(); // In case they didn't consume the data.
/frameworks/base/core/java/android/bluetooth/
H A DAtParser.java141 * Strip input of whitespace and force Uppercase - except sections inside
145 static private String clean(String input) { argument
146 StringBuilder out = new StringBuilder(input.length());
148 for (int i = 0; i < input.length(); i++) {
149 char c = input.charAt(i);
151 int j = input.indexOf('"', i + 1 ); // search for closing "
153 out.append(input.substring(i, input.length()));
157 out.append(input.substring(i, j + 1));
173 * Return input
175 findChar(char ch, String input, int fromIndex) argument
195 generateArgs(String input) argument
219 findEndExtendedName(String input, int index) argument
[all...]
/frameworks/base/libs/rs/
H A Drsg_generator.c250 FILE* input = fopen(rsgFile, "r"); local
252 char choice = fgetc(input);
253 fclose(input);
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
H A DStkResponseMessage.java39 public void setInput(String input) { argument
40 this.usersInput = input;
/frameworks/base/awt/org/apache/harmony/awt/gl/image/
H A DJpegDecoder.java112 byte[] input,
126 // Read from the input stream
111 decode( byte[] input, int bytesInBuffer, long hDecoder) argument

Completed in 401 milliseconds

12