Searched defs:type (Results 126 - 150 of 434) sorted by path

1234567891011>>

/frameworks/base/core/java/android/view/
H A DWindowInfo.java48 public int type = UNDEFINED; field in class:WindowInfo
72 parcel.writeInt(type);
84 type = parcel.readInt();
96 info.type = other.type;
138 type = UNDEFINED;
150 builder.append(", type:").append(type);
H A DWindowManager.java143 * The general type of window. There are three main classes of
224 public int type; field in class:WindowManager.LayoutParams
232 * Window type: an application window that serves as the "base" window
240 * Window type: a normal application window. The {@link #token} must be
247 * Window type: special application window that is displayed while the
269 * Window type: a panel on top of an application window. These windows
275 * Window type: window for showing media (e.g. video). These windows
281 * Window type: a sub-panel on top of an application window. These
287 /** Window type: like {@link #TYPE_APPLICATION_PANEL}, but layout
294 * Window type
[all...]
H A DWindowManagerPolicy.java94 // of some type are available.
515 * to do things like ensure that windows of a specific type can't take
543 * Assign a window type to a layer. Allows you to control how different
546 * @param type The type of window being assigned.
551 public int windowTypeToLayerLw(int type); argument
558 * @param type The sub-window type code.
563 public int subWindowTypeToLayerLw(int type); argument
1115 * Returns whether magnification can be applied to the given window type
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java656 * Gets the acceleration curve type for this animation.
979 * @param type One of Animation.ABSOLUTE, Animation.RELATIVE_TO_SELF, or
981 * @param value The dimension associated with the type parameter
986 protected float resolveSize(int type, float value, int size, int parentSize) { argument
987 switch (type) {
1078 public int type; field in class:Animation.Description
1100 d.type = ABSOLUTE;
1103 if (value.type == TypedValue.TYPE_FRACTION) {
1104 d.type = (value.data & TypedValue.COMPLEX_UNIT_MASK) ==
1109 } else if (value.type
[all...]
H A DScaleAnimation.java74 if (tv.type == TypedValue.TYPE_FLOAT) {
78 mFromXType = tv.type;
86 if (tv.type == TypedValue.TYPE_FLOAT) {
90 mToXType = tv.type;
99 if (tv.type == TypedValue.TYPE_FLOAT) {
103 mFromYType = tv.type;
111 if (tv.type == TypedValue.TYPE_FLOAT) {
115 mToYType = tv.type;
122 mPivotXType = d.type;
127 mPivotYType = d.type;
260 resolveScale(float scale, int type, int data, int size, int psize) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DCertTool.java71 static void addCertificate(Context context, String type, byte[] value) { argument
72 Credentials.getInstance().install(context, type, value);
H A DJWebCoreJavaBridge.java316 public native void setNetworkType(String type, String subtype); argument
H A DWebView.java350 * @deprecated This type is no longer used.
371 * @deprecated This type is no longer used.
401 public void setType(int type) { argument
402 mType = type;
413 * Gets the type of the hit test result. See the XXX_TYPE constants
416 * @return the type of the hit test result
423 * Gets additional type-dependant information about the result. See
427 * @return additional type-dependant information about the result
826 * @param mimeType the MIME type of the data, e.g. 'text/html'
1069 * type i
[all...]
H A DWebViewClassic.java362 int type = initData.mType;
370 if (WebTextView.TEXT_AREA != type) {
379 switch (type) {
801 * WebViewCore. This really should be tuned for each type of the devices.
2226 * Inform WebView about the current network type.
2228 public void setNetworkType(String type, String subtype) { argument
2230 map.put("type", type);
3715 * - a street type (Road, Circle, etc), either spelled out or abbreviated
3721 * must be valid for the state. The street type mus
[all...]
/frameworks/base/core/java/android/widget/
H A DEditText.java79 public void setText(CharSequence text, BufferType type) { argument
H A DExpandableListConnector.java274 return PositionMetadata.obtain(pos.groupPos, pos.type,
302 if (pos.type == ExpandableListPosition.GROUP) {
304 return PositionMetadata.obtain(midExpGm.flPos, pos.type,
306 } else if (pos.type == ExpandableListPosition.CHILD) {
309 + 1, pos.type, pos.groupPos, pos.childPos,
321 if (pos.type != ExpandableListPosition.GROUP) {
347 return PositionMetadata.obtain(flPos, pos.type, pos.groupPos,
361 return PositionMetadata.obtain(flPos, pos.type, pos.groupPos,
379 if (pos.type == ExpandableListPosition.CHILD) {
404 if (posMetadata.position.type
994 obtain(int flatListPos, int type, int groupPos, int childPos, GroupMetadata groupMetadata, int groupInsertIndex) argument
[all...]
H A DExpandableListPosition.java35 * This data type represents a child position
40 * This data type represents a group position
62 * What type of position this ExpandableListPosition represents
64 public int type; field in class:ExpandableListPosition
70 type = 0;
77 if (type == CHILD) return ExpandableListView.getPackedPositionForChild(groupPos, childPos);
98 elp.type = CHILD;
101 elp.type = GROUP;
106 static ExpandableListPosition obtain(int type, int groupPos, int childPos, int flatListPos) { argument
108 elp.type
[all...]
H A DRemoteViews.java932 int type; field in class:RemoteViews.ReflectionAction
935 ReflectionAction(int viewId, String methodName, int type, Object value) { argument
938 this.type = type;
945 this.type = in.readInt();
949 + " methodName=" + this.methodName + " type=" + this.type);
954 switch (this.type) {
1012 out.writeInt(this.type);
1016 + " methodName=" + this.methodName + " type
[all...]
H A DStackView.java958 // We need to prevent any clipping issues which may arise by setting a layer type.
1403 Bitmap createOutline(View v, int type, int color) { argument
1405 if (type == RES_OUT) {
1407 } else if (type == CLICK_FEEDBACK) {
H A DTextView.java921 // If no input type was specified, we will default to generic
928 // If set, the input type overrides what was set using the deprecated singleLine flag.
1350 * content type of the text view with the content type returned by the
3298 // XXX restore buffer type too, as well as lots of other stuff
3424 public void setText(CharSequence text, BufferType type) { argument
3425 setText(text, type, true, 0);
3432 private void setText(CharSequence text, BufferType type, argument
3480 if (type == BufferType.EDITABLE || getKeyListener() != null ||
3488 } else if (type
3622 setTextKeepState(CharSequence text, BufferType type) argument
3643 setText(int resid, BufferType type) argument
3698 isMultilineInputType(int type) argument
3739 setInputType(int type) argument
3824 setRawInputType(int type) argument
3830 setInputType(int type, boolean direct) argument
4055 setPrivateImeOptions(String type) argument
7067 removeIntersectingSpans(int start, int end, Class<T> type) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java506 final int type = getItemViewType(position);
507 if (type == VIEW_SECTION_HEADER || type == VIEW_TOP_HEADER) {
509 } else if (type == VIEW_GROUPING_DONE) {
520 if (type == VIEW_ROUTE) {
523 } else if (type == VIEW_GROUPING_ROUTE) {
584 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) { argument
590 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) { argument
/frameworks/base/core/java/com/android/internal/net/
H A DVpnProfile.java51 public int type = TYPE_PPTP; // 1 field in class:VpnProfile
76 type = in.readInt();
97 out.writeInt(type);
128 profile.type = Integer.valueOf(values[1]);
129 if (profile.type < 0 || profile.type > TYPE_MAX) {
156 builder.append('\0').append(type);
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java534 * @param type
539 Timer(int type, ArrayList<Unpluggable> unpluggables, Parcel in) { argument
540 mType = type;
554 Timer(int type, ArrayList<Unpluggable> unpluggables) { argument
555 mType = type;
881 StopwatchTimer(Uid uid, int type, ArrayList<StopwatchTimer> timerPool, argument
883 super(type, unpluggables, in);
889 StopwatchTimer(Uid uid, int type, ArrayList<StopwatchTimer> timerPool, argument
891 super(type, unpluggables);
984 // Update the total time for all other running Timers with the same type a
1524 noteStartWakeLocked(int uid, int pid, String name, int type) argument
1545 noteStopWakeLocked(int uid, int pid, String name, int type) argument
1564 noteStartWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) argument
1571 noteStopWakeFromSourceLocked(WorkSource ws, int pid, String name, int type) argument
2680 noteUserActivityLocked(int type) argument
2698 getUserActivityCount(int type, int which) argument
3054 readTimerFromParcel(int type, ArrayList<StopwatchTimer> pool, ArrayList<Unpluggable> unpluggables, Parcel in) argument
3107 getWakeTime(int type) argument
3941 getWakeTimerLocked(String name, int type) argument
4009 noteStartWakeLocked(int pid, String name, int type) argument
4022 noteStopWakeLocked(int pid, String name, int type) argument
[all...]
H A DPowerProfile.java216 * @param type the subsystem type
219 public double getAveragePower(String type) { argument
220 if (sPowerMap.containsKey(type)) {
221 Object data = sPowerMap.get(type);
225 return (Double) sPowerMap.get(type);
234 * @param type the subsystem type
240 public double getAveragePower(String type, int level) { argument
241 if (sPowerMap.containsKey(type)) {
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java46 * - type names: [a-zS]
104 * Converts a string to an internal type constant.
106 * @param typeName the type name to convert
107 * @return the type constant that corresponds to {@code typeName},
108 * or {@code TYPE_ERROR} if the type is unknown
155 // Read the next token, which is either the type or EOF.
161 throw new ParseException(st, "type name");
163 final int type = interpretType(st.sval);
164 if (type == TYPE_ERROR) {
165 throw new ParseException(st, "valid type nam
233 parseValue(StreamTokenizer st, final int type) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java137 public void setType(int type) { argument
138 switch (type) {
142 type = SURFACE_TYPE_NORMAL;
145 switch (type) {
148 if (mRequestedType != type) {
149 mRequestedType = type;
167 "Surface type is SURFACE_TYPE_PUSH_BUFFERS");
H A DRootViewSurfaceTaker.java9 void setSurfaceType(int type); argument
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java395 private void logMotionEvent(String type, MotionEvent event) { argument
403 logCoords(type, action, i, mTempCoords, id,
410 logCoords(type, action, i, mTempCoords, id,
415 private void logCoords(String type, int action, int index, argument
468 .append(type).append(" id ").append(id + 1)
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java434 // type a port of 443. That could mean HTTPS, but they might also want
453 // Figure out the appropriate token type.
462 * link or it might be a recognized media type.
475 * is used to determine whether to turn on/off that type of formatting;
683 protected Type type; field in class:AbstractMessageParser.Token
686 protected Token(Type type, String text) { argument
687 this.type = type;
691 /** Returns the type of the token. */
692 public Type getType() { return type; }
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp589 const char fieldname[], const char type[]) {
590 jfieldID id = env->GetFieldID(clazz, fieldname, type);
588 getFieldIDCheck(JNIEnv* env, jclass clazz, const char fieldname[], const char type[]) argument

Completed in 757 milliseconds

1234567891011>>